Skip to content

Add WPT tests for EventSource.fromReadableStream()#58550

Open
lachlanhunt wants to merge 1 commit intoweb-platform-tests:masterfrom
lachlanhunt:eventsource-fromreadablestream
Open

Add WPT tests for EventSource.fromReadableStream()#58550
lachlanhunt wants to merge 1 commit intoweb-platform-tests:masterfrom
lachlanhunt:eventsource-fromreadablestream

Conversation

@lachlanhunt
Copy link
Contributor

Tests cover construction and initial state, message receiving, event stream parsing (comments, custom events, multi-line data, newline formats, BOM handling, chunk splitting), id and retry fields, close() behaviour, stream done and error handling, no reconnection, and the TransformStream reconnection pattern.

Includes fetch() integration tests using the existing message.py server resource.

Relates to whatwg/html#12272

Tests cover construction and initial state, message receiving, event
stream parsing (comments, custom events, multi-line data, newline
formats, BOM handling, chunk splitting), id and retry fields,
close() behaviour, stream done and error handling, no reconnection,
and the TransformStream reconnection pattern.

Includes fetch() integration tests using the existing message.py
server resource.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants