Closed Bug 1902246 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 46728 - Scoped Custom Element Registry Define, Get, Etc

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Benny Powers <web@bennypowers.com> wrote:

Scoped Custom Element Registry Define, Get, Etc

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 7 subtests

Status Summary

Firefox

OK : 1
FAIL: 7

Chrome

OK : 1
PASS: 7

Safari

OK : 1
FAIL: 7

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /custom-elements/scoped-registry/scoped-registry-registry-define-get-etc.tentative.html [wpt.fyi]
    • Custom element registries with a registered custom element return the class in their get method, and the name in their getName method: FAIL (Chrome: PASS, Safari: FAIL)
    • Scoped Custom element registries do not inherit names or classes from the global registry: FAIL (Chrome: PASS, Safari: FAIL)
    • Scoped Custom element registries return the same constructor when it is defined in both: FAIL (Chrome: PASS, Safari: FAIL)
    • Scoped Custom element registries allow registering name that exists in global registry: FAIL (Chrome: PASS, Safari: FAIL)
    • Custom element registries with a registered custom element resolve the class in their whenDefined method: FAIL (Chrome: PASS, Safari: FAIL)
    • Scoped Custom element registries resolve the same constructor from whenDefined when it is defined in both: FAIL (Chrome: PASS, Safari: FAIL)
    • Scoped Custom element registry getters do not resolve globally registered classes from whenDefined: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5984e71f8b4 [wpt PR 46728] - Scoped Custom Element Registry Define, Get, Etc, a=testonly https://hg.mozilla.org/integration/autoland/rev/994e6289fc29 [wpt PR 46728] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.