Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f24332bd532094fd66a80a6c36445199db04144
      
https://github.com/WebKit/WebKit/commit/5f24332bd532094fd66a80a6c36445199db04144
  Author: Keita Nonaka <[email protected]>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/builtins/RegExpPrototype.js

  Log Message:
  -----------
  [JSC] Fix Trace Behavior of `RegExp.prototype[%Symbol.split%]` to Align with 
ECMA-262
https://bugs.webkit.org/show_bug.cgi?id=305277

Reviewed by Yusuke Suzuki.

This patch fixes trace behavior of `RegExp.prototype[%Symbol.split%]`
by calling `matches.length` once instead of twice to Align with ECMA-262 [1].

[1]: https://tc39.es/ecma262/#sec-regexp.prototype-%symbol.split%

* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/builtins/RegExpPrototype.js:
(overriddenName.string_appeared_here.split):

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



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

Reply via email to