[wpt-sync] Sync PR 27577 - Fix the Pointerevents IDL WPT test
Categories
(Core :: DOM: Events, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox87 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27577 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27577
Details from upstream follow.
b'Lan Wei <lanwei@chromium.org>' wrote:
Fix the Pointerevents IDL WPT test
Right now, the pointerevents IDL WPT test has errors of calling
"setPointerCapture", "releasePointerCapture" and "hasPointerCapture"
functions on document, because these three functions are defined in
"Element", and "Document" is not a subclass of "Element". That is why we
see the errors, such as "FAIL Element interface: document must inherit
property "setPointerCapture(long)" with the proper type assert_inherits:
property "setPointerCapture" not found in prototype chain".I fixed it by changing the "document" to "document.body", which is an
element.Bug: 1163370
Change-Id: I2435466e76fee05235d135e6181a566c898a5855Reviewed-on: https://chromium-review.googlesource.com/2685361
WPT-Export-Revision: 67d2eb85038c7d7551be09a7aaa4eb61211923ed
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 141 subtests
Status Summary
Firefox
OK : 1
PASS: 130
FAIL: 11
Chrome
OK : 1
PASS: 141
Safari
OK : 1
PASS: 128
FAIL: 13
Links
Details
New Tests That Don't Pass
/pointerevents/idlharness.window.html
PointerEvent interface: attribute altitudeAngle: FAIL (Chrome: PASS, Safari: FAIL)
PointerEvent interface: attribute azimuthAngle: FAIL (Chrome: PASS, Safari: FAIL)
PointerEvent interface: operation getPredictedEvents(): FAIL (Chrome: PASS, Safari: FAIL)
PointerEvent interface: new PointerEvent("type") must inherit property "altitudeAngle" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
PointerEvent interface: new PointerEvent("type") must inherit property "azimuthAngle" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
PointerEvent interface: new PointerEvent("type") must inherit property "getPredictedEvents()" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
HTMLElement interface: attribute onpointerrawupdate: FAIL (Chrome: PASS, Safari: FAIL)
Window interface: attribute onpointerrawupdate: FAIL (Chrome: PASS, Safari: FAIL)
Window interface: window must inherit property "onpointerrawupdate" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
Document interface: attribute onpointerrawupdate: FAIL (Chrome: PASS, Safari: FAIL)
Document interface: document must inherit property "onpointerrawupdate" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
Comment 5•5 years ago
|
||
| bugherder | ||
Description
•