-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Merged by Bors] - Change ArrayBuffer
byteLength
to accessor property
#2010
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2010 +/- ##
=======================================
Coverage 45.89% 45.90%
=======================================
Files 206 206
Lines 17150 17152 +2
=======================================
+ Hits 7871 7873 +2
Misses 9279 9279
Continue to review full report at Codecov.
|
VM implementation
Fixed tests (42):
|
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 good to me :)
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! Looks good :)
bors r+ |
This Pull Request fixes `byteLength` for `ArrayBuffer`. It should be an accessor property rather than a method, per the spec. It changes the following: - Removes `byteLength` method for `ArrayBuffer` built-in. - Add `byteLength` accessor property for `ArrayBuffer`. - Change `byte_length` function name to `get_byte_length`, to match other function names used for accessor properties.
Pull request successfully merged into main. Build succeeded: |
ArrayBuffer
byteLength
to accessor propertyArrayBuffer
byteLength
to accessor property
This Pull Request fixes `byteLength` for `ArrayBuffer`. It should be an accessor property rather than a method, per the spec. It changes the following: - Removes `byteLength` method for `ArrayBuffer` built-in. - Add `byteLength` accessor property for `ArrayBuffer`. - Change `byte_length` function name to `get_byte_length`, to match other function names used for accessor properties.
This Pull Request fixes
byteLength
forArrayBuffer
. It should be an accessor property rather than a method, per the spec.It changes the following:
byteLength
method forArrayBuffer
built-in.byteLength
accessor property forArrayBuffer
.byte_length
function name toget_byte_length
, to match other function names used for accessor properties.