mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 90.0.4430.0 (#857950)
- Linux ARM builds require use_vaapi=false (see https://crbug.com/1185348) - Windows official builds require use_thin_lto=false (see https://crbug.com/1177001)
This commit is contained in:
@@ -3182,24 +3182,12 @@ class RequestTestHandler : public TestHandler {
|
||||
got_on_test_complete_.yes();
|
||||
|
||||
if (!context_tmpdir_.IsEmpty()) {
|
||||
// Wait a bit for cache file handles to close after browser or request
|
||||
// context destruction.
|
||||
CefPostDelayedTask(
|
||||
TID_FILE_USER_VISIBLE,
|
||||
base::Bind(&RequestTestHandler::PostTestCompleteFileTasks, this),
|
||||
200);
|
||||
} else {
|
||||
TestComplete();
|
||||
// Delete the temp directory on application shutdown.
|
||||
CefTestSuite::GetInstance()->RegisterTempDirectory(
|
||||
context_tmpdir_.Take());
|
||||
}
|
||||
}
|
||||
|
||||
void PostTestCompleteFileTasks() {
|
||||
EXPECT_TRUE(CefCurrentlyOn(TID_FILE_USER_VISIBLE));
|
||||
|
||||
EXPECT_TRUE(context_tmpdir_.Delete());
|
||||
EXPECT_TRUE(context_tmpdir_.IsEmpty());
|
||||
|
||||
CefPostTask(TID_UI, base::Bind(&RequestTestHandler::TestComplete, this));
|
||||
TestComplete();
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user