Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d422a6fcc24e61e7658143c78928f8c0c08f02cf
      
https://github.com/WebKit/WebKit/commit/d422a6fcc24e61e7658143c78928f8c0c08f02cf
  Author: Shu-yu Guo <[email protected]>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    A JSTests/stress/string-replace-one-char-rope-exception-check.js
    M Source/JavaScriptCore/runtime/StringPrototypeInlines.h

  Log Message:
  -----------
  [JSC] String replace should release throw scope
https://bugs.webkit.org/show_bug.cgi?id=314023
rdar://176130767

Reviewed by Mark Lam.

This PR fixes a bug where the call to tryReplaceOneCharUsingString succeeding
does not release the throw scope.

Test: JSTests/stress/string-replace-one-char-rope-exception-check.js

* JSTests/stress/string-replace-one-char-rope-exception-check.js: Added.
* Source/JavaScriptCore/runtime/StringPrototypeInlines.h:
(JSC::replace):

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



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

Reply via email to