Skip to content

Conversation

@JakeChampion
Copy link
Contributor

No description provided.

@JakeChampion JakeChampion requested a review from elliottt July 31, 2024 16:22
@JakeChampion JakeChampion force-pushed the jake/chunk branch 5 times, most recently from 0e88fd6 to b060211 Compare July 31, 2024 20:13
@JakeChampion JakeChampion requested a review from guybedford July 31, 2024 20:13
@JakeChampion JakeChampion force-pushed the jake/chunk branch 2 times, most recently from ae31b9e to b762575 Compare August 1, 2024 13:23
@JakeChampion JakeChampion changed the title perf: check for invalid chunk size after we have tried to read from the body and failed to do so fix: ensure we throw an error if FastlyBody.prototype.read is called with a value which is not coercible to a finite positive integer Aug 1, 2024
@JakeChampion JakeChampion enabled auto-merge (squash) August 1, 2024 13:24
MSG_DEF(JSMSG_TEXT_DECODER_DECODE_OPTIONS_NOT_DICTIONARY, 0, JSEXN_TYPEERR, "TextDecoder.decode: options argument can't be converted to a dictionary.")
MSG_DEF(JSMSG_TEXT_ENCODER_ENCODEINTO_INVALID_ARRAY, 0, JSEXN_TYPEERR, "TextEncoder.encodeInto: Argument 2 does not implement interface Uint8Array.")
MSG_DEF(JSMSG_SIMPLE_CACHE_SET_CONTENT_STREAM, 0, JSEXN_TYPEERR, "Content-provided streams are not yet supported for streaming into SimpleCache")
MSG_DEF(JSMSG_BODY_APPEND_CONTENT_STREAM, 0, JSEXN_TYPEERR, "Content-provided streams are not yet supported for appending onto a FastlyBody")
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have a list of the cases that we have marked as "not yet" types of errors? Ideally we should carefully track these todos.

@JakeChampion JakeChampion force-pushed the jake/chunk branch 3 times, most recently from 68a2a0e to 91ad626 Compare August 5, 2024 08:43
@JakeChampion JakeChampion force-pushed the jake/chunk branch 2 times, most recently from ac461fa to 10fedae Compare August 5, 2024 12:05
…with a value which is not coercible to a finite positive integer
@JakeChampion JakeChampion merged commit 1633e02 into main Aug 5, 2024
@JakeChampion JakeChampion deleted the jake/chunk branch August 5, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants