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

Side by Side Diff: LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash.html

Issue 1050403004: Attempt to deflake append-child-adopt-node-error-crash.html test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <iframe src=resources/append-child-adopt-node-error-frame.html></iframe>
3 <iframe src=resources/append-child-adopt-node-error-frame.svg></iframe>
4 <script> 2 <script>
5 testRunner.waitUntilDone(); 3 testRunner.waitUntilDone();
6 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
7 5
8 // Don't use js-test.js because this bug is about a failing load of an async 6 // Don't use js-test.js because this bug is about a failing load of an async
9 // <script> of a frame document being moved to its parent document. 7 // <script> of a frame document being moved to its parent document.
10 // Hence it makes sense to keep this small and easy to debug when regress. 8 // Hence it makes sense to keep this small and easy to debug when regress.
11 console.log("PASS unless crash."); 9 console.log("PASS unless crash.");
12 10
13 var count = document.querySelectorAll("iframe").length; 11 var count = 2;
14 12
15 function done() { 13 function done() {
16 if (--count) 14 if (--count)
17 return; 15 return;
18 testRunner.notifyDone(); 16 testRunner.notifyDone();
19 } 17 }
20 </script> 18 </script>
19 <iframe src=resources/append-child-adopt-node-error-frame.html></iframe>
20 <iframe src=resources/append-child-adopt-node-error-frame.svg></iframe>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698