[webkit-changes] [WebKit/WebKit] 83cd48: [JSC] Update TypedArray#sort to the latest resizab...

Yusuke Suzuki noreply at github.com
Wed Oct 18 03:03:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 83cd4815461ded88abde632e1530423199a4afe9
      https://github.com/WebKit/WebKit/commit/83cd4815461ded88abde632e1530423199a4afe9
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M JSTests/test262/config.yaml
    M Source/JavaScriptCore/builtins/TypedArrayPrototype.js

  Log Message:
  -----------
  [JSC] Update TypedArray#sort to the latest resizable array buffer spec
https://bugs.webkit.org/show_bug.cgi?id=263311
rdar://117121720

Reviewed by Alexey Shvayka.

This patch updates TypedArray#sort to align to the latest spec.
We should not get the length again. This is observable in resizable array buffer.
This patch also enables resizable array buffer test262 tests inside staging directory.

* JSTests/test262/config.yaml:
* Source/JavaScriptCore/builtins/TypedArrayPrototype.js:
(linkTimeConstant.typedArrayMergeSort):

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




More information about the webkit-changes mailing list