From 27dd74ed10893f9702ff24adefcad6f99b570244 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Fri, 4 Oct 2019 06:12:41 +0000 Subject: [PATCH] Bug 1542439 [wpt PR 16230] - Capturing event listeners should be called before non capturing ones, a=testonly Automatic update from web-platform-tests Capturing event listeners should be called before non capturing ones (#16230) as per https://github.com/whatwg/dom/issues/685. -- wpt-commits: e4a98db0bb16cdbddeb2ae4a58d4bea99237cd42 wpt-pr: 16230 UltraBlame original commit: de9c8a0db6ca877075bcae553f872eff273cdc66 --- .../tests/dom/events/EventTarget-dispatchEvent.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/web-platform/tests/dom/events/EventTarget-dispatchEvent.html b/testing/web-platform/tests/dom/events/EventTarget-dispatchEvent.html index 1a8bf3de915d5..8a0d7353bc62b 100644 --- a/testing/web-platform/tests/dom/events/EventTarget-dispatchEvent.html +++ b/testing/web-platform/tests/dom/events/EventTarget-dispatchEvent.html @@ -98,7 +98,7 @@ results.push(3) }), true) b.dispatchEvent(new Event("x")) - assert_array_equals(results, [1, 2, 3]) + assert_array_equals(results, [1, 3, 2]) this.done() -}, "Event listeners should be called in order of addition") +}, "Capturing event listeners should be called before non-capturing ones")