Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0cf717329d93ead523de9965cdb155269bf8a802
https://github.com/WebKit/WebKit/commit/0cf717329d93ead523de9965cdb155269bf8a802
Author: Yusuke Suzuki <[email protected]>
Date: 2025-06-17 (Tue, 17 Jun 2025)
Changed paths:
A JSTests/stress/typed-array-filter-oom.js
M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h
Log Message:
-----------
[JSC] Throw OOM error when input typed array for filter is too large
https://bugs.webkit.org/show_bug.cgi?id=294647
rdar://153523050
Reviewed by Sosuke Suzuki.
Use tryReserveInitialCapacity to gracefully throw an OOM error when it
is too large.
* JSTests/stress/typed-array-filter-oom.js: Added.
(f1.f3):
(f1):
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
(JSC::genericTypedArrayViewProtoFuncFilter):
Canonical link: https://commits.webkit.org/296353@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes