-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Normative: Remove detached array buffer check prior to calling CloneArrayBuffer #1009
Conversation
…rrayBuffer This aligns the detached array buffer checks in step 18 and 19 of 22.2.4.3. Fixes tc39#1002
It looks like this only affects the ordering of detached buffer errors and errors from running out of memory. Is that right? If so, this seems like a good idea. If I'm understanding things right, this would be pretty difficult to write a reliable test for (which size buffer will run out of memory when you clone it?) so I think we should waive the testing requirement here. |
I can create a test for test262 based on the example code in #1002. |
Is there anything holding back this PR landing? |
The change is also implemented in Firefox Nightly and will ship in Firefox 60 (https://bugzilla.mozilla.org/show_bug.cgi?id=1423878). |
14fc9d4
to
d0d31dc
Compare
This aligns the detached array buffer checks in step 18 and 19 of 22.2.4.3.
Fixes #1002