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

Add support for deflate-raw and check for trailing or incomplete data in Compression Streams #398

Merged
merged 2 commits into from
Feb 24, 2023

Conversation

fhanau
Copy link
Collaborator

@fhanau fhanau commented Feb 23, 2023

With deflate-raw, we have all required data formats for the current Compression Streams API version. Also see the eponymous internal branch.

@jasnell
Copy link
Member

jasnell commented Feb 23, 2023

LGTM but internal CI and tests are needed.

Abirhasan4 referenced this pull request Feb 24, 2023
Add `workerd test` for running unit tests under workerd
@fhanau
Copy link
Collaborator Author

fhanau commented Feb 24, 2023

All tests pass here and on the internal branch after rebasing, also adjusted a comment since the API does mandate an error when there is trailing data during decompression, including for deflate-raw.

@fhanau fhanau merged commit 44907df into main Feb 24, 2023
@fhanau
Copy link
Collaborator Author

fhanau commented Feb 24, 2023

Test cases have been added on the internal PR.

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