[webkit-changes] [WebKit/WebKit] d0ee61: [JSC] Implement Set.prototype.difference

Ross Kirsling noreply at github.com
Tue Feb 28 07:44:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d0ee6166ed77e30df02233eb175d02a9db59a117
      https://github.com/WebKit/WebKit/commit/d0ee6166ed77e30df02233eb175d02a9db59a117
  Author: Ross Kirsling <ross.kirsling at sony.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    A JSTests/stress/set-prototype-difference.js
    M Source/JavaScriptCore/builtins/SetPrototype.js
    M Source/JavaScriptCore/runtime/SetPrototype.cpp

  Log Message:
  -----------
  [JSC] Implement Set.prototype.difference
https://bugs.webkit.org/show_bug.cgi?id=253060

Reviewed by Keith Miller.

260033 at main implemented six of seven methods in the Stage 3 proposal https://github.com/tc39/proposal-set-methods;
this PR implements the last one, Set.prototype.difference.

* JSTests/stress/set-prototype-difference.js: Added.
* Source/JavaScriptCore/builtins/SetPrototype.js:
* Source/JavaScriptCore/runtime/SetPrototype.cpp:
(JSC::SetPrototype::finishCreation):

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




More information about the webkit-changes mailing list