[webkit-changes] [WebKit/WebKit] 43eed3: [JSC] Set.prototype methods should invoke keys() w...

Commit Queue noreply at github.com
Sun Oct 6 19:46:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 43eed397118c9bc94293f17d9d4e272f79f478ab
      https://github.com/WebKit/WebKit/commit/43eed397118c9bc94293f17d9d4e272f79f478ab
  Author: Alexey Shvayka <ashvayka at apple.com>
  Date:   2024-10-06 (Sun, 06 Oct 2024)

  Changed paths:
    M JSTests/stress/set-prototype-difference.js
    M JSTests/stress/set-prototype-intersection.js
    M JSTests/stress/set-prototype-isDisjointfrom.js
    M JSTests/stress/set-prototype-isSupersetOf.js
    M JSTests/stress/set-prototype-symmetricDifference.js
    M JSTests/stress/set-prototype-union.js
    M Source/JavaScriptCore/builtins/SetPrototype.js

  Log Message:
  -----------
  [JSC] Set.prototype methods should invoke keys() without arguments
https://bugs.webkit.org/show_bug.cgi?id=280952
<rdar://problem/137395979>

Reviewed by Keith Miller.

This change aligns JSC with the spec [1], V8, and SpiderMonkey.

[1]: https://tc39.es/ecma262/#sec-getiteratorfrommethod (step 1)

* JSTests/stress/set-prototype-difference.js:
* JSTests/stress/set-prototype-intersection.js:
* JSTests/stress/set-prototype-isDisjointfrom.js:
* JSTests/stress/set-prototype-isSupersetOf.js:
* JSTests/stress/set-prototype-symmetricDifference.js:
* JSTests/stress/set-prototype-union.js:
* Source/JavaScriptCore/builtins/SetPrototype.js:

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