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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 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
Index: LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html
diff --git a/LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html b/LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html
index 5ce5cb86b9869a083751cbeeede4468473146aa9..e37db5b8b2019335383518a3b8606e51cab8dbfa 100644
--- a/LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html
+++ b/LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html
@@ -24,6 +24,7 @@ function test()
window.child.contentDocument.open(); // This should clear event listeners
toBeListened.dispatchEvent(new CustomEvent("test"));
shouldBe("firedCount", "1");
+ window.child.contentDocument.close();
finishJSTest();
}

Powered by Google App Engine
This is Rietveld 408576698