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

Side by Side Diff: LayoutTests/http/tests/security/xssAuditor/html5-import-safe.html

Issue 644663003: Apply XSSAuditor to html5 import (i.e. <link rel="import">) tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove parameter name. Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText();
8 testRunner.setXSSAuditorEnabled(true);
9 }
10 </script>
11 </head>
12 <body>
13 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.p l?q=%3clink%20rel=%22import%22%20href=%22http://localhost:8000/security/xssAudit or/resources/safe-html.html%22%3e">
14 </iframe>
15 <p>This test passes if the "safe" HTML5 import occurs, because XSSAuditor gives a pass to resources from the same origin to cut down on the false positive rate.
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698