[webkit-changes] [WebKit/WebKit] b1a119: Adopt more smart pointers in the bindings

Chris Dumez noreply at github.com
Mon Feb 12 10:13:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b1a119cd529ba67b2d620e751b9e7549e5163efe
      https://github.com/WebKit/WebKit/commit/b1a119cd529ba67b2d620e751b9e7549e5163efe
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
    M Source/WebCore/bindings/scripts/test/JS/JSExposedStar.h
    M Source/WebCore/bindings/scripts/test/JS/JSExposedToWorkerAndWindow.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterable.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestAsyncKeyValueIterable.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestConditionalIncludes.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestConditionallyReadWrite.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSON.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONFilteredByExposed.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONIndirectInheritance.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInherit.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONInheritFinal.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDelegateToSharedSyntheticAttribute.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestDomainSecurity.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestException.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestGenerateAddOpaqueRoot.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestLegacyFactoryFunction.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestLegacyNoInterfaceObject.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestLegacyOverrideBuiltIns.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestMapLike.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestMapLikeWithOverriddenOperations.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyOverrideBuiltIns.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeableProperties.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeablePropertiesAndLegacyOverrideBuiltIns.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamespaceConst.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNamespaceObject.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestNode.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestObj.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestOperationConditional.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestReadOnlyMapLike.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestReadOnlySetLike.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestReportExtraMemoryCost.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestSetLike.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestSetLikeWithOverriddenOperations.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestTaggedWrapper.h
    M Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h

  Log Message:
  -----------
  Adopt more smart pointers in the bindings
https://bugs.webkit.org/show_bug.cgi?id=269157

Reviewed by Darin Adler.

Adopt more smart pointers in the bindings as recommended by the analyzer.

* Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:
* Source/WebCore/bindings/scripts/test/JS/*: Updated.

Canonical link: https://commits.webkit.org/274468@main




More information about the webkit-changes mailing list