Closed Bug 1680428 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 26735 - Add WPT that checks autoAllocateChunkSize cannot be 0

Categories

(Core :: JavaScript Engine, task, P4)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 26735 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/26735
Details from upstream follow.

b'Nidhi Jaju <nidhijaju@google.com>' wrote:

Add WPT that checks autoAllocateChunkSize cannot be 0

This CL adds a new WPT for the case that a ReadableStream with a byte
source, and hence a ReadableByteStreamController is constructed, with
autoAllocateChunkSize: 0. This should throw a Type Error because
autoAllocateChunkSize cannot be 0, and should rather be positive.

Bug: 614302
Change-Id: Iea15e4730f4965d52ff5c68367ba6212d5eca089
Reviewed-on: https://chromium-review.googlesource.com/2569490
WPT-Export-Revision: 322f703379901eddee96ef806780d0aaf5f78fd5

Component: web-platform-tests → JavaScript Engine
Product: Testing → Core

CI Results

Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 5 tests and 77 subtests

Status Summary

Firefox

OK : 4
PASS : 8
FAIL : 300

Chrome

OK : 4
PASS : 8
FAIL : 300

Safari

OK : 3
PASS : 9
FAIL : 222
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/streams/readable-byte-streams/general.any.serviceworker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
ReadableStream with byte source can be constructed with no errors: FAIL (Chrome: FAIL, Safari: FAIL)
getReader({mode}) must perform ToString(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Construct and expect start and pull being called: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: No automatic pull call if start doesn't finish: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Construct with highWaterMark of 0: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: desiredSize when closed: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: desiredSize when errored: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), then releaseLock(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader() with mode set to byob, then releaseLock(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: releaseLock() on ReadableStreamDefaultReader with pending read() must throw: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: autoAllocateChunkSize: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Mix of auto allocate and BYOB: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Push source that doesn't understand pull signal: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: pull() function is not callable: FAIL (Chrome: FAIL, Safari: PASS)
ReadableStream with byte source: enqueue() with Uint16Array, getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), read(view) partially, then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), enqueue(), close(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), close(), getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue() asynchronously: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to multiple pull() by separate enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() with too big value: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), read(view), then cancel(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: cancel() with partially filled pending pull() request: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with smaller views: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throw if close()-ed more than once: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throw on enqueue() after close(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() and close() in pull(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read() twice, then enqueue() twice: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view), close() and respond(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view), big enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view) and multiple enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with passing undefined as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with passing an empty object as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read() on an errored stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(), then error(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) on an errored stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then error(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull function must error the stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it: FAIL (Chrome: FAIL, Safari: FAIL)
calling respond() twice on the same byobRequest should throw: FAIL (Chrome: FAIL, Safari: FAIL)
calling respondWithNewView() twice on the same byobRequest should throw: FAIL (Chrome: FAIL, Safari: FAIL)
calling respond(0) twice on the same byobRequest should throw even when closed: FAIL (Chrome: FAIL, Safari: FAIL)
pull() resolving should not make releaseLock() possible: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: autoAllocateChunkSize cannot be 0: FAIL (Chrome: FAIL, Safari: PASS)
ReadableStreamBYOBReader can be constructed directly: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream argument: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires an unlocked ReadableStream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream with type "bytes": FAIL (Chrome: FAIL, Safari: FAIL)
/streams/readable-byte-streams/general.any.js: SKIP (Chrome: SKIP, Safari: SKIP)
/streams/readable-byte-streams/general.any.sharedworker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: ERROR)
ReadableStream with byte source can be constructed with no errors: FAIL (Chrome: FAIL)
getReader({mode}) must perform ToString(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Construct and expect start and pull being called: FAIL (Chrome: FAIL)
ReadableStream with byte source: No automatic pull call if start doesn't finish: FAIL (Chrome: FAIL)
ReadableStream with byte source: Construct with highWaterMark of 0: FAIL (Chrome: FAIL)
ReadableStream with byte source: desiredSize when closed: FAIL (Chrome: FAIL)
ReadableStream with byte source: desiredSize when errored: FAIL (Chrome: FAIL)
ReadableStream with byte source: getReader(), then releaseLock(): FAIL (Chrome: FAIL)
ReadableStream with byte source: getReader() with mode set to byob, then releaseLock(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a reader automatically: FAIL (Chrome: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a reader automatically: FAIL (Chrome: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL)
ReadableStream with byte source: releaseLock() on ReadableStreamDefaultReader with pending read() must throw: FAIL (Chrome: FAIL)
ReadableStream with byte source: Automatic pull() after start(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(): FAIL (Chrome: FAIL)
ReadableStream with byte source: autoAllocateChunkSize: FAIL (Chrome: FAIL)
ReadableStream with byte source: Mix of auto allocate and BYOB: FAIL (Chrome: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(view): FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Push source that doesn't understand pull signal: FAIL (Chrome: FAIL)
ReadableStream with byte source: pull() function is not callable: FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue() with Uint16Array, getReader(), then read(): FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), read(view) partially, then read(): FAIL (Chrome: FAIL)
ReadableStream with byte source: getReader(), enqueue(), close(), then read(): FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), close(), getReader(), then read(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue() asynchronously: FAIL (Chrome: FAIL)
ReadableStream with byte source: Respond to multiple pull() by separate enqueue(): FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view), then respond(): FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer: FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view), then respond() with too big value: FAIL (Chrome: FAIL)
ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder: FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB): FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB): FAIL (Chrome: FAIL)
ReadableStream with byte source: getReader(), read(view), then cancel(): FAIL (Chrome: FAIL)
ReadableStream with byte source: cancel() with partially filled pending pull() request: FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view: FAIL (Chrome: FAIL)
ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view: FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with smaller views: FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array: FAIL (Chrome: FAIL)
ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array: FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail: FAIL (Chrome: FAIL)
ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array: FAIL (Chrome: FAIL)
ReadableStream with byte source: Throw if close()-ed more than once: FAIL (Chrome: FAIL)
ReadableStream with byte source: Throw on enqueue() after close(): FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view), then respond() and close() in pull(): FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls: FAIL (Chrome: FAIL)
ReadableStream with byte source: read() twice, then enqueue() twice: FAIL (Chrome: FAIL)
ReadableStream with byte source: Multiple read(view), close() and respond(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Multiple read(view), big enqueue(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Multiple read(view) and multiple enqueue(): FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view) with passing undefined as view must fail: FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view) with passing an empty object as view must fail: FAIL (Chrome: FAIL)
ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail: FAIL (Chrome: FAIL)
ReadableStream with byte source: read() on an errored stream: FAIL (Chrome: FAIL)
ReadableStream with byte source: read(), then error(): FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view) on an errored stream: FAIL (Chrome: FAIL)
ReadableStream with byte source: read(view), then error(): FAIL (Chrome: FAIL)
ReadableStream with byte source: Throwing in pull function must error the stream: FAIL (Chrome: FAIL)
ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it: FAIL (Chrome: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream: FAIL (Chrome: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it: FAIL (Chrome: FAIL)
calling respond() twice on the same byobRequest should throw: FAIL (Chrome: FAIL)
calling respondWithNewView() twice on the same byobRequest should throw: FAIL (Chrome: FAIL)
calling respond(0) twice on the same byobRequest should throw even when closed: FAIL (Chrome: FAIL)
pull() resolving should not make releaseLock() possible: FAIL (Chrome: FAIL)
ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction: FAIL (Chrome: FAIL)
ReadableStream with byte source: autoAllocateChunkSize cannot be 0: FAIL (Chrome: FAIL)
ReadableStreamBYOBReader can be constructed directly: FAIL (Chrome: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream argument: FAIL (Chrome: FAIL)
ReadableStreamBYOBReader constructor requires an unlocked ReadableStream: FAIL (Chrome: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream with type "bytes": FAIL (Chrome: FAIL)
/streams/readable-byte-streams/general.any.worker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
ReadableStream with byte source can be constructed with no errors: FAIL (Chrome: FAIL, Safari: FAIL)
getReader({mode}) must perform ToString(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Construct and expect start and pull being called: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: No automatic pull call if start doesn't finish: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Construct with highWaterMark of 0: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: desiredSize when closed: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: desiredSize when errored: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), then releaseLock(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader() with mode set to byob, then releaseLock(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: releaseLock() on ReadableStreamDefaultReader with pending read() must throw: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: autoAllocateChunkSize: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Mix of auto allocate and BYOB: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Push source that doesn't understand pull signal: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: pull() function is not callable: FAIL (Chrome: FAIL, Safari: PASS)
ReadableStream with byte source: enqueue() with Uint16Array, getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), read(view) partially, then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), enqueue(), close(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), close(), getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue() asynchronously: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to multiple pull() by separate enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() with too big value: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), read(view), then cancel(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: cancel() with partially filled pending pull() request: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with smaller views: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throw if close()-ed more than once: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throw on enqueue() after close(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() and close() in pull(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read() twice, then enqueue() twice: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view), close() and respond(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view), big enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view) and multiple enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with passing undefined as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with passing an empty object as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read() on an errored stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(), then error(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) on an errored stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then error(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull function must error the stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it: FAIL (Chrome: FAIL, Safari: FAIL)
calling respond() twice on the same byobRequest should throw: FAIL (Chrome: FAIL, Safari: FAIL)
calling respondWithNewView() twice on the same byobRequest should throw: FAIL (Chrome: FAIL, Safari: FAIL)
calling respond(0) twice on the same byobRequest should throw even when closed: FAIL (Chrome: FAIL, Safari: FAIL)
pull() resolving should not make releaseLock() possible: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: autoAllocateChunkSize cannot be 0: FAIL (Chrome: FAIL, Safari: PASS)
ReadableStreamBYOBReader can be constructed directly: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream argument: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires an unlocked ReadableStream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream with type "bytes": FAIL (Chrome: FAIL, Safari: FAIL)
/streams/readable-byte-streams/general.any.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
ReadableStream with byte source can be constructed with no errors: FAIL (Chrome: FAIL, Safari: FAIL)
getReader({mode}) must perform ToString(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Construct and expect start and pull being called: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: No automatic pull call if start doesn't finish: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Construct with highWaterMark of 0: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: desiredSize when closed: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: desiredSize when errored: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), then releaseLock(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader() with mode set to byob, then releaseLock(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that closing a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Test that erroring a stream does not release a BYOB reader automatically: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: releaseLock() on ReadableStreamDefaultReader with pending read() must throw: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: autoAllocateChunkSize: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Mix of auto allocate and BYOB: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Automatic pull() after start() and read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Push source that doesn't understand pull signal: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: pull() function is not callable: FAIL (Chrome: FAIL, Safari: PASS)
ReadableStream with byte source: enqueue() with Uint16Array, getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), read(view) partially, then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), enqueue(), close(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), close(), getReader(), then read(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to pull() by enqueue() asynchronously: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Respond to multiple pull() by separate enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() with too big value: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: getReader(), read(view), then cancel(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: cancel() with partially filled pending pull() request: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue(), getReader(), then read(view) with smaller views: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throw if close()-ed more than once: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throw on enqueue() after close(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then respond() and close() in pull(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read() twice, then enqueue() twice: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view), close() and respond(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view), big enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Multiple read(view) and multiple enqueue(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with passing undefined as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) with passing an empty object as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read() on an errored stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(), then error(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view) on an errored stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: read(view), then error(): FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull function must error the stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it: FAIL (Chrome: FAIL, Safari: FAIL)
calling respond() twice on the same byobRequest should throw: FAIL (Chrome: FAIL, Safari: FAIL)
calling respondWithNewView() twice on the same byobRequest should throw: FAIL (Chrome: FAIL, Safari: FAIL)
calling respond(0) twice on the same byobRequest should throw even when closed: FAIL (Chrome: FAIL, Safari: FAIL)
pull() resolving should not make releaseLock() possible: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStream with byte source: autoAllocateChunkSize cannot be 0: FAIL (Chrome: FAIL, Safari: PASS)
ReadableStreamBYOBReader can be constructed directly: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream argument: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires an unlocked ReadableStream: FAIL (Chrome: FAIL, Safari: FAIL)
ReadableStreamBYOBReader constructor requires a ReadableStream with type "bytes": FAIL (Chrome: FAIL, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/streams/readable-byte-streams/general.any.serviceworker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
/streams/readable-byte-streams/general.any.js: SKIP (Chrome: SKIP, Safari: SKIP)
/streams/readable-byte-streams/general.any.sharedworker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: ERROR)
/streams/readable-byte-streams/general.any.worker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
/streams/readable-byte-streams/general.any.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/62f65616d680
[wpt PR 26735] - Add WPT that checks autoAllocateChunkSize cannot be 0, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.