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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation.html

Issue 2418363002: Fix case for event dispatch mutiple after stopPropagation (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation.html
index 72644bd861ea1d6a872b9599ea9f770c04747c5f..82f0a3c128c29ddb3eebaec7e8dc5fa558740afb 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation.html
@@ -38,10 +38,14 @@ test(function() {
target.dispatchEvent(evt);
assert_array_equals(actual_result, [target, parent]);
+ evt = document.createEvent("Event");
+ evt.initEvent(event_type, true, true);
actual_result = [];
parent.dispatchEvent(evt);
assert_array_equals(actual_result, [parent]);
+ evt = document.createEvent("Event");
+ evt.initEvent(event_type, true, true);
actual_result = [];
document.dispatchEvent(evt);
assert_array_equals(actual_result, [document, window]);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698