Skip to content

Commit

Permalink
Bug 1542439 [wpt PR 16230] - Capturing event listeners should be call…
Browse files Browse the repository at this point in the history
…ed 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 whatwg/dom#685.
--

wpt-commits: e4a98db0bb16cdbddeb2ae4a58d4bea99237cd42
wpt-pr: 16230

UltraBlame original commit: de9c8a0db6ca877075bcae553f872eff273cdc66
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 26f4d77 commit 27dd74e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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")
</script>

0 comments on commit 27dd74e

Please sign in to comment.