[webkit-changes] [WebKit/WebKit] 7c1b98: [JSC] Resizable TypedArray should be [[PreventExte...

Yusuke Suzuki noreply at github.com
Tue Dec 17 21:42:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7c1b98e25a372bc826f4586b0f74d2d17bbbb1eb
      https://github.com/WebKit/WebKit/commit/7c1b98e25a372bc826f4586b0f74d2d17bbbb1eb
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M JSTests/stress/v8-typedarray-growablesharedarraybuffer.js
    M JSTests/stress/v8-typedarray-resizablearraybuffer.js
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayView.h
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewInlines.h

  Log Message:
  -----------
  [JSC] Resizable TypedArray should be [[PreventExtensions]] = true
https://bugs.webkit.org/show_bug.cgi?id=284854
rdar://141646666

Reviewed by Yijia Huang.

Applying the change in the spec[1]. Resizable TypedArray should be
[[PreventExtensions]] = true.

[1]: https://github.com/tc39/ecma262/pull/3453

* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/JSGenericTypedArrayView.h:
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewInlines.h:
(JSC::JSGenericResizableOrGrowableSharedTypedArrayView<PassedAdaptor>::preventExtensions):

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