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

Side by Side Diff: LayoutTests/fast/dom/Document/readystate.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body onload="allDone()"> 6 <body onload="allDone()">
7 Tests that the document's readyState is set properly at various phases during lo ad. 7 Tests that the document's readyState is set properly at various phases during lo ad.
8 <div id="console"></div> 8 <div id="console"></div>
9 <script defer src="data:text/javascript,shouldBeEqualToString('document.readySta te', 'interactive');shouldBeTrue('readyStateChangeFired');"></script> 9 <script defer src="data:text/javascript,shouldBeEqualToString('document.readySta te', 'interactive');shouldBeTrue('readyStateChangeFired');"></script>
10 <script src="data:text/javascript,shouldBeEqualToString('document.readyState', ' loading');"></script> 10 <script src="data:text/javascript,shouldBeEqualToString('document.readyState', ' loading');"></script>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 subdocument.close(); 70 subdocument.close();
71 } 71 }
72 72
73 function allDone() { 73 function allDone() {
74 shouldBe("nextExpectedState", "expectedStates.length"); 74 shouldBe("nextExpectedState", "expectedStates.length");
75 shouldBe("nextExpectedDynamicState", "expectedDynamicStates.length"); 75 shouldBe("nextExpectedDynamicState", "expectedDynamicStates.length");
76 shouldBeEqualToString("document.readyState", "complete"); 76 shouldBeEqualToString("document.readyState", "complete");
77 finishJSTest(); 77 finishJSTest();
78 } 78 }
79 </script> 79 </script>
80 <script src="../../js/resources/js-test-post.js"></script>
81 </body> 80 </body>
82 </html> 81 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Document/parent-node-interface.html ('k') | LayoutTests/fast/dom/Document/replace-child.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698