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

Unified Diff: chrome/test/media_router/media_router_integration_browsertest.cc

Issue 2533073002: [Presentation API] Throw NotAllowedError instead of AbortError when user closes MR dialog (Closed)
Patch Set: Created 4 years, 1 month 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/test/media_router/media_router_integration_browsertest.cc
diff --git a/chrome/test/media_router/media_router_integration_browsertest.cc b/chrome/test/media_router/media_router_integration_browsertest.cc
index 36ecc91b707c011efdf3f2ce69a74a303771e3c9..32a5e7de342edaa59860ce9dde37854c184687d2 100644
--- a/chrome/test/media_router/media_router_integration_browsertest.cc
+++ b/chrome/test/media_router/media_router_integration_browsertest.cc
@@ -597,7 +597,7 @@ IN_PROC_BROWSER_TEST_F(MediaRouterIntegrationBrowserTest,
MediaRouterDialogControllerImpl::GetOrCreateForWebContents(web_contents);
EXPECT_TRUE(controller->IsShowingMediaRouterDialog());
controller->HideMediaRouterDialog();
- CheckStartFailed(web_contents, "AbortError", "Dialog closed.");
+ CheckStartFailed(web_contents, "NotAllowedError", "Dialog closed.");
}
IN_PROC_BROWSER_TEST_F(MediaRouterIntegrationBrowserTest,

Powered by Google App Engine
This is Rietveld 408576698