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

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 the header. 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/http/tests/xmlhttprequest/set-dangerous-headers-expected.txt b/LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt
similarity index 98%
copy from LayoutTests/http/tests/xmlhttprequest/set-dangerous-headers-expected.txt
copy to LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt
index ae06fb07948b672db9aaea0c794598ac0a83b50b..14c0cd3ad3b824f6397a0f27ca8c154000ad8e0e 100644
--- a/LayoutTests/http/tests/xmlhttprequest/set-dangerous-headers-expected.txt
+++ b/LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local-expected.txt
@@ -25,6 +25,6 @@ CONSOLE MESSAGE: Refused to set unsafe header "PROXY-FOO"
CONSOLE MESSAGE: Refused to set unsafe header "Sec-"
CONSOLE MESSAGE: Refused to set unsafe header "Sec-test"
CONSOLE MESSAGE: Refused to set unsafe header "SEC-FOO"
-Test that setRequestHeader cannot be used to alter security-sensitive headers.
+Test that setRequestHeader cannot be used to alter security-sensitive headers for file:// urls.
SUCCESS
« no previous file with comments | « LayoutTests/fast/xmlhttprequest/set-dangerous-headers-local.html ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698