-
Notifications
You must be signed in to change notification settings - Fork 180
Integrate with the resizable buffers proposal #982
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
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 with minor nits
Looks good to me as well. (I still think we need to do #961 (comment), but that doesn't really influence this I think.) |
Agree, if SABs get their own IDL type, [AllowResizable] will compose with that type as well. |
@syg I noticed resizable buffers is at stage 3. And, this is probably worth landing since it helps prohibit resizable buffers from making their way into Web APIs that don't expect them. Should we merge? |
Good call, this had fallen off my radar. I'll remove the draft label. |
This commit adds the [AllowResizable] extended attribute, which allow BufferSources to take resizable buffers. It composes with [AllowShared] in the obvious way. The default behavior is unchanged, with only fixed-length buffers allowed. Proposal link: https://github.com/tc39/proposal-resizablearraybuffer
45168db
to
51bc49a
Compare
Implements the [AllowResizable] attribute introduced in whatwg/webidl#982.
This commit adds the [AllowResizable] extended attribute, which allow
BufferSources to take resizable buffers. It composes with [AllowShared]
in the obvious way. The default behavior is unchanged, with only
fixed-length buffers allowed.
Proposal link: https://github.com/tc39/proposal-resizablearraybuffer
💥 Error: 500 Internal Server Error 💥
PR Preview failed to build. (Last tried on Aug 12, 2021, 7:12 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
🚨 CSS Spec Preprocessor - CSS Spec Preprocessor is the web service used to build Bikeshed specs.
🔗 Related URL
If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.