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

Side by Side Diff: LayoutTests/fast/loader/resources/document-destruction-within-unload-iframe.html

Issue 7727007: Merge 93521 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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 <body> 2 <body>
3 <script> 3 <script>
4 function runTest() { 4 function runTest() {
5 var test = document.getElementById('root').contentDocument; 5 var test = document.getElementById('root').contentDocument;
6 test.firstChild.setAttribute('onunload', "parent.clearUs();"); 6 test.firstChild.setAttribute('onunload', "parent.clearUs();");
7 location.reload(); 7 location.reload();
8 } 8 }
9 9
10 function clearUs() { 10 function clearUs() {
11 document.write(); 11 document.write();
12 parent.done(); 12 parent.done();
13 } 13 }
14 </script> 14 </script>
15 <object data="does_not_exist"></object> 15 <object data="does_not_exist"></object>
16 <object data="document-destruction-within-unload.svg" id="root" onload="runTest( );"></object> 16 <object data="document-destruction-within-unload.svg" id="root" onload="runTest( );"></object>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/loader/resources/document-destruction-within-unload.svg ('k') | Source/WebCore/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698