Skip to content
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

Adjust a comment discussing transferred ArrayBuffers, to refer to those buffers being detached, not neutered (consistent with bug 1079844) #6934

Merged
merged 1 commit into from
Jan 28, 2016

Conversation

jswalden
Copy link
Contributor

This change makes the comment consistent with terminology used in the ECMAScript specification. (I made this change in mozilla-central yesterday for very nearly all other code in the tree, just cleaning up this imported loose end.)

Note that imgArray is a typed array, but the spec refers to detachment as a concept applicable to ArrayBuffer only. There is no special terminology to describe an ArrayBuffer view that views a detached buffer. Hence referring to imgArray's buffer being detached, not to imgArray itself being detached.

…e buffers being detached, not neutered. This change makes the comment consistent with terminology used in the ECMAScript specification.
yurydelendik added a commit that referenced this pull request Jan 28, 2016
Adjust a comment discussing transferred ArrayBuffers, to refer to those buffers being detached, not neutered
@yurydelendik yurydelendik merged commit 365bc99 into mozilla:master Jan 28, 2016
@yurydelendik
Copy link
Contributor

Thank you. Can you mention bug number in the PR title?

@jswalden jswalden changed the title Adjust a comment discussing transferred ArrayBuffers, to refer to those buffers being detached, not neutered Adjust a comment discussing transferred ArrayBuffers, to refer to those buffers being detached, not neutered (consistent with bug 1079844) Jan 28, 2016
@jswalden jswalden deleted the detach-terminology branch January 28, 2016 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants