| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This also updates `ERR_MEMORY_ALLOCATION_FAILED` to be a RangeError, aligning with V8's OutOfMemory error type.
Codecov Report❌ Patch coverage is 25.00000% with 24 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #61480 +/- ##
==========================================
+ Coverage 89.85% 89.86% +0.01%
==========================================
Files 665 665
Lines 203290 203309 +19
Branches 39081 39088 +7
==========================================
+ Hits 182667 182710 +43
+ Misses 12977 12945 -32
- Partials 7646 7654 +8
... and 37 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you!
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
This also updates `ERR_MEMORY_ALLOCATION_FAILED` to be a RangeError, aligning with V8's OutOfMemory error type. PR-URL: #61480 Refs: https://github.com/nodejs/node/blob/c755b0113ce0cb6d83baf2cf070ba381a5673db2/deps/v8/src/builtins/builtins-typed-array.cc#L584 Refs: https://tc39.es/ecma262/#sec-sharedarraybuffer.prototype.grow Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This also updates `ERR_MEMORY_ALLOCATION_FAILED` to be a RangeError, aligning with V8's OutOfMemory error type. PR-URL: #61480 Refs: https://github.com/nodejs/node/blob/c755b0113ce0cb6d83baf2cf070ba381a5673db2/deps/v8/src/builtins/builtins-typed-array.cc#L584 Refs: https://tc39.es/ecma262/#sec-sharedarraybuffer.prototype.grow Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This also updates `ERR_MEMORY_ALLOCATION_FAILED` to be a RangeError, aligning with V8's OutOfMemory error type. PR-URL: #61480 Refs: https://github.com/nodejs/node/blob/c755b0113ce0cb6d83baf2cf070ba381a5673db2/deps/v8/src/builtins/builtins-typed-array.cc#L584 Refs: https://tc39.es/ecma262/#sec-sharedarraybuffer.prototype.grow Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
* chore: bump node in DEPS to v24.14.0 * lib: prefer call() over apply() if argument list is not array nodejs/node#60796 * build,deps: replace cjs-module-lexer with merve nodejs/node#61456 * chore: fixup patch indices * test: use fixture directories for sea tests nodejs/node#61167 * src: throw RangeError on failed ArrayBuffer BackingStore allocation nodejs/node#61480 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
| Back | FazBrowse Home | New Git URL |
This also updates ERR_MEMORY_ALLOCATION_FAILED to be a RangeError,
aligning with V8's OutOfMemory error type and ECMAScript's OutOfMemory
error type.
There are still many call sites in crypto, tls and quic need to be reviewed
to properly handle the failed ArrayBuffer BackingStore allocation. This
PR updates call sites not in these modules.
Refs:
node/deps/v8/src/builtins/builtins-typed-array.cc
Line 584 in c755b01
Refs: https://tc39.es/ecma262/#sec-sharedarraybuffer.prototype.grow
Refs: #61403 (comment)