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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-initEvent.html

Issue 2588723002: Import wpt@e1e2bfbe1d34de9826a036a0e9d43ba20190c69c (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 4 years 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: third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-initEvent.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-initEvent.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-initEvent.html
index 85abdff2fe7bdb94bee9dfc6b5f992e1da840d6f..568232a53c1a64ac71684802d6f6eaccd24a1282 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-initEvent.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-initEvent.html
@@ -85,6 +85,7 @@ test(function() {
var target = document.createElement("div")
var called = false
target.addEventListener("type", function() { called = true }, false)
+ assert_false(e.cancelBubble, "cancelBubble must be false")
assert_true(target.dispatchEvent(e), "dispatchEvent must return true")
assert_true(called, "Listener must be called")
}, "Calling initEvent must unset the stop propagation flag.")

Powered by Google App Engine
This is Rietveld 408576698