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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/report-script-tag-full-block.html

Issue 806183005: Remove FrameLoader's checkLoadComplete and checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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/report-script-tag-full-block.html
diff --git a/LayoutTests/http/tests/security/xssAuditor/report-script-tag-full-block.html b/LayoutTests/http/tests/security/xssAuditor/report-script-tag-full-block.html
index 7b7a7eccd445714bb032c166b6e6e7863d3316db..05aa1d0d048b0eaacff22144eb622fd2173514a9 100644
--- a/LayoutTests/http/tests/security/xssAuditor/report-script-tag-full-block.html
+++ b/LayoutTests/http/tests/security/xssAuditor/report-script-tag-full-block.html
@@ -9,17 +9,12 @@ if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.setXSSAuditorEnabled(true);
}
-function done()
-{
- var s = document.createElement('script');
- s.src = '/security/contentSecurityPolicy/resources/go-to-echo-report.js';
- document.body.appendChild(s);
-}
</script>
</head>
<body>
+<script src = '/security/contentSecurityPolicy/resources/go-to-echo-report.js'></script>
<p>This tests that the X-XSS-Protection reports are sent out properly</p>
-<iframe id="frame" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?test=report-script-tag-full-block.html&enable-full-block-report=1&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script><p>If you see this message, no JavaScript alert(), and a dump of the report below, then the test PASSED.</p>" onload="done()">
+<iframe id="frame" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?test=report-script-tag-full-block.html&enable-full-block-report=1&q=<script>alert(String.fromCharCode(0x58,0x53,0x53))</script><p>If you see this message, no JavaScript alert(), and a dump of the report below, then the test PASSED.</p>">
</iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698