[webkit-changes] [WebKit/WebKit] 4b8442: [JSC] `RegExp.prototype[Symbol.matchAll]` should r...

SUZUKI Sosuke noreply at github.com
Sat Apr 6 07:16:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b84428a953560574a27b3881ac06dc43ea42651
      https://github.com/WebKit/WebKit/commit/4b84428a953560574a27b3881ac06dc43ea42651
  Author: Sosuke Suzuki <sosuke.suzuki at dr-ubie.com>
  Date:   2024-04-06 (Sat, 06 Apr 2024)

  Changed paths:
    A JSTests/stress/regexp-prototype-matchall-v-flag.js
    M Source/JavaScriptCore/builtins/RegExpPrototype.js

  Log Message:
  -----------
  [JSC] `RegExp.prototype[Symbol.matchAll]` should respect `v` flag
https://bugs.webkit.org/show_bug.cgi?id=272274

Reviewed by Alexey Shvayka.

This patch changes RegExp.prototype[Symbol.matchAll] to respect the `v` flag as well as the `u` flag.

* JSTests/stress/regexp-prototype-matchall-v-flag.js: Added.
(assertSameArray):
(doMatchAll):
* Source/JavaScriptCore/builtins/RegExpPrototype.js:
(overriddenName.string_appeared_here.matchAll):

Canonical link: https://commits.webkit.org/277160@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