[webkit-changes] [WebKit/WebKit] 1f6283: [JSC] Handle int32 for `fromIndex` in `Array#lastI...

SUZUKI Sosuke noreply at github.com
Sun Jan 5 15:45:00 PST 2025


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

  Changed paths:
    M Source/JavaScriptCore/runtime/ArrayPrototype.cpp

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

Reviewed by Yusuke Suzuki.

This patch changes to handle int32 for `fromIndex` in
`Array#lastIndexOf`.

* Source/JavaScriptCore/runtime/ArrayPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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