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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href.html

Issue 1681553002: Add support for 'href' (w/o XLink NS) for various SVG elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; update comment Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-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=javascript%3Aalert(1)%3B%3B&clutte r=blah'>&notifyDone=1&dumpElementBySelector=animate"></iframe> 15 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intert ag.pl?q=<svg><a><circle%20r=100%20/><animate%20attributeName=href%20values=%3Bja vascript%3Aalert(1)%20begin=0s%20end=0.1s%20fill=freeze%20/></a></svg>&notifyDon e=1&dumpElementBySelector=animate"></iframe>
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698