| Index: LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash.html
|
| diff --git a/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash.html b/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash.html
|
| index 3e960e7fe0d58222c642cd9d703449a51675f7a0..e02151d13d6eafcf7701cae4638515f1478008a0 100644
|
| --- a/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash.html
|
| +++ b/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-error-crash.html
|
| @@ -5,16 +5,16 @@
|
| testRunner.waitUntilDone();
|
| testRunner.dumpAsText();
|
|
|
| +// Don't use js-test.js because this bug is about a failing load of an async
|
| +// <script> of a frame document being moved to its parent document.
|
| +// Hence it makes sense to keep this small and easy to debug when regress.
|
| +console.log("PASS unless crash.");
|
| +
|
| var count = document.querySelectorAll("iframe").length;
|
|
|
| function done() {
|
| - count--;
|
| - if (count)
|
| + if (--count)
|
| return;
|
| - // Don't use js-test.js because this bug is about a failing load of an async
|
| - // <script> of a frame document being moved to its parent document.
|
| - // Hence it makes sense to keep this small and easy to debug when regress.
|
| - console.log("PASS unless crash.");
|
| testRunner.notifyDone();
|
| }
|
| </script>
|
|
|