Closed Bug 1913397 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 47632 - Add WPT for error reporting during custom element upgrade

Categories

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

task

Tracking

()

RESOLVED FIXED
131 Branch
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

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

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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3346b6f0e9a9 [wpt PR 47632] - Add WPT for error reporting during custom element upgrade, a=testonly https://hg.mozilla.org/integration/autoland/rev/de280cd089e1 [wpt PR 47632] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.