Closed
Bug 1450367
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 10258 - Add tests for Event.srcElement and Event.returnValue
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 10258 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10258 Details from upstream follow. Mike Taylor <miket@mozilla.com> wrote: > Add tests for Event.srcElement and Event.returnValue > > (these tests were already r+'d in https://github.com/w3c/web-platform-tests/pull/4790, but splitting them out from the `window.event` stuff so they can land independent of that. > > r? @annevk
Reporter | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Reporter | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=25807fc6d7619c4e0fbc559c3fdc319e589bb860
Reporter | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=3db7edd690fd4dfe07d77d6b391147e5b9e3b2a3
Reporter | ||
Comment 3•6 years ago
|
||
Ran 32 tests and 10770 subtests OK : 31 PASS : 9630 FAIL : 1139 TIMEOUT: 2 Existing tests that now have a worse result (e.g. they used to PASS and now FAIL): /dom/events/Event-constructors.html Event constructors 2: FAIL Event constructors 3: FAIL /dom/events/Event-initEvent.html Properties of initEvent(type, false, false): FAIL Properties of initEvent(type, false, true): FAIL Properties of initEvent(type, true, false): FAIL Properties of initEvent(type, true, true): FAIL New tests that have failures or other problems: /dom/events/AddEventListenerOptions-passive.html returnValue should be ignored if-and-only-if the passive option is true: FAIL /dom/events/Event-defaultPrevented-after-dispatch.html Default prevention via returnValue: FAIL /dom/events/Event-returnValue.html When an event is created, returnValue should be initialized to true.: FAIL initEvent should unset returnValue.: FAIL preventDefault() should change returnValue if cancelable is true.: FAIL preventDefault() should not change returnValue if cancelable is false.: FAIL returnValue=false should have no effect if cancelable is false.: FAIL returnValue=true should have no effect once the canceled flag was set.: FAIL /dom/events/EventTarget-dispatchEvent-returnvalue.html Return value of EventTarget.dispatchEvent() affected by preventDefault().: FAIL Return value of EventTarget.dispatchEvent() affected by returnValue.: FAIL /dom/interfaces.html Event interface: attribute returnValue: FAIL Event interface: document.createEvent("Event") must inherit property "returnValue" with the proper type: FAIL Event interface: new CustomEvent("foo") must inherit property "returnValue" with the proper type: FAIL Event interface: new Event("foo") must inherit property "returnValue" with the proper type: FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/e683788df735 [wpt PR 10258] - Add tests for Event.srcElement and Event.returnValue, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/5c39066c31f9 [wpt PR 10258] - Update wpt metadata, a=testonly
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e683788df735 https://hg.mozilla.org/mozilla-central/rev/5c39066c31f9
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•