Closed Bug 1485750 Opened Last year Closed Last year
[wpt-sync] Sync PR 12651 - Do init
Event() before the test
Sync web-platform-tests PR 12651 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12651 Details from upstream follow. Alphan Chen <email@example.com> wrote: > Do initEvent() before the test > > In the previous test(36-41), "ev.defaultPrevented" is true. > If we don't do the initEvent() in this test, the value is still true in the beginning. > Then we don't know whether "ev.returnValue = false;" is work or not.
Component: web-platform-tests → DOM
Product: Testing → Core
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f72d9b5e371a5d20d2496198a1a7befbbb7b0e19
Ran 1 tests and 8 subtests OK : 1 PASS : 7 FAIL : 1 Existing tests that now have a worse result (e.g. they used to PASS and now FAIL): /dom/events/Event-defaultPrevented.html returnValue should change defaultPrevented if cancelable is true.: FAIL
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/1042604ab1b1 [wpt PR 12651] - Do initEvent() before the test, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/5ac8512c7e3e [wpt PR 12651] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.