Closed Bug 1581543 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 19090 - Enhancement and bug fix for on[event] attributes on MathML elements

Categories

(Core :: MathML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 19090 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19090
Details from upstream follow.

Frédéric Wang <fwang@igalia.com> wrote:

Enhancement and bug fix for on[event] attributes on MathML elements

  • mathml/relations/html5-tree/math-global-event-handlers.tentative.html
    The test should be asynchronous and wait for the event to be dispatched,
    otherwise it always passes.

  • clipboard-event-handlers.tentative.html
    Current test just uses addEventListener and dispatchEvent, so does not
    require any MathML-specific IDL at all. Modify the test to instead set
    the listener via element.on[event] = ...

Component: web-platform-tests → MathML
Product: Testing → Core
Ran 2 tests and 314 subtests
FAIL   : 250
TIMEOUT: 66

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html: TIMEOUT
/mathml/relations/html5-tree/math-global-event-handlers.tentative.html: TIMEOUT
    onabort: dispatching an Event at a <math> element must trigger element.onabort: TIMEOUT
    onauxclick: dispatching an Event at a <math> element must trigger element.onauxclick: TIMEOUT
    onblur: dispatching an Event at a <math> element must trigger element.onblur: TIMEOUT
    oncancel: dispatching an Event at a <math> element must trigger element.oncancel: TIMEOUT
    oncanplay: dispatching an Event at a <math> element must trigger element.oncanplay: TIMEOUT
    oncanplaythrough: dispatching an Event at a <math> element must trigger element.oncanplaythrough: TIMEOUT
    onchange: dispatching an Event at a <math> element must trigger element.onchange: TIMEOUT
    onclick: dispatching an Event at a <math> element must trigger element.onclick: TIMEOUT
    onclose: dispatching an Event at a <math> element must trigger element.onclose: TIMEOUT
    oncontextmenu: dispatching an Event at a <math> element must trigger element.oncontextmenu: TIMEOUT
    oncuechange: dispatching an Event at a <math> element must trigger element.oncuechange: TIMEOUT
    ondblclick: dispatching an Event at a <math> element must trigger element.ondblclick: TIMEOUT
    ondrag: dispatching an Event at a <math> element must trigger element.ondrag: TIMEOUT
    ondragend: dispatching an Event at a <math> element must trigger element.ondragend: TIMEOUT
    ondragenter: dispatching an Event at a <math> element must trigger element.ondragenter: TIMEOUT
    ondragexit: dispatching an Event at a <math> element must trigger element.ondragexit: TIMEOUT
    ondragleave: dispatching an Event at a <math> element must trigger element.ondragleave: TIMEOUT
    ondragover: dispatching an Event at a <math> element must trigger element.ondragover: TIMEOUT
    ondragstart: dispatching an Event at a <math> element must trigger element.ondragstart: TIMEOUT
    ondrop: dispatching an Event at a <math> element must trigger element.ondrop: TIMEOUT
    ondurationchange: dispatching an Event at a <math> element must trigger element.ondurationchange: TIMEOUT
    onemptied: dispatching an Event at a <math> element must trigger element.onemptied: TIMEOUT
    onended: dispatching an Event at a <math> element must trigger element.onended: TIMEOUT
    onfocus: dispatching an Event at a <math> element must trigger element.onfocus: TIMEOUT
    onformdata: dispatching an Event at a <math> element must trigger element.onformdata: TIMEOUT
    oninput: dispatching an Event at a <math> element must trigger element.oninput: TIMEOUT
    oninvalid: dispatching an Event at a <math> element must trigger element.oninvalid: TIMEOUT
    onkeydown: dispatching an Event at a <math> element must trigger element.onkeydown: TIMEOUT
    onkeypress: dispatching an Event at a <math> element must trigger element.onkeypress: TIMEOUT
    onkeyup: dispatching an Event at a <math> element must trigger element.onkeyup: TIMEOUT
    onload: dispatching an Event at a <math> element must trigger element.onload: TIMEOUT
    onloadeddata: dispatching an Event at a <math> element must trigger element.onloadeddata: TIMEOUT
    onloadedmetadata: dispatching an Event at a <math> element must trigger element.onloadedmetadata: TIMEOUT
    onloadstart: dispatching an Event at a <math> element must trigger element.onloadstart: TIMEOUT
    onmousedown: dispatching an Event at a <math> element must trigger element.onmousedown: TIMEOUT
    onmouseenter: dispatching an Event at a <math> element must trigger element.onmouseenter: TIMEOUT
    onmouseleave: dispatching an Event at a <math> element must trigger element.onmouseleave: TIMEOUT
    onmousemove: dispatching an Event at a <math> element must trigger element.onmousemove: TIMEOUT
    onmouseout: dispatching an Event at a <math> element must trigger element.onmouseout: TIMEOUT
    onmouseover: dispatching an Event at a <math> element must trigger element.onmouseover: TIMEOUT
    onmouseup: dispatching an Event at a <math> element must trigger element.onmouseup: TIMEOUT
    onpause: dispatching an Event at a <math> element must trigger element.onpause: TIMEOUT
    onplay: dispatching an Event at a <math> element must trigger element.onplay: TIMEOUT
    onplaying: dispatching an Event at a <math> element must trigger element.onplaying: TIMEOUT
    onprogress: dispatching an Event at a <math> element must trigger element.onprogress: TIMEOUT
    onratechange: dispatching an Event at a <math> element must trigger element.onratechange: TIMEOUT
    onreset: dispatching an Event at a <math> element must trigger element.onreset: TIMEOUT
    onresize: dispatching an Event at a <math> element must trigger element.onresize: TIMEOUT
    onscroll: dispatching an Event at a <math> element must trigger element.onscroll: TIMEOUT
    onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation: TIMEOUT
    onseeked: dispatching an Event at a <math> element must trigger element.onseeked: TIMEOUT
    onseeking: dispatching an Event at a <math> element must trigger element.onseeking: TIMEOUT
    onselect: dispatching an Event at a <math> element must trigger element.onselect: TIMEOUT
    onstalled: dispatching an Event at a <math> element must trigger element.onstalled: TIMEOUT
    onsubmit: dispatching an Event at a <math> element must trigger element.onsubmit: TIMEOUT
    onsuspend: dispatching an Event at a <math> element must trigger element.onsuspend: TIMEOUT
    ontimeupdate: dispatching an Event at a <math> element must trigger element.ontimeupdate: TIMEOUT
    ontoggle: dispatching an Event at a <math> element must trigger element.ontoggle: TIMEOUT
    onvolumechange: dispatching an Event at a <math> element must trigger element.onvolumechange: TIMEOUT
    onwaiting: dispatching an Event at a <math> element must trigger element.onwaiting: TIMEOUT
    onwheel: dispatching an Event at a <math> element must trigger element.onwheel: TIMEOUT

New tests that have failures or other problems:
/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html
    copy: dispatching an Event at a <math> element must trigger element.oncopy: TIMEOUT
    cut: dispatching an Event at a <math> element must trigger element.oncut: TIMEOUT
    paste: dispatching an Event at a <math> element must trigger element.onpaste: TIMEOUT
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/41f6c4c852c4
[wpt PR 19090] - Enhancement and bug fix for on[event] attributes on MathML elements, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/f49d6c293fdb
[wpt PR 19090] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.