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

Unified Diff: LayoutTests/security/cannot-read-self-from-file-expected.txt

Issue 1140203002: make file: an effectively unique origin (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test Created 5 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: LayoutTests/security/cannot-read-self-from-file-expected.txt
diff --git a/LayoutTests/security/cannot-read-self-from-file-expected.txt b/LayoutTests/security/cannot-read-self-from-file-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef9587267cccca2c4f090892a32bc6dddfdc8ba2
--- /dev/null
+++ b/LayoutTests/security/cannot-read-self-from-file-expected.txt
@@ -0,0 +1,6 @@
+CONSOLE ERROR: XMLHttpRequest cannot load cannot-read-self-from-file.html. Cross origin requests are only supported for protocol schemes: http, data, https.
+ Documents loaded from file: shouldn't be able to access themselves via XHR.
+This is a testharness.js-based test.
+PASS file: should be a unique-origin protocol for XHR purposes
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698