Ignore:
Timestamp:
Oct 7, 2020, 5:59:36 PM (5 years ago)
Author:
Ross Kirsling
Message:

[JSC] Revert String.prototype.item
https://bugs.webkit.org/show_bug.cgi?id=217449

Reviewed by Yusuke Suzuki.

JSTests:

  • stress/item-method.js:
  • test262/config.yaml:

Source/JavaScriptCore:

This patch reverts the String part of r267814, as it has been shown to be web-incompatible:
https://github.com/tc39/proposal-item-method/issues/31

Thankfully, this was the inessential part of the proposal; the core parts (Array and %TypedArray%) remain for now.

  • builtins/StringPrototype.js:

(item): Deleted.

  • runtime/StringPrototype.cpp:

LayoutTests:

  • js/Object-getOwnPropertyNames-expected.txt:
  • js/script-tests/Object-getOwnPropertyNames.js:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r268163 r268165  
     12020-10-07  Ross Kirsling  <[email protected]>
     2
     3        [JSC] Revert String.prototype.item
     4        https://bugs.webkit.org/show_bug.cgi?id=217449
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        This patch reverts the String part of r267814, as it has been shown to be web-incompatible:
     9        https://github.com/tc39/proposal-item-method/issues/31
     10
     11        Thankfully, this was the inessential part of the proposal; the core parts (Array and %TypedArray%) remain for now.
     12
     13        * builtins/StringPrototype.js:
     14        (item): Deleted.
     15        * runtime/StringPrototype.cpp:
     16
    1172020-10-07  Keith Rollin  <[email protected]>
    218
Note: See TracChangeset for help on using the changeset viewer.