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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt

Issue 420603003: Better distinguish between blocked and empty pages in XSS filter tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove stray file. Created 6 years, 5 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/http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt
diff --git a/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt b/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt
index 46fc3468ef3df348de2d0ac6437792b17224a2f1..6cad4ac3e873ff47774d3aa2314041917cdf3d56 100644
--- a/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt
+++ b/LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 7: The XSS Auditor blocked access to 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?enable-full-block=1&q=%3Cscript%3Ealert(String.fromCharCode(0x58,0x53,0x53));%3C/script%3E' because the source code of a script was found within the request. The server sent an 'X-XSS-Protection' header requesting this behavior.
+CONSOLE ERROR: line 8: The XSS Auditor blocked access to 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?enable-full-block=1&q=%3Cscript%3Ealert(String.fromCharCode(0x58,0x53,0x53));%3C/script%3E' because the source code of a script was found within the request. The server sent an 'X-XSS-Protection' header requesting this behavior.
PASS xssed.contentDocument threw exception SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
PASS xssed.contentWindow.location.href threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698