-
Notifications
You must be signed in to change notification settings - Fork 22.8k
FF89 large ArrayBuffers #4470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FF89 large ArrayBuffers #4470
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; thanks @hamishwillee !
* upstream/main: Fix some typos: (mdn#4620) Fix information for fullscreenchange event (mdn#4603) FF89 large ArrayBuffers (mdn#4470) fix: HTML Validation issues (mdn#4612) Make warnings consistent in the JS docs (mdn#4609) fixed typo (mdn#4617) chore(deps): bump @mdn/yari from 0.4.412 to 0.4.413 (mdn#4616) chore(deps): bump technote-space/get-diff-action from v4.0.6 to v4.1.1 (mdn#4615)
<p>The maximum allowed array length depends on the platform, browser and browser version. For {{jsxref("Array")}} the maximum length is 2GB-1 (2^32-1). For {{jsxref("ArrayBuffer")}} the maximum is 2GB-1 on 32-bit systems (2^32-1). From Firefox version 89 the maximum value of {{jsxref("ArrayBuffer")}} is 8GB on 64-bit systems (2^33).</p> | ||
|
||
<div class="notecard note"> | ||
<p><strong>Note:</strong> <code>Array</code> and <code>ArrayBuffer</code> are independent data structures (the implementation of one does not affect the other)..</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Double period at the end of this sentence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lars-t-hansen - fixed by #4665 . Appreciate the review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks plausible to me, modulo not.
This is partial fix for #4314.
This is in draft because still clarifying the inconsistency in the invalid array length docs.