Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1b67131e8c4cac7b2ad8b386685158e83bac3489
      
https://github.com/WebKit/WebKit/commit/1b67131e8c4cac7b2ad8b386685158e83bac3489
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-03-19 (Thu, 19 Mar 2026)

  Changed paths:
    M Source/JavaScriptCore/builtins/TypedArrayPrototype.js
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h
    M Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/MemoryFootprintThreshold.mm

  Log Message:
  -----------
  Unreviewed, revert 297750@main
https://bugs.webkit.org/show_bug.cgi?id=310056
rdar://172700945

Now callWithArguments support up to 6 arguments. This covers enough for
reduce / reduceRight use. Also callWithArguments is supported in x64
too, which is the original reason of test timeout environment.

But still, debug build is slow because C++ gets slower while JS does not
get affected with debug build configuration. We use fill function
instead of reduce for the debug api test.

Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/MemoryFootprintThreshold.mm

* Source/JavaScriptCore/builtins/TypedArrayPrototype.js:
(reduce): Deleted.
(reduceRight): Deleted.
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
(JSC::genericTypedArrayViewProtoFuncReduce):
(JSC::genericTypedArrayViewProtoFuncReduceRight):
* Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::JSTypedArrayViewPrototype::finishCreation):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/MemoryFootprintThreshold.mm:
(touchBytes):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to