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

Unified 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 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-error-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-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 e02151d13d6eafcf7701cae4638515f1478008a0..d1f4dd9eb97221a4e4a0cc4dae8a17056380c3a2 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
@@ -1,6 +1,4 @@
<!DOCTYPE html>
-<iframe src=resources/append-child-adopt-node-error-frame.html></iframe>
-<iframe src=resources/append-child-adopt-node-error-frame.svg></iframe>
<script>
testRunner.waitUntilDone();
testRunner.dumpAsText();
@@ -10,7 +8,7 @@ testRunner.dumpAsText();
// 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;
+var count = 2;
function done() {
if (--count)
@@ -18,3 +16,5 @@ function done() {
testRunner.notifyDone();
}
</script>
+<iframe src=resources/append-child-adopt-node-error-frame.html></iframe>
+<iframe src=resources/append-child-adopt-node-error-frame.svg></iframe>
« 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