Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9ccad1a7f4bf026141088a966176bf659c8329dd
https://github.com/WebKit/WebKit/commit/9ccad1a7f4bf026141088a966176bf659c8329dd
Author: Chris Dumez <[email protected]>
Date: 2025-10-05 (Sun, 05 Oct 2025)
Changed paths:
M Source/WebCore/Modules/cookie-store/ExtendableCookieChangeEvent.h
M Source/WebCore/Modules/mediastream/InputDeviceInfo.h
M Source/WebCore/Modules/mediastream/MediaDeviceInfo.h
M Source/WebCore/Modules/notifications/NotificationEvent.h
M Source/WebCore/Modules/paymentrequest/PaymentMethodChangeEvent.h
M Source/WebCore/Modules/push-api/PushEvent.h
M Source/WebCore/Modules/push-api/PushSubscriptionChangeEvent.h
M Source/WebCore/Modules/speech/SpeechSynthesisErrorEvent.h
M Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h
M Source/WebCore/Modules/webaudio/AudioWorklet.h
M Source/WebCore/Modules/webaudio/ConstantSourceNode.h
M Source/WebCore/Modules/webaudio/OscillatorNode.h
M Source/WebCore/Modules/webauthn/AuthenticatorResponse.idl
M Source/WebCore/Modules/webxr/WebXRJointPose.h
M Source/WebCore/Modules/webxr/WebXRLayer.h
M Source/WebCore/Modules/webxr/WebXRPose.h
M Source/WebCore/Modules/webxr/WebXRWebGLLayer.h
M Source/WebCore/Modules/webxr/XRCompositionLayer.h
M Source/WebCore/Modules/webxr/XRCompositionLayer.idl
M Source/WebCore/Modules/webxr/XRCubeLayer.h
M Source/WebCore/Modules/webxr/XRCubeLayer.idl
M Source/WebCore/Modules/webxr/XRCylinderLayer.h
M Source/WebCore/Modules/webxr/XRCylinderLayer.idl
M Source/WebCore/Modules/webxr/XREquirectLayer.h
M Source/WebCore/Modules/webxr/XREquirectLayer.idl
M Source/WebCore/Modules/webxr/XRGPUSubImage.h
M Source/WebCore/Modules/webxr/XRProjectionLayer.h
M Source/WebCore/Modules/webxr/XRQuadLayer.h
M Source/WebCore/Modules/webxr/XRQuadLayer.idl
M Source/WebCore/Modules/webxr/XRSubImage.h
M Source/WebCore/Modules/webxr/XRWebGLSubImage.h
M Source/WebCore/Scripts/SettingsTemplates/InternalSettingsGenerated.h.erb
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
R Source/WebCore/bindings/js/JSAuthenticatorResponseCustom.cpp
M Source/WebCore/bindings/js/ScriptModuleLoader.cpp
M Source/WebCore/bindings/scripts/CodeGenerator.pm
M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
M Source/WebCore/bindings/scripts/IDLAttributes.json
M Source/WebCore/bindings/scripts/test/JS/JSExposedStar.cpp
M Source/WebCore/bindings/scripts/test/JS/JSExposedToWorkerAndWindow.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterable.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestAsyncKeyValueIterable.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestConditional.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestConditionalIncludes.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestConditionallyReadWrite.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.h
M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSON.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONFilteredByExposed.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONIndirectInheritance.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONIndirectInheritance.h
M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInherit.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInherit.h
M
Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInheritFinal.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInheritFinal.h
M
Source/WebCore/bindings/scripts/test/JS/JSTestDelegateToSharedSyntheticAttribute.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestDomainSecurity.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestGenerateAddOpaqueRoot.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestLegacyFactoryFunction.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestLegacyNoInterfaceObject.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestLegacyOverrideBuiltIns.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestMapLike.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestMapLikeWithOverriddenOperations.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyOverrideBuiltIns.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeableProperties.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeablePropertiesAndLegacyOverrideBuiltIns.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestOperationConditional.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestReadOnlyMapLike.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestReadOnlySetLike.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestReportExtraMemoryCost.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestScheduledAction.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestSetLike.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestSetLikeWithOverriddenOperations.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp
M
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestTaggedWrapper.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
M Source/WebCore/css/CSSConditionRule.h
M Source/WebCore/css/CSSGroupingRule.h
M Source/WebCore/css/DOMMatrixReadOnly.idl
M Source/WebCore/css/typedom/StylePropertyMap.h
M Source/WebCore/css/typedom/StylePropertyMapReadOnly.h
M Source/WebCore/css/typedom/color/CSSHSL.h
M Source/WebCore/css/typedom/color/CSSHWB.h
M Source/WebCore/css/typedom/color/CSSLCH.h
M Source/WebCore/css/typedom/color/CSSLab.h
M Source/WebCore/css/typedom/color/CSSOKLCH.h
M Source/WebCore/css/typedom/color/CSSOKLab.h
M Source/WebCore/css/typedom/color/CSSOMColor.h
M Source/WebCore/css/typedom/color/CSSOMColorValue.h
M Source/WebCore/css/typedom/color/CSSRGB.h
M Source/WebCore/dom/DOMPointReadOnly.idl
M Source/WebCore/dom/DOMRectReadOnly.idl
M Source/WebCore/dom/DragEvent.h
M Source/WebCore/dom/Event.h
M Source/WebCore/page/PerformanceNavigationTiming.h
M Source/WebCore/svg/SVGAnimationElement.h
M Source/WebCore/svg/SVGElement.h
M Source/WebCore/svg/SVGFEFuncAElement.h
M Source/WebCore/testing/InternalSettings.h
M Source/WebCore/workers/service/ExtendableEvent.h
M Source/WebCore/workers/service/ExtendableMessageEvent.h
M Source/WebCore/workers/service/FetchEvent.h
M Source/WebCore/workers/service/InstallEvent.h
M Source/WebCore/workers/service/background-fetch/BackgroundFetchEvent.h
M
Source/WebCore/workers/service/background-fetch/BackgroundFetchUpdateUIEvent.h
M Source/WebCore/worklets/Worklet.h
M Source/WebCore/xml/XMLHttpRequestProgressEvent.h
Log Message:
-----------
[Bindings] Generated `toJSNewlyCreated()` should account for descendants
https://bugs.webkit.org/show_bug.cgi?id=300183
Reviewed by Darin Adler.
Currently, the generator binding could only generate a trivial version of
`toJSNewlyCreated()`,
which did not account for descendants. This is annoying for developers as they
usually find the hard way and then they have to write custom bindings code to
create the right wrapper for the right subclass type.
This patch updates the bindings generator to generate a more correct version of
`toJSNewlyCreated()` when an interface has descendants and drops the custom
bindings for AuthenticatorResponse.idl as proof of concept. I will then
follow-up
to drop more custom bindings.
This is performance neutral on Speedometer.
This PR introduces a new IDL extended attribute:
- `[IgnoreSubclassesWhenGeneratingToJSObject]`: Maintains pre-existing behavior
and does not generate logic to handle child types in `toJSNewlyCreated()`.
Ideally we would not need this but we have WebXR code that is incomplete
and generates linking errors due to missing vtable. We also have several
types that are not virtual even though they have subclasses.
The following pre-existing IDL extended attributes are relevant but their
behavior did not change:
- `[SuppressToJSObject]`: Do not generate `toJS()` / `toJSNewlyCreated()`
functions
for this type. I think that ideally we should not need this anymore so I'll
look in a follow-up to see if we can drop it.
- `[JSGenerateToJSObject]`: Before my PR, we would usually not generate
`toJS()` /
`toJSNewlyCreated()` functions for interfaces that have a parent. Developers
would have to specify this IDL attribute for have one generated. After my PR,
we generate toJS() functions for most types so we may be able to drop this
attribute in a follow-up.
- `[CustomToJSObject]`: If the generated code to `toJS()` / `toJSNewlyCreated()`
functions is inadequate, the developer can use this attribute to only generate
the declaration and then provide its own implementation in a JSFooCustom.cpp
file. This was the common way to deal with descendant types before this PR.
However, now that the generated code accounts for descendant types, we should
be able to reduce the usage a lot. There may still be useful usage after that
though (maybe for performance?), we'll see.
I had to make a few changes to some IDLs:
- SVGRectElement/SVGSVGElement: Before my PR, we did not generate a toJS()
function for these types and therefore, we would not generate vtable
validation code for them either. The new vtable validation code was asserting
in debug builds which seems to indicate a pre-existing bug somewhere. For now,
I have added `[SkipVTableValidation]` to maintain pre-existing behavior and
not do the vtable check.
- DOMMatrixReadOnly / DOMPointReadOnly / DOMRectReadOnly: Had to use
`[IgnoreSubclassesWhenGeneratingToJSObject]` to maintain pre-existing
behavior.
Even though they have subclasses with IDLs, they are not virtual. Being
non-virtual made adding type checks challenging but also, type checks did not
make a lot of sense since clearly, we should never be returning a
`DOMMatrixReadOnly*` when the object is actually a `DOMMatrix`, since we do
not support polymorphism for these types.
- XRCompositionLayer: Had to use `[IgnoreSubclassesWhenGeneratingToJSObject]` to
maintain pre-existing behavior. The pre-existing behavior is wrong but fixing
it was not trivial. The issue is that 4 of its subclasses are missing
implementation for pure virtual functions and have no cpp files, even though
they have IDLs. This looks like incomplete implementation so I left alone. For
the same reason, I had to use `[SuppressToJSObject]` on the child interfaces
to maintain pre-existing behavior and avoid linking errors.
Also, SVGRectElement / SVGSVGElement now get a generated toJSNewlyCreated()
functions after my PR, which means they also get vtable validation checks in
this
function. The offset where the generated bindings code was expecting the vtable
doesn't match reality so I am fixing this in the generator.
* Source/WebCore/Modules/cookie-store/ExtendableCookieChangeEvent.h:
(isType):
* Source/WebCore/Modules/mediastream/InputDeviceInfo.h:
(isType):
* Source/WebCore/Modules/mediastream/MediaDeviceInfo.h:
(WebCore::MediaDeviceInfo::isInputDeviceInfo const):
* Source/WebCore/Modules/notifications/NotificationEvent.h:
(isType):
* Source/WebCore/Modules/paymentrequest/PaymentMethodChangeEvent.h:
* Source/WebCore/Modules/push-api/PushEvent.h:
(isType):
* Source/WebCore/Modules/push-api/PushSubscriptionChangeEvent.h:
(isType):
* Source/WebCore/Modules/speech/SpeechSynthesisErrorEvent.h:
* Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h:
(isType):
* Source/WebCore/Modules/webaudio/AudioWorklet.h:
(isType):
* Source/WebCore/Modules/webaudio/ConstantSourceNode.h:
(isType):
* Source/WebCore/Modules/webaudio/OscillatorNode.h:
(isType):
* Source/WebCore/Modules/webauthn/AuthenticatorResponse.idl:
* Source/WebCore/Modules/webxr/WebXRJointPose.h:
(isType):
* Source/WebCore/Modules/webxr/WebXRLayer.h:
(WebCore::WebXRLayer::isWebXRWebGLLayer const):
(WebCore::WebXRLayer::isXRCompositionLayer const):
(WebCore::WebXRLayer::isXRCubeLayer const):
(WebCore::WebXRLayer::isXRCylinderLayer const):
(WebCore::WebXRLayer::isXREquirectLayer const):
(WebCore::WebXRLayer::isXRProjectionLayer const):
(WebCore::WebXRLayer::isXRQuadLayer const):
* Source/WebCore/Modules/webxr/WebXRPose.h:
(WebCore::WebXRPose::isWebXRJointPose const):
* Source/WebCore/Modules/webxr/WebXRWebGLLayer.h:
(isType):
* Source/WebCore/Modules/webxr/XRCompositionLayer.h:
(isType):
* Source/WebCore/Modules/webxr/XRCompositionLayer.idl:
* Source/WebCore/Modules/webxr/XRCubeLayer.h:
(isType):
* Source/WebCore/Modules/webxr/XRCubeLayer.idl:
* Source/WebCore/Modules/webxr/XRCylinderLayer.h:
(isType):
* Source/WebCore/Modules/webxr/XRCylinderLayer.idl:
* Source/WebCore/Modules/webxr/XREquirectLayer.h:
(isType):
* Source/WebCore/Modules/webxr/XREquirectLayer.idl:
* Source/WebCore/Modules/webxr/XRGPUSubImage.h:
(isType):
* Source/WebCore/Modules/webxr/XRProjectionLayer.h:
(isType):
* Source/WebCore/Modules/webxr/XRQuadLayer.h:
(isType):
* Source/WebCore/Modules/webxr/XRQuadLayer.idl:
* Source/WebCore/Modules/webxr/XRSubImage.h:
(WebCore::XRSubImage::isXRGPUSubImage const):
(WebCore::XRSubImage::isXRWebGLSubImage const):
* Source/WebCore/Modules/webxr/XRWebGLSubImage.h:
(isType):
* Source/WebCore/Scripts/SettingsTemplates/InternalSettingsGenerated.h.erb:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/JSAuthenticatorResponseCustom.cpp: Removed.
* Source/WebCore/bindings/js/ScriptModuleLoader.cpp:
* Source/WebCore/bindings/scripts/CodeGenerator.pm:
(BuildInheritanceMap):
(ForEachChildInterface):
* Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:
(ShouldGenerateToJSDeclaration):
(GetGnuVTableOffsetForType):
(GenerateImplementation):
* Source/WebCore/bindings/scripts/IDLAttributes.json:
* Source/WebCore/bindings/scripts/test/JS/JSExposedStar.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSExposedToWorkerAndWindow.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterable.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestAsyncKeyValueIterable.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestConditional.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestConditionalIncludes.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestConditionallyReadWrite.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
(WebCore::toJS):
* Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.h:
(WebCore::toJS):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSON.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONFilteredByExposed.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONIndirectInheritance.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
(WebCore::toJS):
*
Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONIndirectInheritance.h:
(WebCore::toJS):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInherit.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
(WebCore::toJS):
* Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInherit.h:
(WebCore::toJS):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInheritFinal.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
(WebCore::toJS):
* Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInheritFinal.h:
(WebCore::toJS):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestDelegateToSharedSyntheticAttribute.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestDomainSecurity.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestGenerateAddOpaqueRoot.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestLegacyFactoryFunction.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestLegacyNoInterfaceObject.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestLegacyOverrideBuiltIns.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestMapLike.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestMapLikeWithOverriddenOperations.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyOverrideBuiltIns.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeableProperties.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeablePropertiesAndLegacyOverrideBuiltIns.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestOperationConditional.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestReadOnlyMapLike.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestReadOnlySetLike.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestReportExtraMemoryCost.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestScheduledAction.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestSetLike.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestSetLikeWithOverriddenOperations.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
*
Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestTaggedWrapper.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
* Source/WebCore/css/CSSConditionRule.h:
(isType):
* Source/WebCore/css/CSSGroupingRule.h:
(WebCore::CSSGroupingRule::isCSSConditionRule const):
* Source/WebCore/css/DOMMatrixReadOnly.idl:
* Source/WebCore/css/typedom/StylePropertyMap.h:
(isType):
* Source/WebCore/css/typedom/StylePropertyMapReadOnly.h:
(WebCore::StylePropertyMapReadOnly::isStylePropertyMap const):
* Source/WebCore/css/typedom/color/CSSHSL.h:
(isType):
* Source/WebCore/css/typedom/color/CSSHWB.h:
(isType):
* Source/WebCore/css/typedom/color/CSSLCH.h:
(isType):
* Source/WebCore/css/typedom/color/CSSLab.h:
(isType):
* Source/WebCore/css/typedom/color/CSSOKLCH.h:
(isType):
* Source/WebCore/css/typedom/color/CSSOKLab.h:
(isType):
* Source/WebCore/css/typedom/color/CSSOMColor.h:
(isType):
* Source/WebCore/css/typedom/color/CSSOMColorValue.h:
(WebCore::CSSOMColorValue::isCSSHSL const):
(WebCore::CSSOMColorValue::isCSSHWB const):
(WebCore::CSSOMColorValue::isCSSOKLCH const):
(WebCore::CSSOMColorValue::isCSSLCH const):
(WebCore::CSSOMColorValue::isCSSLab const):
(WebCore::CSSOMColorValue::isCSSOKLab const):
(WebCore::CSSOMColorValue::isCSSOMColor const):
(WebCore::CSSOMColorValue::isCSSRGB const):
* Source/WebCore/css/typedom/color/CSSRGB.h:
(isType):
* Source/WebCore/dom/DOMPointReadOnly.idl:
* Source/WebCore/dom/DOMRectReadOnly.idl:
* Source/WebCore/dom/DragEvent.h:
* Source/WebCore/dom/Event.h:
(WebCore::Event::isDragEvent const):
(WebCore::Event::isGestureEvent const):
(WebCore::Event::isPaymentMethodChangeEvent const):
(WebCore::Event::isSpeechSynthesisErrorEvent const):
(WebCore::Event::isXMLHttpRequestProgressEvent const):
* Source/WebCore/page/PerformanceNavigationTiming.h:
(isType):
* Source/WebCore/svg/SVGAnimationElement.h:
(isType):
* Source/WebCore/svg/SVGElement.h:
(WebCore::SVGElement::isSVGAnimationElement const):
* Source/WebCore/svg/SVGFEFuncAElement.h:
* Source/WebCore/testing/InternalSettings.h:
(isType):
* Source/WebCore/workers/service/ExtendableEvent.h:
(WebCore::ExtendableEvent::isBackgroundFetchEvent const):
(WebCore::ExtendableEvent::isBackgroundFetchUpdateUIEvent const):
(WebCore::ExtendableEvent::isExtendableCookieChangeEvent const):
(WebCore::ExtendableEvent::isExtendableMessageEvent const):
(WebCore::ExtendableEvent::isFetchEvent const):
(WebCore::ExtendableEvent::isInstallEvent const):
(WebCore::ExtendableEvent::isNotificationEvent const):
(WebCore::ExtendableEvent::isPushEvent const):
(WebCore::ExtendableEvent::isPushSubscriptionChangeEvent const):
* Source/WebCore/workers/service/ExtendableMessageEvent.h:
(isType):
* Source/WebCore/workers/service/FetchEvent.h:
(isType):
* Source/WebCore/workers/service/InstallEvent.h:
(isType):
* Source/WebCore/workers/service/background-fetch/BackgroundFetchEvent.h:
(isType):
*
Source/WebCore/workers/service/background-fetch/BackgroundFetchUpdateUIEvent.h:
(isType):
* Source/WebCore/worklets/Worklet.h:
(WebCore::Worklet::isAudioWorklet const):
* Source/WebCore/xml/XMLHttpRequestProgressEvent.h:
Canonical link: https://commits.webkit.org/301038@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