Index: third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-propagation.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-propagation.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-propagation.html |
index c57c7e9b255653e1ef6e08036f74628006a20ecd..6fc9701012b89c17f9557439af297f2f81665823 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-propagation.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-propagation.html |
@@ -13,10 +13,11 @@ function testPropagationFlag(ev, expected, desc) { |
var callback = function() { called = true }; |
document.head.addEventListener("foo", callback); |
document.head.dispatchEvent(ev); |
- // Gecko resets the flags after dispatching; it will happily dispatch |
+ assert_equals(called, expected, "Propagation flag"); |
+ // dispatchEvent resets the propagation flags so it will happily dispatch |
// the event the second time around. |
document.head.dispatchEvent(ev); |
- assert_equals(called, expected, "Propagation flag"); |
+ assert_equals(called, true, "Propagation flag after first dispatch"); |
document.head.removeEventListener("foo", callback); |
}, desc); |
} |