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

Side by Side Diff: LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter.html

Issue 337143004: Fix XSSAuditor handling of semicolon-separated attributes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use emptyString() Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText(); 7 testRunner.dumpChildFramesAsText();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 testRunner.setXSSAuditorEnabled(true); 9 testRunner.setXSSAuditorEnabled(true);
10 } 10 }
11 </script> 11 </script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <p>This test passes if the element displayed in the frame below has a 'value s' attribute containing only 'javascript:void(0)'.</p> 14 <p>This test passes if the element displayed in the frame below has a 'value s' attribute containing only 'javascript:void(0)'.</p>
15 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intert ag.pl?q=<svg%20xmlns:xlink='http://www.w3.org/1999/xlink'><a><circle%20r=100%20/ ><animate%20attributeName=xlink:href%20values=%3Bjavascript%3Aalert(1)%20begin=0 s%20end=0.1s%20fill=freeze%20/></a></svg>&notifyDone=1&dumpElementBySelector=ani mate"></iframe> 15 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intert ag.pl?q=<svg%20xmlns:xlink='http://www.w3.org/1999/xlink'><a><circle%20r=100%20/ ><animate%20attributeName=xlink:href%20values=%3Bjavascript%3Aalert(1)%3B&clutte r=blah'>&notifyDone=1&dumpElementBySelector=animate"></iframe>
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698