Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18a2c9a100339a481f66b34216c9a4f04314cc1f
      
https://github.com/WebKit/WebKit/commit/18a2c9a100339a481f66b34216c9a4f04314cc1f
  Author: Vignesh Rao <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

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

  Log Message:
  -----------
  replaceAllWithCacheUsingRegExpSearchThreeArguments fails to throw exception 
in string resolution
https://bugs.webkit.org/show_bug.cgi?id=310901
rdar://173300626

Reviewed by Keith Miller.

String resolution in replaceAllWithCacheUsingRegExpSearchThreeArguments can
OOM and set an exception. Hence we should check for exception after the
resolution finishes.

* Source/JavaScriptCore/runtime/StringPrototypeInlines.h:
(JSC::replaceAllWithCacheUsingRegExpSearchThreeArguments):

Originally-landed-as: 305413.612@rapid/safari-7624.2.5.110-branch 
(967ea3fc3a3a).
rdar://176061719
Canonical link: 
https://flagged.apple.com:443/proxy?t2=Dw3n0k9Ge3&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE0MDA4QG1haW4=&emid=1e9c6fa6-8030-4125-855f-0a217365ee16&c=11



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

Reply via email to