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

Side by Side Diff: LayoutTests/fast/parser/document-write-during-load.html

Issue 806183005: Remove FrameLoader's checkLoadComplete and checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 </script> 5 </script>
6 <div id="parent" style="width: 200px; height: 200px;"> 6 <div id="parent" style="width: 200px; height: 200px;">
7 <iframe id="iframe" seamless src="about:blank"></iframe> 7 <iframe id="iframe" seamless src="about:blank"></iframe>
8 </div> 8 </div>
9 <script> 9 <script>
10 window.onload = function () { 10 window.onload = function () {
11 window.iframe = document.getElementById("iframe"); 11 window.iframe = document.getElementById("iframe");
12 alert("Ready"); 12 alert("Ready");
13 window.iframe.contentDocument.write("<!DOCTYPE html><html style='width: 100p x; height: 100px; background-color: green'></html>"); 13 window.iframe.contentDocument.write("<!DOCTYPE html><html style='width: 100p x; height: 100px; background-color: green'></html>");
14 window.iframe.contentDocument.close();
14 alert("PASS"); 15 alert("PASS");
15 } 16 }
16 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698