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

Unified Diff: chrome/browser/apps/guest_view/web_view_browsertest.cc

Issue 2787123005: Block data URL navigations with RenderFrameImpl::DecidePolicyForNavigation (Closed)
Patch Set: Attempt another fix Created 3 years, 8 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/apps/guest_view/web_view_browsertest.cc
diff --git a/chrome/browser/apps/guest_view/web_view_browsertest.cc b/chrome/browser/apps/guest_view/web_view_browsertest.cc
index c05d0221cc215aabd90b2c287186cc0915cb35d5..5f82407af69d1d2c487de142d75c6f174647f8d7 100644
--- a/chrome/browser/apps/guest_view/web_view_browsertest.cc
+++ b/chrome/browser/apps/guest_view/web_view_browsertest.cc
@@ -1298,6 +1298,12 @@ IN_PROC_BROWSER_TEST_P(WebViewTest,
NO_TEST_SERVER);
}
+IN_PROC_BROWSER_TEST_P(WebViewTest,
+ Shim_TestContentInitiatedNavigationToDataUrlBlocked) {
+ TestHelper("testContentInitiatedNavigationToDataUrlBlocked", "web_view/shim",
+ NO_TEST_SERVER);
+}
+
IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestDisplayNoneWebviewLoad) {
TestHelper("testDisplayNoneWebviewLoad", "web_view/shim", NO_TEST_SERVER);
}

Powered by Google App Engine
This is Rietveld 408576698