Skip to content
Permalink
Browse files
ElementInternals is always defined even when form associated custom e…
…lements are disabled

https://bugs.webkit.org/show_bug.cgi?id=245713

Reviewed by Chris Dumez.

Make ElementInternals conditional on the form associated custom elements.

* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
* Source/WebCore/dom/ElementInternals.idl:

Canonical link: https://commits.webkit.org/254920@main
  • Loading branch information
rniwa committed Sep 27, 2022
1 parent cd26692 commit 55e55a966fa342a83b4dc6833b0d0b167dc3946c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -162,6 +162,7 @@ namespace WebCore {
macro(DeprecationReportBody) \
macro(DocumentTimeline) \
macro(DynamicsCompressorNode) \
macro(ElementInternals) \
macro(ExtendableEvent) \
macro(ExtendableMessageEvent) \
macro(FakeXRDevice) \
@@ -27,6 +27,7 @@
GenerateIsReachable=ImplElementRoot,
GenerateAddOpaqueRoot=element,
Exposed=Window,
EnabledBySetting=FormAssociatedCustomElementsEnabled,
] interface ElementInternals {
readonly attribute ShadowRoot? shadowRoot;

0 comments on commit 55e55a9

Please sign in to comment.