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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change.html

Issue 1475863005: [Async][WIP] Call FrameLoader::checkCompleted() asynchronously to avoid sync body.onload() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../resources/cross-frame-access.js"></script> 3 <script src="../resources/cross-frame-access.js"></script>
4 <script> 4 <script>
5 window.onload = function() 5 // FIXME[11] window.onload = function()
6 { 6 {
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 testRunner.dumpChildFramesAsText(); 9 testRunner.dumpChildFramesAsText();
10 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
11 } 11 }
12 12
13 window.addEventListener('message', function () 13 window.addEventListener('message', function ()
14 { 14 {
15 runTest(); 15 runTest();
(...skipping 13 matching lines...) Expand all
29 } 29 }
30 </script> 30 </script>
31 31
32 </head> 32 </head>
33 <body> 33 <body>
34 <p>Opener frame</p> 34 <p>Opener frame</p>
35 <iframe src="http://localhost:8000/security/dataURL/resources/foreign-domain -data-url-window-location.html" style="width: 400px; height:200px;"></iframe> 35 <iframe src="http://localhost:8000/security/dataURL/resources/foreign-domain -data-url-window-location.html" style="width: 400px; height:200px;"></iframe>
36 <pre id="console"></pre> 36 <pre id="console"></pre>
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698