Closed Bug 1766614 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33811 - DOM: Remove TouchEvent from someNonCreateableEvents

Categories

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

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Simon Pieters <zcorpan@gmail.com> wrote:

DOM: Remove TouchEvent from someNonCreateableEvents

The test Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TouchEvent"
was incorrect for UAs where "expose legacy touch event APIs" is true.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 279 subtests

Status Summary

Firefox

OK : 1
PASS : 271
FAIL : 2
PRECONDITION_FAILED: 6

Chrome

OK : 1
PASS : 257
FAIL : 16
PRECONDITION_FAILED: 6

Safari

OK : 1
PASS : 252
FAIL : 21
PRECONDITION_FAILED: 6

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /dom/nodes/Document-createEvent.https.html [wpt.fyi]
    • TouchEvent should be an alias for TouchEvent.: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PRECONDITION_FAILED)
    • createEvent('TouchEvent') should be initialized correctly.: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PRECONDITION_FAILED)
    • touchevent should be an alias for TouchEvent.: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PRECONDITION_FAILED)
    • createEvent('touchevent') should be initialized correctly.: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PRECONDITION_FAILED)
    • TOUCHEVENT should be an alias for TouchEvent.: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PRECONDITION_FAILED)
    • createEvent('TOUCHEVENT') should be initialized correctly.: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PRECONDITION_FAILED)
    • Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MutationEvent": FAIL (Chrome: FAIL, Safari: FAIL)
    • Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MutationEvents": FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/edea2e3d6422
[wpt PR 33811] - DOM: Remove TouchEvent from someNonCreateableEvents, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.