[webkit-changes] [WebKit/WebKit] 2bfc39: Versioning.

Yijia Huang noreply at github.com
Tue Jan 28 11:22:51 PST 2025


  Branch: refs/heads/safari-7620.2.4.111-branch
  Home:   https://github.com/WebKit/WebKit
  Commit: 2bfc396b6daa4d1666f69ee072b0201f4a01f38f
      https://github.com/WebKit/WebKit/commit/2bfc396b6daa4d1666f69ee072b0201f4a01f38f
  Author: Mohsin Qureshi <mohsinq at apple.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M Configurations/Version.xcconfig

  Log Message:
  -----------
  Versioning.

WebKit-7620.2.4.111.1

Canonical link: https://commits.webkit.org/283286.605@safari-7620.2.4.111-branch


  Commit: df963c0cb9f5c112082a59692da5e7d711d0b400
      https://github.com/WebKit/WebKit/commit/df963c0cb9f5c112082a59692da5e7d711d0b400
  Author: Mohsin Qureshi <mohsinq at apple.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M Source/WebCore/html/HTMLVideoElement.cpp
    M Source/WebCore/html/HTMLVideoElement.h
    M Source/WebCore/html/ImageBitmap.cpp
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
    M Source/WebCore/platform/VideoFrame.cpp
    M Source/WebCore/platform/VideoFrame.h
    M Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp
    M Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h
    M Source/WebCore/platform/graphics/GraphicsContext.cpp
    M Source/WebCore/platform/graphics/GraphicsContext.h
    M Source/WebCore/platform/graphics/GraphicsContextGL.cpp
    M Source/WebCore/platform/graphics/MediaPlayer.cpp
    M Source/WebCore/platform/graphics/MediaPlayer.h
    M Source/WebCore/platform/graphics/NullGraphicsContext.h
    M Source/WebCore/platform/graphics/cv/VideoFrameCV.mm
    M Source/WebCore/platform/graphics/displaylists/DisplayListItem.h
    M Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp
    M Source/WebCore/platform/graphics/displaylists/DisplayListItems.h
    M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp
    M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h
    M Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp
    M Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.h
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp
    M Source/WebCore/platform/graphics/nicosia/cairo/NicosiaCairoOperationRecorder.cpp
    M Source/WebCore/platform/graphics/nicosia/cairo/NicosiaCairoOperationRecorder.h
    M Source/WebCore/rendering/RenderVideo.cpp
    M Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.cpp
    M Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.h
    M Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.messages.in
    M Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.h
    M Source/WebKit/Shared/DisplayListArgumentCoders.serialization.in
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp
    M Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.h
    M Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp
    M Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm

  Log Message:
  -----------
  Revert 63ca1cca5ba5. rdar://141546383


  Commit: c14cc7806ec696161cb9e08623c1469e0e70a084
      https://github.com/WebKit/WebKit/commit/c14cc7806ec696161cb9e08623c1469e0e70a084
  Author: Jason Lee <jlee32 at apple.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M Source/WebKit/Platform/spi/Cocoa/AuthenticationServicesCoreSPI.h
    M Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm

  Log Message:
  -----------
  Cherry-pick b09d78e4a2ec. rdar://141546432

    Passkey registration broken on Ventura
    https://bugs.webkit.org/show_bug.cgi?id=282732
    rdar://139368939

    Reviewed by Brent Fulgham.

    ASCPlatformPublicKeyCredentialRegistration.transports was changed from an array
    of NSNumbers to NSStrings. This change was not reflected in the WebKit legacy
    passkey code path.

    This patch updates that code to properly convert the strings to enum values.

    * Source/WebKit/Platform/spi/Cocoa/AuthenticationServicesCoreSPI.h:
    * Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:
    (WebKit::toAuthenticatorTransports):

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


  Commit: 8d8b335a7ad520cc8d05e0a51e1c3816a9f4d1b8
      https://github.com/WebKit/WebKit/commit/8d8b335a7ad520cc8d05e0a51e1c3816a9f4d1b8
  Author: Dan Robson <dtr_bugzilla at apple.com>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M Configurations/Version.xcconfig

  Log Message:
  -----------
  Versioning.

WebKit-7620.2.4.111.2

Canonical link: https://commits.webkit.org/283286.608@safari-7620.2.4.111-branch


  Commit: 05ac7f80cb3401e45e43fc620e43105d69ec1816
      https://github.com/WebKit/WebKit/commit/05ac7f80cb3401e45e43fc620e43105d69ec1816
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/C/WKPage.cpp
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm

  Log Message:
  -----------
  Cherry-pick 8da7b03ceb9e. rdar://141787428

    rdar://141787428 (J416s/24D34: Screen sharing pause button does not pause)

    Reviewed by Eric Carlson.

    After https://github.com/WebKit/WebKit/commit/a9b4b55, WebCore is only muting window capture using MediaProducerMutedState::WindowCaptureIsMuted.
    But WKPage SPI was only setting MediaProducerMutedState::ScreenCaptureIsMuted when trying to mute screen share.
    We would then end up muting only screen tracks and not window tracks.
    We update WKPage SPI and alos WKWebView SPI to also handle MediaProducerMutedState::WindowCaptureIsMuted and MediaProducerMutedState::SystemAudioCaptureIsMuted.

    Manually tested and covered by updated test.

    * Source/WebKit/UIProcess/API/C/WKPage.cpp:
    (WKPageSetMuted):
    * Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
    (-[WKWebView _setPageMuted:]):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:
    (TestWebKitAPI::TEST(WebKit2, GetDisplayMediaWindowAndScreenPrompt)):

    Canonical link: https://commits.webkit.org/283286.604@safari-7620-branch

Canonical link: https://commits.webkit.org/283286.609@safari-7620.2.4.111-branch


  Commit: 37aefe8d4a60509d5785b4fad3e2ca88dab1bd22
      https://github.com/WebKit/WebKit/commit/37aefe8d4a60509d5785b4fad3e2ca88dab1bd22
  Author: Dan Robson <dtr_bugzilla at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/C/WKPage.cpp
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm

  Log Message:
  -----------
  Revert 8da7b03ceb9e. rdar://141787428

This reverts commit 05ac7f80cb3401e45e43fc620e43105d69ec1816.

Canonical link: https://commits.webkit.org/283286.610@safari-7620.2.4.111-branch


  Commit: b6afae422199c852f47966c1fb415a7ee550d2d4
      https://github.com/WebKit/WebKit/commit/b6afae422199c852f47966c1fb415a7ee550d2d4
  Author: Mohsin Qureshi <mohsinq at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M Configurations/Version.xcconfig

  Log Message:
  -----------
  Versioning.

WebKit-7620.2.4.111.3

Canonical link: https://commits.webkit.org/283286.611@safari-7620.2.4.111-branch


  Commit: 93fcb1779c885338050557c8cea59678ae0f8a6e
      https://github.com/WebKit/WebKit/commit/93fcb1779c885338050557c8cea59678ae0f8a6e
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/CrossThreadTask.h
    M Source/WTF/wtf/TypeTraits.h

  Log Message:
  -----------
  Cherry-pick 0a6d878611ce. rdar://141997895

    Web content process crash in WebCore::Event::~Event
    rdar://141997895

    Reviewed by Chris Dumez.

    rdar://139782420 made IDBDatabase subclass ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr. However,
    createCrossThreadTask() does not capture RefPtr for derived classes of ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr.
    To fix it, make sure createCrossThreadTask() creates RefPtr when ref() member function is available.

    * Source/WTF/wtf/CrossThreadTask.h:
    (WTF::createCrossThreadTask):
    * Source/WTF/wtf/TypeTraits.h:

    Canonical link: https://commits.webkit.org/283286.605@safari-7620-branch


  Commit: 3817f0e8e2897f515b46baf72282ea6a5b1ea486
      https://github.com/WebKit/WebKit/commit/3817f0e8e2897f515b46baf72282ea6a5b1ea486
  Author: Timothy Hatcher <timothy at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCocoa.mm
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionDynamicScriptsCocoa.mm

  Log Message:
  -----------
  Cherry-pick 144dde143d3a. rdar://142452073

    Hang in +[NSString stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:].
    https://webkit.org/b/285533
    rdar://142452073

    Reviewed by Brian Weinstein.

    Use WebCore::TextResourceDecoder instead of +[NSString stringEncodingForData:].
    Also cache the result so detection only happens once, and avoids disk access when
    an extension is executing the same script over and over in many tabs.

    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCocoa.mm:
    (WebKit::WebExtension::resourceStringForPath): Use TextResourceDecoder.
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionDynamicScriptsCocoa.mm:
    (WebKit::WebExtensionDynamicScripts::sourcePairForResource): Cache the result.

    Canonical link: https://commits.webkit.org/283286.606@safari-7620-branch


  Commit: caab7a15bad9ae2e2e18d685e60851b6617bd6ec
      https://github.com/WebKit/WebKit/commit/caab7a15bad9ae2e2e18d685e60851b6617bd6ec
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/C/WKPage.cpp
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm

  Log Message:
  -----------
  Cherry-pick 8da7b03ceb9e. rdar://141787428

    rdar://141787428 (J416s/24D34: Screen sharing pause button does not pause)

    Reviewed by Eric Carlson.

    After https://github.com/WebKit/WebKit/commit/a9b4b55, WebCore is only muting window capture using MediaProducerMutedState::WindowCaptureIsMuted.
    But WKPage SPI was only setting MediaProducerMutedState::ScreenCaptureIsMuted when trying to mute screen share.
    We would then end up muting only screen tracks and not window tracks.
    We update WKPage SPI and alos WKWebView SPI to also handle MediaProducerMutedState::WindowCaptureIsMuted and MediaProducerMutedState::SystemAudioCaptureIsMuted.

    Manually tested and covered by updated test.

    * Source/WebKit/UIProcess/API/C/WKPage.cpp:
    (WKPageSetMuted):
    * Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
    (-[WKWebView _setPageMuted:]):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMediaWindowAndScreen.mm:
    (TestWebKitAPI::TEST(WebKit2, GetDisplayMediaWindowAndScreenPrompt)):

    Canonical link: https://commits.webkit.org/283286.604@safari-7620-branch


  Commit: 0125a49da3c763042cda1514317fc9c997b61f4d
      https://github.com/WebKit/WebKit/commit/0125a49da3c763042cda1514317fc9c997b61f4d
  Author: Mohsin Qureshi <mohsinq at apple.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    M Configurations/Version.xcconfig

  Log Message:
  -----------
  Versioning.

WebKit-7620.2.4.111.4

Canonical link: https://commits.webkit.org/283286.615@safari-7620.2.4.111-branch


  Commit: 9d24b4a333947a444a0fa723b25f72b83b9048a9
      https://github.com/WebKit/WebKit/commit/9d24b4a333947a444a0fa723b25f72b83b9048a9
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    A JSTests/wasm/stress/array-element-creation.js
    A JSTests/wasm/stress/resources/array-element-creation.wasm
    M Source/JavaScriptCore/wasm/WasmOperations.cpp
    M Source/JavaScriptCore/wasm/WasmOperationsInlines.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.cpp
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h

  Log Message:
  -----------
  Cherry-pick ac2bd207812a. rdar://141144921

    [JSC] WasmGC Array is broken for GC
    https://bugs.webkit.org/show_bug.cgi?id=285580
    rdar://141144921

    Reviewed by Keith Miller.

    WasmGC Array is broken for GC in multiple ways. We carefully reviewed WasmGC
    Array implementation. We found many issues, and this patch fixes them.

    1. Doing GC while putting GC values in FixedVector. That's totally
       wrong. We fixed it by first creating WasmGC Array and modifying the
       contents later.
    2. arrayNewElem is always creating I64 array, which is broken. We should
       create a specified typed array.
    3. WasmGC Array copy implementation is using std::copy even for
       overlapping region. That's totally wrong, and it should use memmove.
       For GC-ref-types, we should use gcSafeMemmove.

    * JSTests/wasm/stress/array-element-creation.js: Added.
    * JSTests/wasm/stress/resources/array-element-creation.wasm: Added.
    * Source/JavaScriptCore/wasm/WasmOperations.cpp:
    (JSC::Wasm::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
    * Source/JavaScriptCore/wasm/WasmOperationsInlines.h:
    (JSC::Wasm::fillArray):
    (JSC::Wasm::arrayNew):
    (JSC::Wasm::copyElementsInReverse):
    (JSC::Wasm::arrayNewFixed):
    (JSC::Wasm::createArrayFromDataSegment):
    (JSC::Wasm::arrayNewData):
    (JSC::Wasm::arrayNewElem):
    (JSC::Wasm::arrayInitElem):
    (JSC::Wasm::arrayInitData):
    (JSC::Wasm::createArrayValue): Deleted.
    (JSC::Wasm::createArrayFromElementSegment): Deleted.
    * Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.cpp:
    (JSC::JSWebAssemblyArray::JSWebAssemblyArray):
    (JSC::JSWebAssemblyArray::fill):
    (JSC::JSWebAssemblyArray::copy):
    (JSC::JSWebAssemblyArray::visitChildrenImpl):
    * Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.h:
    * Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp:
    (JSC::JSWebAssemblyInstance::copyDataSegment):
    (JSC::JSWebAssemblyInstance::copyElementSegment):
    * Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h:

    Canonical link: https://commits.webkit.org/283286.607@safari-7620-branch


  Commit: 0acbd363e3c2a860715479181dd911b7d19868c9
      https://github.com/WebKit/WebKit/commit/0acbd363e3c2a860715479181dd911b7d19868c9
  Author: Dan Robson <dtr_bugzilla at apple.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Configurations/Version.xcconfig

  Log Message:
  -----------
  Versioning.

WebKit-7620.2.4.111.5

Canonical link: https://commits.webkit.org/283286.617@safari-7620.2.4.111-branch


  Commit: 03c8b89388bbe03ff335380a54fb96b67d691cf4
      https://github.com/WebKit/WebKit/commit/03c8b89388bbe03ff335380a54fb96b67d691cf4
  Author: Mohsin Qureshi <mohsinq at apple.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Configurations/Version.xcconfig

  Log Message:
  -----------
  Versioning.

WebKit-7620.2.4.111.6

Canonical link: https://commits.webkit.org/283286.618@safari-7620.2.4.111-branch


  Commit: 20ba4b2a948b6b6017ab541585ff7032367b2e9a
      https://github.com/WebKit/WebKit/commit/20ba4b2a948b6b6017ab541585ff7032367b2e9a
  Author: Mohsin Qureshi <mohsinq at apple.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Configurations/Version.xcconfig

  Log Message:
  -----------
  Versioning.

WebKit-7620.2.4.111.7

Canonical link: https://commits.webkit.org/283286.619@safari-7620.2.4.111-branch


  Commit: eda108155fffa2ae7571f8d67c663117c07ac80c
      https://github.com/WebKit/WebKit/commit/eda108155fffa2ae7571f8d67c663117c07ac80c
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp

  Log Message:
  -----------
  Cherry-pick d2a4fe37e706. rdar://142713278

    Cherry-pick d1ea32844028. rdar://142713278

        [WASM] Fix Memory Leaks in Wasm::Table for JSWebAssemblyInstance
        https://bugs.webkit.org/show_bug.cgi?id=285766
        rdar://142702955

        Reviewed by Yijia Huang.

        JSWebAssemblyInstance::setTable stores a reference to Wasm::Table
        in an array of raw Wasm::Table pointers by leaking the references.
        Although the array contains raw pointers, these pointers are still
        reference-counted. Therefore, JSWebAssemblyInstance should properly
        manage their lifecycles by releasing the references when the instance
        is about to be destroyed.

        * Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp:
        (JSC::JSWebAssemblyInstance::~JSWebAssemblyInstance):


Compare: https://github.com/WebKit/WebKit/compare/2bfc396b6daa%5E...eda108155fff

To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list