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

Side by Side Diff: LayoutTests/fast/parser/document-open-in-unload.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 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 This test passes if it doesn't crash. 1 This test passes if it doesn't crash.
2 <iframe src="data:text/plain,Hi"></iframe> 2 <iframe src="data:text/plain,Hi"></iframe>
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 frames[0].onunload = function () { 7 frames[0].onunload = function () {
8 document.open(); 8 document.open();
9 document.write("PASS");
10 document.close();
9 }; 11 };
10 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698