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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/form-action.html

Issue 2868973003: XSSAuditor: truncate form action attribute like other src-like attributes (Closed)
Patch Set: rebase, update expectation Created 3 years, 7 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
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.waitUntilDone(); 7 testRunner.waitUntilDone();
8 testRunner.setXSSAuditorEnabled(true); 8 testRunner.setXSSAuditorEnabled(true);
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body> 12 <body>
13 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.p l?q=<form%20action=http://127.0.0.1:8000/%20method=x><input%20type=submit><input %20name=x%20value='Please%20type%20your%20PIN.'>&notifyDone=1&showAction=1"> 13 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.p l?q=<form%20action=http://127.0.0.1:8000/foo&clutter=bar%20method=x><input%20typ e=submit><input%20name=x%20value='Please%20type%20your%20PIN.'>&notifyDone=1&sho wAction=1">
14 </iframe> 14 </iframe>
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698