-
Notifications
You must be signed in to change notification settings - Fork 168
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
Add tests for ArrayBuffer detaching that throws and account for it in prose #1861
Comments
I've done related work in the past, taking this. |
Text needs to be updated for v1. Setting milestone to v1 for that. |
For example, the step 2 of the algorithm for |
For the |
Guaranteed not to be detachable I take it? |
No, this was correct:
|
Fixed by #1961. |
As per whatwg/html#4601 DetachArrayBuffer can throw. There should be tests that this is handled adequately for all affected APIs (seem to be at least two from super quick skimming) and prose might need to be adjusted to indicate this is a thing. You might want to look at HTML for how this is handled.
Or perhaps IDL should be updated to handle this better somehow, not sure, but if so, comment at whatwg/webidl#724.
The text was updated successfully, but these errors were encountered: