mirror of
https://github.com/servo/servo.git
synced 2025-08-21 21:35:32 +01:00
Update web-platform-tests to revision 0ed072539aa45d3a5a67c9164b243d27873f257c
This commit is contained in:
parent
0954871992
commit
e613cfd108
76 changed files with 1109 additions and 703 deletions
|
@ -144,6 +144,10 @@ promise_test(async t => {
|
|||
assert_equals(calls, 2, "dispatchEvent");
|
||||
}, "removeListener doesn't remove listener added with addEventListener (capture)");
|
||||
|
||||
// See:
|
||||
// * https://github.com/whatwg/dom/issues/746
|
||||
// * https://bugzilla.mozilla.org/show_bug.cgi?id=1492446
|
||||
// * https://bugs.chromium.org/p/chromium/issues/detail?id=949432
|
||||
promise_test(async t => {
|
||||
const mql = await createMQL(t);
|
||||
|
||||
|
@ -164,5 +168,5 @@ promise_test(async t => {
|
|||
calls = [];
|
||||
mql.dispatchEvent(new Event("change"));
|
||||
assert_array_equals(calls, ["addEventListener", "addListener"], "dispatchEvent");
|
||||
}, "listeners are called in order they were added, ignoring capture parameter");
|
||||
}, "capturing event listener fires before non-capturing listener at target");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue