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

Side by Side Diff: LayoutTests/fast/frames/subframe-load-crash-main.html

Issue 9371034: Merge 106818 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 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 <object data="resources/subframe-load-crash.svg" id="root" onload="runTest()"></ object> 2 <object data="resources/subframe-load-crash.svg" id="root" onload="runTest()"></ object>
3 <script> 3 <script>
4 if (window.layoutTestController) { 4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText(); 5 layoutTestController.dumpAsText();
6 layoutTestController.waitUntilDone(); 6 layoutTestController.waitUntilDone();
7 } 7 }
8 function runTest() { 8 function runTest() {
9 root = document.getElementById('root').contentDocument; 9 root = document.getElementById('root').contentDocument;
10 root.addEventListener('load', function() { document.open(); document.write(" PASS"); document.close(); }, 1); 10 root.addEventListener('load', function() { document.open(); document.write(" PASS"); document.close(); }, 1);
11 setTimeout(function() { 11 setTimeout(function() {
12 root.getElementById('test').appendChild(document.createElement('iframe') ); 12 root.getElementById('test').appendChild(document.createElement('iframe') );
13 if (window.layoutTestController) 13 if (window.layoutTestController)
14 layoutTestController.notifyDone(); 14 layoutTestController.notifyDone();
15 }, 0); 15 }, 0);
16 } 16 }
17 </script> 17 </script>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698