Skip to content

Conversation

@dylan-conway
Copy link
Member

@dylan-conway dylan-conway commented Apr 24, 2025

What does this PR do?

Throws DOM exceptions for missing argument or if the argument isn't a buffer. Does not throw errors for buffers larger than 65kb or float buffers

How did you verify your code works?

@robobun
Copy link
Collaborator

robobun commented Apr 24, 2025

Updated 12:02 PM PT - May 8th, 2025

@dylan-conway, your commit 9ad90e0f201704feef774c0f05e0b98b30f2d6be passed in Build #16286! 🎉


🧪   To try this PR locally:

bunx bun-pr 19264

That installs a local version of the PR into your bun-19264 executable, so you can run:

bun-19264 --bun

Copy link
Collaborator

@Jarred-Sumner Jarred-Sumner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The validation for < 65 KB is breaking and unnecessary. I vote we skip that.

@dylan-conway
Copy link
Member Author

The validation for < 65 KB is breaking and unnecessary. I vote we skip that.

Removed the limit

@dylan-conway dylan-conway requested review from a team and Jarred-Sumner and removed request for a team April 25, 2025 22:54
cirospaciari
cirospaciari previously approved these changes May 5, 2025
Copy link
Contributor

@nektro nektro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you rerun ci before i approve? thats quite a few windows failures

@Jarred-Sumner Jarred-Sumner merged commit ec865e3 into main May 10, 2025
62 checks passed
@Jarred-Sumner Jarred-Sumner deleted the dylan/fix-test-webcrypto-random branch May 10, 2025 01:09
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.

6 participants