Closed Bug 2095368 Opened 12 days ago Closed 10 days ago

[wpt-sync] Sync PR 65084 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=331230

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=331230

WebKit export from bug: Share the active custom element constructor map across windows

<pre>
Share the active custom element constructor map across windows

<a href="https://commits.webkit.org/317462@main">317462@main</a> kept the active custom element constructor map per document. An
upgrade recorded the registry with the document of the definition's window,
while the HTMLElement constructor looked in the document of its own window, so
upgrading an element whose constructor came from another window failed.

HTML keeps the map per similar-origin window agent. Entries only last while a
constructor runs, so keep one map for the main thread instead.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=331230">https://bugs.webkit.org/show_bug.cgi?id=331230</a>
</pre>

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

Status Summary

Firefox

OK : 1
PASS: 3

Chrome

OK : 1
PASS: 1
FAIL: 2

Safari

OK : 1
PASS: 1
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.