-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix the rest of node:buffer #15722
Draft
nektro
wants to merge
50
commits into
main
Choose a base branch
from
nektro-patch-52129
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+6,304
−498
Draft
fix the rest of node:buffer #15722
Changes from 43 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
2a1a431
fix test-buffer-zero-fill-cli.js
nektro 2699eda
fix test-buffer-alloc.js
nektro 5d00fcd
fix test-buffer-bytelength.js
nektro 975a339
fix test-buffer-compare.js
nektro b2077dd
fix test-buffer-concat.js
nektro fde51e7
fix test-buffer-constants.js
nektro 0168fa8
fix test-buffer-copy.js
nektro 158c581
fix test-buffer-equals.js
nektro 7535c58
fix test-buffer-fill.js
nektro 814ac87
fix test-buffer-writeuint.js
nektro ba777b8
fix test-buffer-writeint.js
nektro bdb9772
fix test-buffer-writefloat.js
nektro 8a9b9f5
fix test-buffer-writedouble.js
nektro 28a7c40
fix test-buffer-write.js
nektro eef6fc8
fix test-buffer-readuint.js
nektro 89795bf
fix test-buffer-readint.js
nektro 237e4df
fix test-buffer-readfloat.js
nektro 5b650bc
fix test-buffer-readdouble.js
nektro f108c3c
fix test-buffer-read.js
nektro ba86ff1
fix test-buffer-new.js
nektro db74f9c
fix test-buffer-bigint64.js
nektro af0fd9d
fix test-buffer-backing-arraybuffer.js
nektro 3f810a3
fix test-buffer-arraybuffer.js
nektro 72e5b7e
fixed correctness issue in ERR_INVALID_ARG_TYPE
nektro 8fd46d4
fix regression
nektro 3b3c29e
add scripts/check-node-all.sh
nektro d13a47f
fix regressions
nektro d56586e
fix test-buffer-badhex.js
nektro d45c4d8
fix test-buffer-from.js
nektro d0eb4a6
fix test-buffer-sharedarraybuffer.js
nektro 58b7515
move main impl of Buffer.from back to JSBufferConstructor
nektro 3778be8
misc fixes
nektro 7a911c1
Merge remote-tracking branch 'origin/main' into nektro-patch-52129
nektro 9dff935
Merge remote-tracking branch 'origin/main' into nektro-patch-52129
nektro 18b2969
fix test-stream-unshift-empty-chunk.js regression
nektro 1cf31b8
webkit upgrade for test-buffer-alloc.js
nektro e49cc4d
fix test-buffer-indexof.js
nektro 15c4304
fix test-buffer-includes.js
nektro eeb2803
fix includes on linux, memmem on macos isn't posix compliant
nektro b692263
fix windows build
nektro 4a332e6
fix linux x64
nektro befcab8
cleaner name
nektro 48eff0f
share implementation
nektro 37d3472
these commented tests are fixed
nektro 4d49408
only read getters once
nektro fc3a95d
dont create JSString for ASCIILiteral
nektro 9201b88
address comments
nektro 8b17029
dont create JSString for ASCIILiteral
nektro ab1e149
Merge branch 'main' into nektro-patch-52129
Jarred-Sumner c052ebf
Merge branch 'main' into nektro-patch-52129
nektro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
i=0 | ||
j=0 | ||
|
||
for x in $(find test/js/node/test/parallel -type f -name "test-$1*.js") | ||
do | ||
i=$((i+1)) | ||
echo ./$x | ||
if timeout 2 $PWD/build/debug/bun-debug ./$x | ||
then | ||
j=$((j+1)) | ||
fi | ||
echo | ||
done | ||
|
||
echo $i tests tested | ||
echo $j tests passed |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
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.
I assuming that is fine to ignore this exception