Tests: Create imported WPT test output from completion callback data

This allows us to disable test output, which performs expensive assert
tracking. This was making our imported tests run significantly slower
than tests run via `WPT.sh`.

Formatting the output ourselves also allows us to remove unnecessary
information from the test output.

This commit also rebaselines all existing imported WPT tests to follow
the new format.
This commit is contained in:
Tim Ledbetter 2024-12-02 18:45:22 +00:00 committed by Tim Ledbetter
commit 61ae388140
Notes: github-actions[bot] 2024-12-02 22:42:57 +00:00
1036 changed files with 17493 additions and 22639 deletions

View file

@ -1,34 +1,29 @@
Summary
Harness status: OK
Rerun
Found 24 tests
24 Pass
Details
Result Test Name MessagePass ReadableStream with byte source: read({ min }) rejects if min is 0
Pass ReadableStream with byte source: read({ min }) rejects if min is negative
Pass ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)
Pass ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)
Pass ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)
Pass ReadableStream with byte source: read({ min }), then read()
Pass ReadableStream with byte source: read({ min }) with a DataView
Pass ReadableStream with byte source: enqueue(), then read({ min })
Pass ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes
Pass ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes
Pass ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes
Pass ReadableStream with byte source: enqueue(), read({ min }) partially, then read()
Pass ReadableStream with byte source: read({ min }), then respondWithNewView() with a transferred ArrayBuffer
Pass ReadableStream with byte source: read({ min }) on a closed stream
Pass ReadableStream with byte source: read({ min }) when closed before view is filled
Pass ReadableStream with byte source: read({ min }) when closed immediately after view is filled
Pass ReadableStream with byte source: read({ min }) on an errored stream
Pass ReadableStream with byte source: read({ min }), then error()
Pass ReadableStream with byte source: getReader(), read({ min }), then cancel()
Pass ReadableStream with byte source: cancel() with partially filled pending read({ min }) request
Pass ReadableStream with byte source: enqueue(), then read({ min }) with smaller views
Pass ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail
Pass ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail
Pass ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2
Pass ReadableStream with byte source: read({ min }) rejects if min is 0
Pass ReadableStream with byte source: read({ min }) rejects if min is negative
Pass ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)
Pass ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)
Pass ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)
Pass ReadableStream with byte source: read({ min }), then read()
Pass ReadableStream with byte source: read({ min }) with a DataView
Pass ReadableStream with byte source: enqueue(), then read({ min })
Pass ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes
Pass ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes
Pass ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes
Pass ReadableStream with byte source: enqueue(), read({ min }) partially, then read()
Pass ReadableStream with byte source: read({ min }), then respondWithNewView() with a transferred ArrayBuffer
Pass ReadableStream with byte source: read({ min }) on a closed stream
Pass ReadableStream with byte source: read({ min }) when closed before view is filled
Pass ReadableStream with byte source: read({ min }) when closed immediately after view is filled
Pass ReadableStream with byte source: read({ min }) on an errored stream
Pass ReadableStream with byte source: read({ min }), then error()
Pass ReadableStream with byte source: getReader(), read({ min }), then cancel()
Pass ReadableStream with byte source: cancel() with partially filled pending read({ min }) request
Pass ReadableStream with byte source: enqueue(), then read({ min }) with smaller views
Pass ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail
Pass ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail
Pass ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2

View file

@ -1,49 +1,44 @@
Summary
Harness status: Error
Rerun
Found 39 tests
39 Pass
Details
Result Test Name MessagePass ReadableStream teeing with byte source: rs.tee() returns an array of two ReadableStreams
Pass ReadableStream teeing with byte source: should be able to read one branch to the end without affecting the other
Pass ReadableStream teeing with byte source: chunks should be cloned for each branch
Pass ReadableStream teeing with byte source: chunks for BYOB requests from branch 1 should be cloned to branch 2
Pass ReadableStream teeing with byte source: errors in the source should propagate to both branches
Pass ReadableStream teeing with byte source: canceling branch1 should not impact branch2
Pass ReadableStream teeing with byte source: canceling branch2 should not impact branch1
Pass Running templatedRSTeeCancel with ReadableStream teeing with byte source
Pass ReadableStream teeing with byte source: canceling both branches should aggregate the cancel reasons into an array
Pass ReadableStream teeing with byte source: canceling both branches in reverse order should aggregate the cancel reasons into an array
Pass ReadableStream teeing with byte source: failing to cancel the original stream should cause cancel() to reject on branches
Pass ReadableStream teeing with byte source: erroring a teed stream should properly handle canceled branches
Pass ReadableStream teeing with byte source: closing the original should close the branches
Pass ReadableStream teeing with byte source: erroring the original should immediately error the branches
Pass ReadableStream teeing with byte source: erroring the original should error pending reads from default reader
Pass ReadableStream teeing with byte source: erroring the original should error pending reads from BYOB reader
Pass ReadableStream teeing with byte source: canceling branch1 should finish when branch2 reads until end of stream
Pass ReadableStream teeing with byte source: canceling branch1 should finish when original stream errors
Pass ReadableStream teeing with byte source: should not pull any chunks if no branches are reading
Pass ReadableStream teeing with byte source: should only pull enough to fill the emptiest queue
Pass ReadableStream teeing with byte source: should not pull when original is already errored
Pass ReadableStream teeing with byte source: stops pulling when original stream errors while branch 1 is reading
Pass ReadableStream teeing with byte source: stops pulling when original stream errors while branch 2 is reading
Pass ReadableStream teeing with byte source: stops pulling when original stream errors while both branches are reading
Pass ReadableStream teeing with byte source: canceling both branches in sequence with delay
Pass ReadableStream teeing with byte source: failing to cancel when canceling both branches in sequence with delay
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch1, cancel branch2
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch2, cancel branch1
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch2, enqueue to branch1
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch1, respond to branch2
Pass ReadableStream teeing with byte source: pull with BYOB reader, then pull with default reader
Pass ReadableStream teeing with byte source: pull with default reader, then pull with BYOB reader
Pass ReadableStream teeing with byte source: read from branch2, then read from branch1
Pass ReadableStream teeing with byte source: read from branch1 with default reader, then close while branch2 has pending BYOB read
Pass ReadableStream teeing with byte source: read from branch2 with default reader, then close while branch1 has pending BYOB read
Pass ReadableStream teeing with byte source: close when both branches have pending BYOB reads
Pass ReadableStream teeing with byte source: enqueue() and close() while both branches are pulling
Pass ReadableStream teeing with byte source: respond() and close() while both branches are pulling
Pass ReadableStream teeing with byte source: reading an array with a byte offset should clone correctly
Pass ReadableStream teeing with byte source: rs.tee() returns an array of two ReadableStreams
Pass ReadableStream teeing with byte source: should be able to read one branch to the end without affecting the other
Pass ReadableStream teeing with byte source: chunks should be cloned for each branch
Pass ReadableStream teeing with byte source: chunks for BYOB requests from branch 1 should be cloned to branch 2
Pass ReadableStream teeing with byte source: errors in the source should propagate to both branches
Pass ReadableStream teeing with byte source: canceling branch1 should not impact branch2
Pass ReadableStream teeing with byte source: canceling branch2 should not impact branch1
Pass Running templatedRSTeeCancel with ReadableStream teeing with byte source
Pass ReadableStream teeing with byte source: canceling both branches should aggregate the cancel reasons into an array
Pass ReadableStream teeing with byte source: canceling both branches in reverse order should aggregate the cancel reasons into an array
Pass ReadableStream teeing with byte source: failing to cancel the original stream should cause cancel() to reject on branches
Pass ReadableStream teeing with byte source: erroring a teed stream should properly handle canceled branches
Pass ReadableStream teeing with byte source: closing the original should close the branches
Pass ReadableStream teeing with byte source: erroring the original should immediately error the branches
Pass ReadableStream teeing with byte source: erroring the original should error pending reads from default reader
Pass ReadableStream teeing with byte source: erroring the original should error pending reads from BYOB reader
Pass ReadableStream teeing with byte source: canceling branch1 should finish when branch2 reads until end of stream
Pass ReadableStream teeing with byte source: canceling branch1 should finish when original stream errors
Pass ReadableStream teeing with byte source: should not pull any chunks if no branches are reading
Pass ReadableStream teeing with byte source: should only pull enough to fill the emptiest queue
Pass ReadableStream teeing with byte source: should not pull when original is already errored
Pass ReadableStream teeing with byte source: stops pulling when original stream errors while branch 1 is reading
Pass ReadableStream teeing with byte source: stops pulling when original stream errors while branch 2 is reading
Pass ReadableStream teeing with byte source: stops pulling when original stream errors while both branches are reading
Pass ReadableStream teeing with byte source: canceling both branches in sequence with delay
Pass ReadableStream teeing with byte source: failing to cancel when canceling both branches in sequence with delay
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch1, cancel branch2
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch2, cancel branch1
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch2, enqueue to branch1
Pass ReadableStream teeing with byte source: read from branch1 and branch2, cancel branch1, respond to branch2
Pass ReadableStream teeing with byte source: pull with BYOB reader, then pull with default reader
Pass ReadableStream teeing with byte source: pull with default reader, then pull with BYOB reader
Pass ReadableStream teeing with byte source: read from branch2, then read from branch1
Pass ReadableStream teeing with byte source: read from branch1 with default reader, then close while branch2 has pending BYOB read
Pass ReadableStream teeing with byte source: read from branch2 with default reader, then close while branch1 has pending BYOB read
Pass ReadableStream teeing with byte source: close when both branches have pending BYOB reads
Pass ReadableStream teeing with byte source: enqueue() and close() while both branches are pulling
Pass ReadableStream teeing with byte source: respond() and close() while both branches are pulling
Pass ReadableStream teeing with byte source: reading an array with a byte offset should clone correctly