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

Unified Diff: content/browser/frame_host/navigation_controller_impl_browsertest.cc

Issue 1470823002: Enable builtin Mojo JS modules in layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb-testing
Patch Set: self review Created 5 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: content/browser/frame_host/navigation_controller_impl_browsertest.cc
diff --git a/content/browser/frame_host/navigation_controller_impl_browsertest.cc b/content/browser/frame_host/navigation_controller_impl_browsertest.cc
index 1c93b3d35067b26423e2f6dc27f80e2027564909..1d911d498ba4edb4e86bf50f12d639609203109b 100644
--- a/content/browser/frame_host/navigation_controller_impl_browsertest.cc
+++ b/content/browser/frame_host/navigation_controller_impl_browsertest.cc
@@ -272,8 +272,9 @@ IN_PROC_BROWSER_TEST_F(NavigationControllerBrowserTest,
GURL web_ui_page(std::string(kChromeUIScheme) + "://" +
std::string(kChromeUIGpuHost));
EXPECT_TRUE(NavigateToURL(shell(), web_ui_page));
- EXPECT_EQ(BINDINGS_POLICY_WEB_UI,
- shell()->web_contents()->GetRenderViewHost()->GetEnabledBindings());
+ EXPECT_TRUE(
+ shell()->web_contents()->GetRenderViewHost()->GetEnabledBindings() &
+ BINDINGS_POLICY_WEB_UI);
ShellAddedObserver observer;
std::string page_url = embedded_test_server()->GetURL(

Powered by Google App Engine
This is Rietveld 408576698