Skip to content

Commit

Permalink
fixup: update the wpt event test
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
  • Loading branch information
daeyeon committed Jul 18, 2022
1 parent 323ca0f commit eb4fa70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions test/wpt/status/dom/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@
"fail": {
"unexpected": [
"assert_true: expected true got false",
"assert_array_equals: lengths differ, expected array [\"bubbles\", \"cancelable\"] length 2, got [\"cancelable\", \"bubbles\", \"sweet\"] length 3",
"CustomEvent is not defined"
"assert_array_equals: lengths differ, expected array [\"bubbles\", \"cancelable\"] length 2, got [\"cancelable\", \"bubbles\", \"sweet\"] length 3"
]
}
},
"EventListener-addEventListener.sub.window.js": {
"fail": "document is not defined"
},
"EventTarget-constructible.any.js": {
"fail": "CustomEvent is not defined"
},
"relatedTarget.window.js": {
"fail": "document is not defined"
},
Expand Down
2 changes: 2 additions & 0 deletions test/wpt/test-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ const { WPTRunner } = require('../common/wpt');

const runner = new WPTRunner('dom/events');

runner.setFlags(['--experimental-global-customevent']);

runner.runJsTests();

0 comments on commit eb4fa70

Please sign in to comment.