Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dbbd8ca44890f3782c67981da77332a0ba6090a9
      
https://github.com/WebKit/WebKit/commit/dbbd8ca44890f3782c67981da77332a0ba6090a9
  Author: Alex Christensen <[email protected]>
  Date:   2026-01-30 (Fri, 30 Jan 2026)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/TextExtractionTests.mm

  Log Message:
  -----------
  Encode frame identifier when sending _WKJSHandle over _WKRemoteObjectRegistry
https://bugs.webkit.org/show_bug.cgi?id=306626
rdar://169285883

Reviewed by Ryosuke Niwa.

I'm still trying to keep it minimal and only simple types, but we need
jsHandleIdentifierInFrame to work, so we need the frame identifier.
I also shorten the keys that are used for encoding and decoding to remove
unnecessary performance overhead just for fun.

Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/TextExtractionTests.mm

* Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.mm:
(-[_WKJSHandle initWithCoder:]):
(-[_WKJSHandle encodeWithCoder:]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/TextExtractionTests.mm:
(TestWebKitAPI::TEST(TextExtractionTests, InjectedBundle)):

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



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

Reply via email to