diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/fs/FileSystemWritableFileStream-write.https.any.js.ini | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/fs/FileSystemWritableFileStream-write.https.any.js.ini')
-rw-r--r-- | testing/web-platform/meta/fs/FileSystemWritableFileStream-write.https.any.js.ini | 316 |
1 files changed, 316 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fs/FileSystemWritableFileStream-write.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemWritableFileStream-write.https.any.js.ini new file mode 100644 index 0000000000..88a10aee14 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemWritableFileStream-write.https.any.js.ini @@ -0,0 +1,316 @@ +[FileSystemWritableFileStream-write.https.any.html] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [OK, ERROR, TIMEOUT] + if (os == "win") and not swgl and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "win") and not swgl and debug: [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + [write() a blob to an empty file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + + [write() with WriteParams without position to an empty file] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() a string to an empty file with zero offset] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() a blob to an empty file with zero offset] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [write() called consecutively appends] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() WriteParams without position and string appends] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [write() WriteParams without position and blob appends] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() called with a string and a valid offset] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() called with a blob and a valid offset] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() called with an offset beyond the end of the file] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() with an empty string to an empty file] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() with a valid utf-8 string] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [write() with a string with unix line ending preserved] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [write() with a string with windows line ending preserved] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, TIMEOUT] + + [write() with an empty array buffer to an empty file] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [write() with a valid typed array buffer] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [atomic writes: writable file streams make atomic changes on close] + expected: + if (os == "win") and debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, NOTRUN] + FAIL + + [atomic writes: write() after close() fails] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [atomic writes: truncate() after close() fails] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [atomic writes: close() after close() fails] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [atomic writes: only one close() operation may succeed] + expected: + if (os == "win") and not swgl and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug and (processor == "x86_64"): [PASS, TIMEOUT] + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [getWriter() can be used] + expected: + if (os == "win") and not swgl: [PASS, NOTRUN] + + [WriteParams: truncate missing size param] + expected: + if (os == "win") and not swgl: [PASS, NOTRUN] + + [WriteParams: write missing data param] + expected: + if (os == "win") and not swgl: [PASS, NOTRUN] + + [WriteParams: seek missing position param] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "linux") and (processor == "x86"): [PASS, FAIL] + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [write() with an invalid blob to an empty file should reject] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "linux") and (processor == "x86"): [PASS, FAIL] + + [WriteParams: write null data param] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "linux") and not fission and not debug: [PASS, FAIL] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + + [write() with an empty blob to an empty file] + expected: + if (processor == "x86") and not debug: [PASS, TIMEOUT] + + +[FileSystemWritableFileStream-write.https.any.worker.html] + expected: + if (os == "win") and debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + [write() called with a blob and a valid offset] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() called with an offset beyond the end of the file] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() with an empty string to an empty file] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() with a valid utf-8 string] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() with a string with unix line ending preserved] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() with a string with windows line ending preserved] + expected: + if (os == "win") and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() with an empty array buffer to an empty file] + expected: + if (os == "android") and not debug: [PASS, FAIL] + if (os == "win") and not swgl: [PASS, NOTRUN] + + [write() with a valid typed array buffer] + expected: + if (os == "android") and not debug: [PASS, FAIL] + if (os == "win") and not swgl: [PASS, NOTRUN] + + [atomic writes: writable file streams make atomic changes on close] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN] + FAIL + + [getWriter() can be used] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [WriteParams: truncate missing size param] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [WriteParams: write missing data param] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [WriteParams: seek missing position param] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "linux") and not fission and not debug: [PASS, FAIL] + if (os == "android") and not debug: [PASS, FAIL] + if (os == "win") and debug: [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [write() with an invalid blob to an empty file should reject] + expected: + if (os == "linux") and not fission and not debug: [PASS, FAIL] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [WriteParams: write null data param] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [write() with an empty blob to an empty file] + expected: + if (os == "android") and not debug: [PASS, FAIL] + + [write() a blob to an empty file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, FAIL] + + [write() with WriteParams without position to an empty file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() a string to an empty file with zero offset] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() a blob to an empty file with zero offset] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() called consecutively appends] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() WriteParams without position and string appends] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() WriteParams without position and blob appends] + expected: + if (os == "win") and (processor == "x86_64") and debug and not swgl: [PASS, TIMEOUT] + if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [write() called with a string and a valid offset] + expected: + if (os == "win") and (processor == "x86") and debug: [PASS, TIMEOUT] + if (os == "win") and (processor == "x86_64") and not swgl: [PASS, NOTRUN] + if (os == "android") and not debug: [PASS, FAIL] + + [atomic writes: only one close() operation may succeed] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug and (processor == "x86"): [PASS, NOTRUN] + + [atomic writes: write() after close() fails] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + + [atomic writes: truncate() after close() fails] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + + [atomic writes: close() after close() fails] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug and (processor == "x86"): [PASS, NOTRUN] |