Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df39c2cbd60522face8fdae91375f045709ea923
https://github.com/WebKit/WebKit/commit/df39c2cbd60522face8fdae91375f045709ea923
Author: Anne van Kesteren <[email protected]>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M LayoutTests/fast/images/pagewide-play-pause-offscreen-animations.html
M
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attach-shadow-realm-after-adoption-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/create-element-realm-after-adoption-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-creation-realm-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-realm-adoption-after-frame-removal-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-realm-adoption-after-frame-removal.html
A
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-realm-mixed-across-adoption-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-realm-mixed-across-adoption.html
A
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-realm-preserved-across-frameless-adoption-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-realm-preserved-across-frameless-adoption.html
M LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log
M
LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-realm-expected.txt
M Source/WebCore/bindings/js/JSDOMWindowBase.cpp
M Source/WebCore/bindings/js/JSElementCustom.cpp
M Source/WebCore/bindings/js/JSHTMLElementCustom.cpp
M Source/WebCore/bindings/js/JSNodeCustom.cpp
M Source/WebCore/bindings/js/JSNodeCustom.h
M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
M Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp
M Source/WebCore/dom/Node.cpp
M Source/WebCore/page/LocalDOMWindow.cpp
M Source/WebCore/page/LocalDOMWindow.h
Log Message:
-----------
Correct the realm of nodes
https://bugs.webkit.org/show_bug.cgi?id=319097
Reviewed by Ryosuke Niwa.
Align WebKit with the model proposed over at:
https://github.com/whatwg/dom/issues/977
fast/images/pagewide-play-pause-offscreen-animations.html is changed
slightly so the element checks are realm-agnostic.
Tests:
imported/w3c/web-platform-tests/dom/nodes/node-realm-adoption-after-frame-removal.html
imported/w3c/web-platform-tests/dom/nodes/node-realm-mixed-across-adoption.html
imported/w3c/web-platform-tests/dom/nodes/node-realm-preserved-across-frameless-adoption.html
Upstream: https://github.com/web-platform-tests/wpt/pull/61212
Canonical link: https://commits.webkit.org/317457@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications