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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/view-source-navigation-block-expected.txt

Issue 1917073002: Block webpages from navigating to view-source URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add layout and browser tests Created 4 years, 7 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: third_party/WebKit/LayoutTests/http/tests/security/view-source-navigation-block-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/view-source-navigation-block-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/view-source-navigation-block-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6730dd39ee970ad11865c3079ec30010ea8e3eea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/view-source-navigation-block-expected.txt
@@ -0,0 +1,2 @@
+CONSOLE ERROR: Not allowed to load local resource: view-source:about:blank
+PASS

Powered by Google App Engine
This is Rietveld 408576698