Repository navigation
src: migrate off ArrayBufferView::Buffer() - #67733
Open
legendecas wants to merge 3 commits into
Open
legendecas wants to merge 3 commits into
legendecas wants to merge 3 commits into
Conversation
V8 16.0 removes `ArrayBufferView::Buffer()`. Use `GetBuffer()` instead, which is already available in V8 15.8. Refs: https://crrev.com/c/8794471 Co-Authored-By: Clemens Backes <post@clemens-backes.de> Co-Authored-By: Joyee Cheung <joyeec9h3@gmail.com> Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
Collaborator
|
Review requested:
|
Member
Author
|
v27.x may get #67070 during Alpha stage so I did not mark this as |
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
araujogui
approved these changes
Nov 23, 2026
vmoroz
approved these changes
Nov 23, 2026
Collaborator
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #67733 +/- ##
==========================================
- Coverage 90.55% 90.52% -0.03%
==========================================
Files 801 803 +2
Lines 284215 285060 +845
Branches 54883 55001 +118
==========================================
+ Hits 257358 258062 +704
- Misses 17014 17148 +134
- Partials 9843 9850 +7
🚀 New features to boost your workflow:
|
Ethan-Arrowood
approved these changes
Nov 23, 2026
Contributor
|
My agent claims you missed one: https://github.com/legendecas/node/blob/0f70c2d2eee1851ef00e0c73f972ada318547e0f/benchmark/napi/function_args/binding.cc#L107 Its in benchmark so I don't think it'd be a big issue but probably worth fixing |
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
Member
Author
|
@Ethan-Arrowood thanks, fixed! |
Ethan-Arrowood
approved these changes
Nov 23, 2026
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
V8 16.0 removes
ArrayBufferView::Buffer(). UseGetBuffer()instead,which is already available in V8 15.8.
Took the commit from the canary-base and added DCHECKs on API assumptions.
Refs: https://crrev.com/c/8794471