[wpt-sync] Sync PR 47632 - Add WPT for error reporting during custom element upgrade
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47632 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47632
Details from upstream follow.
Jeremy Roman <jbroman@chromium.org> wrote:
Add WPT for error reporting during custom element upgrade
This test currently fails in Chromium. 3/4 subtests fail with:
error event should target definition's global but instead
targets test harness global"See also: https://github.com/whatwg/dom/pull/1303
Bug: 359909516
Change-Id: I0cc589735d9f8c8ec2c4b55c89aabdb4f7500e17
Reviewed-on: https://chromium-review.googlesource.com/5789341
WPT-Export-Revision: 9c38bc3868ca8707316adc293fb3b6653d22fc8f
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
FAIL
: 4
ERROR
: 1
Chrome
OK
: 1
PASS
: 1
FAIL
: 3
Safari
OK
: 1
PASS
: 2
FAIL
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
New Tests That Don't Pass
- /custom-elements/upgrading/upgrade-custom-element-error-event.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:OK
)- autonomous: exception thrown in constructor is reported to definition's global:
FAIL
(Chrome:FAIL
, Safari:PASS
) - autonomous: exception thrown by spec due to invalid element state is reported to definition's global:
FAIL
(Chrome:FAIL
, Safari:PASS
) - customized built-in: exception thrown in constructor is reported to definition's global:
FAIL
(Chrome:PASS
, Safari:FAIL
) - customized built-in: exception thrown by spec due to not returning the same value is reported to definition's global:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- autonomous: exception thrown in constructor is reported to definition's global:
Comment 4•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3346b6f0e9a9
https://hg.mozilla.org/mozilla-central/rev/de280cd089e1
Description
•