Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e711a8e48a49a21b09ae87411784c8f5ff791b8c
      
https://github.com/WebKit/WebKit/commit/e711a8e48a49a21b09ae87411784c8f5ff791b8c
  Author: Shu-yu Guo <s...@apple.com>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/StringPrototypeInlines.h

  Log Message:
  -----------
  [JSC] Throw instead of crash on OOM in String.prototype.replace

https://bugs.webkit.org/show_bug.cgi?id=297157
rdar://157756412

Reviewed by Yusuke Suzuki and Sosuke Suzuki.

Change String.prototype.replace to not crash on OOM. Where possible, OOMs
should be thrown as JS exceptions and not hard crash the process for a better
UX.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to