mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 304f01a1 (#358063)
- Improve ordering of CefLoadHandler callbacks. OnLoadingStateChange will be called before and after all calls to OnLoadStart and OnLoadEnd. OnLoadStart/OnLoadEnd calls will occur as matching pairs (see http://crbug.com/539952#c2). - Remove the |requesting_url| argument to CefGeolocationHandler:: OnCancelGeolocationPermission. Clients can use the |request_id| argument to track this information themselves. - Fix a crash when loading the PDF extension in multiple browsers with a custom CefRequestContext (issue #1757).
This commit is contained in:
@ -1823,7 +1823,8 @@ bool VerifyBrowserIframe(CefRefPtr<CefBrowser> browser,
|
||||
V_EXPECT_TRUE(frame1b->GetIdentifier() == frame1id);
|
||||
V_EXPECT_TRUE(frame2b->GetIdentifier() == frame2id);
|
||||
|
||||
V_EXPECT_TRUE(browser->GetFrameCount() == 3U);
|
||||
size_t frame_count = browser->GetFrameCount();
|
||||
V_EXPECT_TRUE(frame_count == 3U) << "actual " << frame_count;
|
||||
|
||||
// Verify the GetFrameNames result.
|
||||
std::vector<CefString> names;
|
||||
@ -1958,6 +1959,8 @@ class FrameNavExpectationsBrowserTestNestedIframes :
|
||||
} else if (frame_number == 2) {
|
||||
V_EXPECT_TRUE(got_load_start_[0]);
|
||||
V_EXPECT_TRUE(got_load_start_[1]);
|
||||
} else {
|
||||
V_EXPECT_TRUE(false); // Not reached.
|
||||
}
|
||||
|
||||
got_load_start_[frame_number].yes();
|
||||
@ -1984,6 +1987,8 @@ class FrameNavExpectationsBrowserTestNestedIframes :
|
||||
} else if (frame_number == 2) {
|
||||
V_EXPECT_FALSE(got_load_end_[0]);
|
||||
V_EXPECT_FALSE(got_load_end_[1]);
|
||||
} else {
|
||||
V_EXPECT_TRUE(false); // Not reached.
|
||||
}
|
||||
|
||||
V_EXPECT_TRUE(VerifyBrowserIframe(browser, frame, origin_, frame_number)) <<
|
||||
|
Reference in New Issue
Block a user