diff --git a/dom/security/test/general/file_same_site_cookies_about.sjs b/dom/security/test/general/file_same_site_cookies_about.sjs new file mode 100644 index 000000000000..715fac06fd63 --- /dev/null +++ b/dom/security/test/general/file_same_site_cookies_about.sjs @@ -0,0 +1,61 @@ +// Custom *.sjs file specifically for the needs of Bug 1454721 + +// small red image +const IMG_BYTES = atob( + "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12" + + "P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="); + +const IFRAME_INC = + ``; + +function handleRequest(request, response) +{ + // avoid confusing cache behaviors + response.setHeader("Cache-Control", "no-cache", false); + + // using startsWith and discard the math random + if (request.queryString.startsWith("setSameSiteCookie")) { + response.setHeader("Set-Cookie", "myKey=mySameSiteAboutCookie; samesite=strict", true); + response.setHeader("Content-Type", "image/png"); + response.write(IMG_BYTES); + return; + } + + // navigation tests + if (request.queryString === "loadsrcdocframeNav") { + let FRAME = ` + `; + response.write(FRAME); + return; + } + + if (request.queryString === "loadblankframeNav") { + let FRAME = ` + `; + response.write(FRAME); + return; + } + + // inclusion tets + if (request.queryString === "loadsrcdocframeInc") { + response.write(""); + return; + } + + if (request.queryString === "loadblankframeInc") { + let FRAME = ` + + + + diff --git a/dom/security/test/general/file_same_site_cookies_about_navigation.html b/dom/security/test/general/file_same_site_cookies_about_navigation.html new file mode 100644 index 000000000000..1326cb9e2d30 --- /dev/null +++ b/dom/security/test/general/file_same_site_cookies_about_navigation.html @@ -0,0 +1,8 @@ + + + + + + diff --git a/dom/security/test/general/mochitest.ini b/dom/security/test/general/mochitest.ini index db254bda6801..4ec1fbb707b4 100644 --- a/dom/security/test/general/mochitest.ini +++ b/dom/security/test/general/mochitest.ini @@ -18,6 +18,9 @@ support-files = file_same_site_cookies_blob_iframe_inclusion.html file_same_site_cookies_iframe.html file_same_site_cookies_iframe.sjs + file_same_site_cookies_about_navigation.html + file_same_site_cookies_about_inclusion.html + file_same_site_cookies_about.sjs [test_contentpolicytype_targeted_link_iframe.html] [test_nosniff.html] @@ -38,3 +41,4 @@ skip-if = toolkit == 'android' [test_same_site_cookies_redirect.html] [test_same_site_cookies_toplevel_set_cookie.html] [test_same_site_cookies_iframe.html] +[test_same_site_cookies_about.html] diff --git a/dom/security/test/general/test_same_site_cookies_about.html b/dom/security/test/general/test_same_site_cookies_about.html new file mode 100644 index 000000000000..37c5a7ee7060 --- /dev/null +++ b/dom/security/test/general/test_same_site_cookies_about.html @@ -0,0 +1,117 @@ + + + + Bug 1454721 - Add same-site cookie test for about:blank and about:srcdoc + + + + + + + + + + diff --git a/js/src/jsnum.cpp b/js/src/jsnum.cpp index c46be1031e8e..b273ac627f7f 100644 --- a/js/src/jsnum.cpp +++ b/js/src/jsnum.cpp @@ -56,6 +56,8 @@ using JS::ToInt8; using JS::ToInt16; using JS::ToInt32; using JS::ToInt64; +using JS::ToUint8; +using JS::ToUint16; using JS::ToUint32; using JS::ToUint64; @@ -1634,7 +1636,7 @@ js::ToUint8Slow(JSContext *cx, const HandleValue v, uint8_t *out) if (!ToNumberSlow(cx, v, &d)) return false; } - *out = ToInt8(d); + *out = ToUint8(d); return true; } @@ -1735,26 +1737,7 @@ js::ToUint16Slow(JSContext* cx, const HandleValue v, uint16_t* out) } else if (!ToNumberSlow(cx, v, &d)) { return false; } - - if (d == 0 || !mozilla::IsFinite(d)) { - *out = 0; - return true; - } - - uint16_t u = (uint16_t) d; - if ((double)u == d) { - *out = u; - return true; - } - - bool neg = (d < 0); - d = floor(neg ? -d : d); - d = neg ? -d : d; - unsigned m = JS_BIT(16); - d = fmod(d, (double) m); - if (d < 0) - d += m; - *out = (uint16_t) d; + *out = ToUint16(d); return true; } diff --git a/testing/web-platform/meta/streams/readable-byte-streams/__dir__.ini b/testing/web-platform/meta/streams/readable-byte-streams/__dir__.ini new file mode 100644 index 000000000000..66dfc22f9959 --- /dev/null +++ b/testing/web-platform/meta/streams/readable-byte-streams/__dir__.ini @@ -0,0 +1 @@ +disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1454655 diff --git a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.dedicatedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.dedicatedworker.html.ini deleted file mode 100644 index 266a729d88b6..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.dedicatedworker.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[construct-byob-request.dedicatedworker.html] - [ReadableStreamBYOBRequest constructor should throw when passed a real ReadableByteStreamController and a real view] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.html.ini deleted file mode 100644 index 1894ed51cef4..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[construct-byob-request.html] - [ReadableStreamBYOBRequest constructor should throw when passed a real ReadableByteStreamController and a real view] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.serviceworker.https.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.serviceworker.https.html.ini deleted file mode 100644 index 0aca4249f038..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.serviceworker.https.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[construct-byob-request.serviceworker.https.html] - [ReadableStreamBYOBRequest constructor should throw when passed a real ReadableByteStreamController and a real view] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.sharedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.sharedworker.html.ini deleted file mode 100644 index 9416dccf20e1..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.sharedworker.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[construct-byob-request.sharedworker.html] - [ReadableStreamBYOBRequest constructor should throw when passed a real ReadableByteStreamController and a real view] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.dedicatedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.dedicatedworker.html.ini deleted file mode 100644 index 3536349c9979..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.dedicatedworker.html.ini +++ /dev/null @@ -1,31 +0,0 @@ -[detached-buffers.dedicatedworker.html] - disabled: - if debug and (os == "win"): https://bugzilla.mozilla.org/show_bug.cgi?id=1420076 - expected: - if debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): CRASH - if not debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): TIMEOUT - if not debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): TIMEOUT - if debug and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): TIMEOUT - if debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): TIMEOUT - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): TIMEOUT - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - if debug and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - [ReadableStream with byte source: read()ing from a closed stream still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: read()ing from a stream with queued chunks still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: reading into an already-detached buffer rejects] - expected: TIMEOUT - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the readable state)] - expected: FAIL - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the closed state)] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.html.ini deleted file mode 100644 index 80dd38400182..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.html.ini +++ /dev/null @@ -1,31 +0,0 @@ -[detached-buffers.html] - disabled: - if debug and (os == "win"): https://bugzilla.mozilla.org/show_bug.cgi?id=1420076 - expected: - if debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): CRASH - if not debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): TIMEOUT - if not debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): TIMEOUT - if debug and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): TIMEOUT - if debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): TIMEOUT - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): TIMEOUT - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - if debug and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - [ReadableStream with byte source: read()ing from a closed stream still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: read()ing from a stream with queued chunks still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: reading into an already-detached buffer rejects] - expected: TIMEOUT - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the readable state)] - expected: FAIL - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the closed state)] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.serviceworker.https.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.serviceworker.https.html.ini deleted file mode 100644 index 40f3b91c24ca..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.serviceworker.https.html.ini +++ /dev/null @@ -1,31 +0,0 @@ -[detached-buffers.serviceworker.https.html] - disabled: - if debug and (os == "win"): https://bugzilla.mozilla.org/show_bug.cgi?id=1420076 - expected: - if debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): CRASH - if not debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): TIMEOUT - if not debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): TIMEOUT - if debug and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): TIMEOUT - if debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): TIMEOUT - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): TIMEOUT - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - if debug and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - [ReadableStream with byte source: read()ing from a closed stream still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: read()ing from a stream with queued chunks still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: reading into an already-detached buffer rejects] - expected: TIMEOUT - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the readable state)] - expected: FAIL - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the closed state)] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.sharedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.sharedworker.html.ini deleted file mode 100644 index dad2ae6cc5f7..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/detached-buffers.sharedworker.html.ini +++ /dev/null @@ -1,31 +0,0 @@ -[detached-buffers.sharedworker.html] - disabled: - if debug and (os == "win"): https://bugzilla.mozilla.org/show_bug.cgi?id=1420076 - expected: - if debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): CRASH - if not debug and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): TIMEOUT - if not debug and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): TIMEOUT - if debug and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): TIMEOUT - if debug and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): CRASH - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): TIMEOUT - if not debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): TIMEOUT - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH - if debug and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - if debug and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH - [ReadableStream with byte source: read()ing from a closed stream still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: read()ing from a stream with queued chunks still transfers the buffer] - expected: FAIL - - [ReadableStream with byte source: reading into an already-detached buffer rejects] - expected: TIMEOUT - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the readable state)] - expected: FAIL - - [ReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the closed state)] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/general.dedicatedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/general.dedicatedworker.html.ini deleted file mode 100644 index fea0ef23e6c5..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/general.dedicatedworker.html.ini +++ /dev/null @@ -1,122 +0,0 @@ -[general.dedicatedworker.html] - expected: TIMEOUT - [ReadableStream constructor should not accept a strategy with a size defined if type is "bytes"] - expected: FAIL - - [ReadableStream with byte source: pull() function is not callable] - expected: FAIL - - [ReadableStream with byte source: autoAllocateChunkSize] - expected: FAIL - - [ReadableStream with byte source: Respond to multiple pull() by separate enqueue()] - expected: TIMEOUT - - [ReadableStream with byte source: read(view), then respond()] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with too big value] - expected: NOTRUN - - [ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: getReader(), read(view), then cancel()] - expected: NOTRUN - - [ReadableStream with byte source: cancel() with partially filled pending pull() request] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view] - expected: NOTRUN - - [ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a smaller views] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail] - expected: NOTRUN - - [ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() and close() in pull()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls] - expected: NOTRUN - - [ReadableStream with byte source: read() twice, then enqueue() twice] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), close() and respond()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), big enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view) and multiple enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing undefined as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with zero-length view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing an empty object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read() on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(), then error()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then error()] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction] - expected: NOTRUN - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/general.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/general.html.ini deleted file mode 100644 index 699eaaa2aa25..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/general.html.ini +++ /dev/null @@ -1,122 +0,0 @@ -[general.html] - expected: TIMEOUT - [ReadableStream constructor should not accept a strategy with a size defined if type is "bytes"] - expected: FAIL - - [ReadableStream with byte source: pull() function is not callable] - expected: FAIL - - [ReadableStream with byte source: autoAllocateChunkSize] - expected: FAIL - - [ReadableStream with byte source: Respond to multiple pull() by separate enqueue()] - expected: TIMEOUT - - [ReadableStream with byte source: read(view), then respond()] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with too big value] - expected: NOTRUN - - [ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: getReader(), read(view), then cancel()] - expected: NOTRUN - - [ReadableStream with byte source: cancel() with partially filled pending pull() request] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view] - expected: NOTRUN - - [ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a smaller views] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail] - expected: NOTRUN - - [ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() and close() in pull()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls] - expected: NOTRUN - - [ReadableStream with byte source: read() twice, then enqueue() twice] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), close() and respond()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), big enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view) and multiple enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing undefined as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with zero-length view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing an empty object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read() on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(), then error()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then error()] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction] - expected: NOTRUN - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/general.serviceworker.https.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/general.serviceworker.https.html.ini deleted file mode 100644 index 54bad233e430..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/general.serviceworker.https.html.ini +++ /dev/null @@ -1,122 +0,0 @@ -[general.serviceworker.https.html] - expected: TIMEOUT - [ReadableStream constructor should not accept a strategy with a size defined if type is "bytes"] - expected: FAIL - - [ReadableStream with byte source: pull() function is not callable] - expected: FAIL - - [ReadableStream with byte source: autoAllocateChunkSize] - expected: FAIL - - [ReadableStream with byte source: Respond to multiple pull() by separate enqueue()] - expected: TIMEOUT - - [ReadableStream with byte source: read(view), then respond()] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with too big value] - expected: NOTRUN - - [ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: getReader(), read(view), then cancel()] - expected: NOTRUN - - [ReadableStream with byte source: cancel() with partially filled pending pull() request] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view] - expected: NOTRUN - - [ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a smaller views] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail] - expected: NOTRUN - - [ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() and close() in pull()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls] - expected: NOTRUN - - [ReadableStream with byte source: read() twice, then enqueue() twice] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), close() and respond()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), big enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view) and multiple enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing undefined as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with zero-length view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing an empty object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read() on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(), then error()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then error()] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction] - expected: NOTRUN - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/general.sharedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/general.sharedworker.html.ini deleted file mode 100644 index 940d51f23e6f..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/general.sharedworker.html.ini +++ /dev/null @@ -1,122 +0,0 @@ -[general.sharedworker.html] - expected: TIMEOUT - [ReadableStream constructor should not accept a strategy with a size defined if type is "bytes"] - expected: FAIL - - [ReadableStream with byte source: pull() function is not callable] - expected: FAIL - - [ReadableStream with byte source: autoAllocateChunkSize] - expected: FAIL - - [ReadableStream with byte source: Respond to multiple pull() by separate enqueue()] - expected: TIMEOUT - - [ReadableStream with byte source: read(view), then respond()] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with a transferred ArrayBuffer] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() with too big value] - expected: NOTRUN - - [ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB)] - expected: NOTRUN - - [ReadableStream with byte source: getReader(), read(view), then cancel()] - expected: NOTRUN - - [ReadableStream with byte source: cancel() with partially filled pending pull() request] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view] - expected: NOTRUN - - [ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view)] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view] - expected: NOTRUN - - [ReadableStream with byte source: enqueue(), getReader(), then read(view) with a smaller views] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail] - expected: NOTRUN - - [ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then respond() and close() in pull()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls] - expected: NOTRUN - - [ReadableStream with byte source: read() twice, then enqueue() twice] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), close() and respond()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view), big enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: Multiple read(view) and multiple enqueue()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing undefined as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with zero-length view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read(view) with passing an empty object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail] - expected: NOTRUN - - [ReadableStream with byte source: read() on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(), then error()] - expected: NOTRUN - - [ReadableStream with byte source: read(view) on an errored stream] - expected: NOTRUN - - [ReadableStream with byte source: read(view), then error()] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream] - expected: NOTRUN - - [ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it] - expected: NOTRUN - - [ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction] - expected: NOTRUN - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/properties.dedicatedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/properties.dedicatedworker.html.ini deleted file mode 100644 index 0b2409a24e2e..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/properties.dedicatedworker.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[properties.dedicatedworker.html] - [ReadableStreamBYOBRequest instances should have the correct list of properties] - expected: FAIL - - [ReadableByteStreamController instances should have the correct list of properties] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/properties.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/properties.html.ini deleted file mode 100644 index 74362ffba537..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/properties.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[properties.html] - [ReadableStreamBYOBRequest instances should have the correct list of properties] - expected: FAIL - - [ReadableByteStreamController instances should have the correct list of properties] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/properties.serviceworker.https.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/properties.serviceworker.https.html.ini deleted file mode 100644 index c9a32a5e009a..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/properties.serviceworker.https.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[properties.serviceworker.https.html] - [ReadableStreamBYOBRequest instances should have the correct list of properties] - expected: FAIL - - [ReadableByteStreamController instances should have the correct list of properties] - expected: FAIL - diff --git a/testing/web-platform/meta/streams/readable-byte-streams/properties.sharedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/properties.sharedworker.html.ini deleted file mode 100644 index f4b963a16f8b..000000000000 --- a/testing/web-platform/meta/streams/readable-byte-streams/properties.sharedworker.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[properties.sharedworker.html] - [ReadableStreamBYOBRequest instances should have the correct list of properties] - expected: FAIL - - [ReadableByteStreamController instances should have the correct list of properties] - expected: FAIL -