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

Update forked repo #3

Merged
merged 2 commits into from
Dec 2, 2020
Merged

Update forked repo #3

merged 2 commits into from
Dec 2, 2020

Conversation

nidhijaju
Copy link
Owner

No description provided.

nidhijaju and others added 2 commits December 1, 2020 19:16
…amController

Throw an exception in SetUpReadableByteStreamController if autoAllocateChunkSize is zero.

Fixes #1089.
This throws the exception only from
SetUpReadableByteStreamControllerFromUnderlyingSource, i.e. from parts
of the spec reached by arbitrary web-developer provided values, instead
of from SetUpReadableByteStreamController, which is deeper in.

Then, we can assert that by the time the value reaches
SetUpReadableByteStreamController, it's positive. This makes any other
specs doing the wrong thing into assertion failures, reserving thrown
exceptions for web-developer provided zeros.
@nidhijaju nidhijaju merged commit f423409 into nidhijaju:master Dec 2, 2020
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