Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2733dd0b557056043b7bd39872e3f962581f4372
https://github.com/WebKit/WebKit/commit/2733dd0b557056043b7bd39872e3f962581f4372
Author: Fujii Hironori <[email protected]>
Date: 2025-03-02 (Sun, 02 Mar 2025)
Changed paths:
A
LayoutTests/fast/shadow-dom/scoped-custom-element-registry-disabled-expected.txt
A LayoutTests/fast/shadow-dom/scoped-custom-element-registry-disabled.html
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
REGRESSION(291247@main): Crash in JSC::MarkedBlock::vm under
WebCore::Element::attachShadow if ScopedCustomElementRegistryEnabled is off
https://bugs.webkit.org/show_bug.cgi?id=288918
Reviewed by Ryosuke Niwa.
customElements of ShadowRootInit is abailable only if
ScopedCustomElementRegistryEnabled.
After <https://commits.webkit.org/291247@main>, Element::attachShadow
crashed by accessing init.customElements if ScopedCustomElementRegistryEnabled
was off.
Element::attachShadow should check the setting and the value is not
empty before accessing it.
*
LayoutTests/fast/shadow-dom/scoped-custom-element-registry-disabled-expected.txt:
Added.
* LayoutTests/fast/shadow-dom/scoped-custom-element-registry-disabled.html:
Added.
* Source/WebCore/dom/Element.cpp:
Canonical link: https://commits.webkit.org/291477@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes