Closed Bug 1475061 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11922 - Update the pointerevents IDL file + tests

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Luke Bjerring <lukebjerring@chromium.org> wrote:
>  Update the pointerevents IDL file + tests
>  
>  Hello reviewer(s),
>  
>  This PR is intended to consolidate the spec’s IDL definition with the WPT test suite’s copy, and any idlharness tests.
>  
>  The up-to-date copy of the IDL file was automatically extracted from the reffy-reports repo (https://github.com/tidoust/reffy-reports/tree/master/whatwg/idl) which scrapes known specs automatically + regulary.
>  
>  This PR is part of a migration project which will eventually be automatically updating and creating PRs for changes in spec IDL.
>  
>  Please check that:
>  The spec (and its source) is correct and up-to-date
>  All tests which cover the IDL in the spec have been migrated to fetch + use the idl in the `interfaces/` directory (instead of inline copies in the test files).
>
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 57 subtests
OK     : 1
PASS   : 51
FAIL   : 6

New tests that have failures or other problems:
/pointerevents/idlharness.window.html
    Element interface: calling hasPointerCapture(long) on document with too few arguments must throw TypeError: FAIL
    Element interface: calling releasePointerCapture(long) on document with too few arguments must throw TypeError: FAIL
    Element interface: calling setPointerCapture(long) on document with too few arguments must throw TypeError: FAIL
    Element interface: document must inherit property "hasPointerCapture(long)" with the proper type: FAIL
    Element interface: document must inherit property "releasePointerCapture(long)" with the proper type: FAIL
    Element interface: document must inherit property "setPointerCapture(long)" with the proper type: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/75391090a52e
[wpt PR 11922] - Update the pointerevents IDL file + tests, a=testonly
https://hg.mozilla.org/mozilla-central/rev/75391090a52e
Status: NEW → RESOLVED
Closed: 6 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.