[webkit-changes] [WebKit/WebKit] d7302a: Add fail() to correctly terminate deserialization

nmahendru noreply at github.com
Fri Jan 31 17:34:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7302a34b152023aebce0b75a0626d2138ca7026
      https://github.com/WebKit/WebKit/commit/d7302a34b152023aebce0b75a0626d2138ca7026
  Author: Nitin Mahendru <nitinmahendru at apple.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

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

  Log Message:
  -----------
  Add fail() to correctly terminate deserialization
https://bugs.webkit.org/show_bug.cgi?id=284558
rdar://140885860

Reviewed by Pascoe.

Just returning JSValue() will not stop the deserialization process.

* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneDeserializer::readTerminal):

Originally-landed-as: 283286.591 at safari-7620-branch (b31ed7f5f527). rdar://143592621
Canonical link: https://commits.webkit.org/289648@main



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