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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/originHeader/origin-header-for-data.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: creis comments Created 3 years, 9 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 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.dumpChildFramesAsText();
6 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
7 } 8 }
8 window.location = 'data:text/html,\ 9
9 <form action="http://127.0.0.1:8000/security/originHeader/resources/print-origin .cgi"\ 10 window.onload = function() {
10 method="POST">\ 11 document.getElementById("f").src = 'data:text/html,\
11 </form>\ 12 <form action="http://127.0.0.1:8000/security/originHeader/resources/print-orig in.cgi"\
12 <script>document.forms[0].submit();</scr' + 'ipt>'; 13 method="POST">\
14 </form>\
15 <script>document.forms[0].submit();</scr' + 'ipt>';
16 }
13 </script> 17 </script>
14 </head> 18 </head>
15 <body> 19 <body>
20 <iframe id="f" name="frame-with-data-url"></iframe>
16 </body> 21 </body>
17 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698