Closed Bug 1485750 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12651 - Do initEvent() before the test

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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 <alchen@mozilla.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
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 wptsync@mozilla.com: 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
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.