Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: content/browser/devtools/protocol/devtools_protocol_browsertest.cc

Issue 2783723002: Keep track in the browser of which frames have onunload and onbeforeunload handlers. (Closed)
Patch Set: fix content_browsertests with plznavigate and also remove now unnecessary unloadcontroller change Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/devtools/protocol/devtools_protocol_browsertest.cc
diff --git a/content/browser/devtools/protocol/devtools_protocol_browsertest.cc b/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
index 20d5c188d85d14ff86a5b8a34997ee952e531e12..d771e0e1ec8e04c94b8970a6d580ec6fdc593205 100644
--- a/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
+++ b/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
@@ -283,7 +283,7 @@ class DevToolsProtocolTest : public ContentBrowserTest,
std::vector<ExpectedNavigation> expected_navigations) {
while (!expected_navigations.empty()) {
std::unique_ptr<base::DictionaryValue> params =
- WaitForNotification("Page.navigationRequested");
+ WaitForNotification("Page.navigationRequested", true);
std::string url;
ASSERT_TRUE(params->GetString("url", &url));

Powered by Google App Engine
This is Rietveld 408576698