diff options
Diffstat (limited to '')
-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] |