mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix bugs and test failures with browser-side navigation (issue #2290)
This commit is contained in:
@@ -855,7 +855,13 @@ class PopupNavTestHandler : public TestHandler {
|
||||
EXPECT_FALSE(got_popup_load_end2_);
|
||||
} else if (mode_ == NAVIGATE_AFTER_CREATION) {
|
||||
EXPECT_FALSE(got_popup_load_start_);
|
||||
EXPECT_TRUE(got_popup_load_error_);
|
||||
if (IsBrowserSideNavigationEnabled()) {
|
||||
// With browser-side navigation we will never actually begin the
|
||||
// navigation to the 1st popup URL, so there will be no load error.
|
||||
EXPECT_FALSE(got_popup_load_error_);
|
||||
} else {
|
||||
EXPECT_TRUE(got_popup_load_error_);
|
||||
}
|
||||
EXPECT_FALSE(got_popup_load_end_);
|
||||
EXPECT_TRUE(got_popup_load_start2_);
|
||||
EXPECT_FALSE(got_popup_load_error2_);
|
||||
|
Reference in New Issue
Block a user