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

Unified Diff: LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt

Issue 13979011: Block all scripts from setting unsafe headers in XMLHttpRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix line width. Created 7 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: LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt
diff --git a/LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt b/LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f99c7cafc0f04c2802c329b5255531a981cf2ae
--- /dev/null
+++ b/LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: Refused to set unsafe header "REFERER"
+Test that setRequestHeader cannot be used to alter security-sensitive headers for file:// urls.
+
+SUCCESS

Powered by Google App Engine
This is Rietveld 408576698