[webkit-changes] [WebKit/WebKit] 2dca48: [JSC] Handle int32 for `deleteCount` in `Array#spl...

SUZUKI Sosuke noreply at github.com
Sun Jan 12 22:15:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2dca48e9c67c719d2c061c4d4584d830b5a394a6
      https://github.com/WebKit/WebKit/commit/2dca48e9c67c719d2c061c4d4584d830b5a394a6
  Author: Sosuke Suzuki <aosukeke at gmail.com>
  Date:   2025-01-12 (Sun, 12 Jan 2025)

  Changed paths:
    A JSTests/stress/array-prototype-splice-deleteCount-not-int32.js
    M Source/JavaScriptCore/runtime/ArrayPrototype.cpp

  Log Message:
  -----------
  [JSC] Handle int32 for `deleteCount` in `Array#splice`
https://bugs.webkit.org/show_bug.cgi?id=285581

Reviewed by Yusuke Suzuki.

This patch changes to handle int32 for `deleteCount` in
`Array#splice`.

* Source/JavaScriptCore/runtime/ArrayPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* JSTests/stress/array-prototype-splice-deleteCount-not-int32.js: Added.

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