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

Unified Diff: LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html

Issue 532643002: Move pending async script to the correct resolved document. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update expected outputs. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html b/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html
index 212d9e9a876f312a9a619802bd7c27f00fe6fd7c..78e41261c47c18e5e7f24fb40e752ba3baff16b8 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html
@@ -5,15 +5,15 @@
testRunner.waitUntilDone();
testRunner.dumpAsText();
+// Don't use js-test.js because this bug is about <script> loading and
+// 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 <script> loading and
- // it makes sense to keep this small and easy to debug when regress.
- console.log("PASS unless crash.");
testRunner.notifyDone();
}
</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698