Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69afdfb845abf70ee69e6ed23d2e0c1105efb9f2
      
https://github.com/WebKit/WebKit/commit/69afdfb845abf70ee69e6ed23d2e0c1105efb9f2
  Author: Zak Ridouh <[email protected]>
  Date:   2026-09-03 (Thu, 03 Sep 2026)

  Changed paths:
    M Source/WebCore/bindings/js/SerializedScriptValue.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/SerializedScriptValue.cpp

  Log Message:
  -----------
  CloneDeserializer should assert it is only used in the WebContent process
https://bugs.webkit.org/show_bug.cgi?id=308061
rdar://170558786

Reviewed by David Kilzer.

Add ASSERT_WITH_SECURITY_IMPLICATION(isInWebProcess()) to
CloneDeserializer::deserialize() to ensure deserialization of
SerializedScriptValue only happens in the WebContent process.

* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneDeserializer::deserialize):
* Tools/TestWebKitAPI/Tests/WebCore/SerializedScriptValue.cpp:
(TestWebKitAPI::TEST(WebCore, SerializedScriptValueDeserializeInWebProcess)):
(TestWebKitAPI::TEST(WebCoreDeathTest, 
SerializedScriptValueDeserializeInNetworkProcess)):

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



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

Reply via email to