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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/custom/reparent-unwrapped-custom-element-crash.html

Issue 1475863005: [Async][WIP] Call FrameLoader::checkCompleted() asynchronously to avoid sync body.onload() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 <script src="../../../js-test.js"></script> 1 <script src="../../../resources/js-test.js"></script>
2 <body> 2 <body>
3 If this doesn't crash, it passed. 3 If this doesn't crash, it passed.
4 <iframe id=iframe src=resources/empty-custom-body.html></iframe> 4 <iframe id=iframe src=resources/empty-custom-body.html></iframe>
5 </body> 5 </body>
6 <script> 6 <script>
7 jsTestIsAsync = true; 7 jsTestIsAsync = true;
8 8
9 if (testRunner) 9 if (testRunner)
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 11
12 iframe.onload = function() { 12 iframe.onload = function() {
13 document.body.appendChild(iframe.contentDocument.documentElement); 13 document.body.appendChild(iframe.contentDocument.documentElement);
14 document.querySelector('#thebody'); 14 document.querySelector('#thebody');
15 iframe.remove(); 15 iframe.remove();
16 finishJSTest(); 16 finishJSTest();
17 }; 17 };
18 18
19 successfullyParsed = true; 19 successfullyParsed = true;
20 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698