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

Unified Diff: chrome/browser/extensions/api/extension_action/browser_action_apitest.cc

Issue 2740783003: Revert "Revert of Reland: Switch WindowedNotificationObserver to use base::RunLoop. (patchset #3 id… (Closed)
Patch Set: Patch for NavigatingExtensionPopupBrowserTest.DownloadViaPost. 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: chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
diff --git a/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc b/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
index 2d57dda866e562ffd42d7201213406c8be3b8c72..95d95e3f2e69bc30bddd8dffb60870858af64967 100644
--- a/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
+++ b/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
@@ -907,6 +907,10 @@ class NavigatingExtensionPopupBrowserTest : public BrowserActionApiTest {
// If the extension popup is still opened, then wait until there is no
// load in progress, and verify whether the navigation succeeded or not.
WaitForLoadStop(popup);
+
+ // TODO(https://crbug.com/695073): Find out why tests fail without it.
jam 2017/03/09 16:52:57 no one is assigned that bug, so I worry that we'll
Alexander Semashko 2017/03/09 19:47:48 I was hoping that an extensions/ owner would pick
jam 2017/03/09 20:48:46 While I do appreciate this change in making things
+ content::RunAllPendingInMessageLoop();
+
if (expected_navigation_status == EXPECTING_NAVIGATION_SUCCESS) {
EXPECT_EQ(target_url, popup->GetLastCommittedURL())
<< "Navigation to " << target_url

Powered by Google App Engine
This is Rietveld 408576698