diff options
Diffstat (limited to 'testing/web-platform/meta/fs')
33 files changed, 1680 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-IndexedDB.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-IndexedDB.https.any.js.ini new file mode 100644 index 0000000000..6ce4cd0cc0 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-IndexedDB.https.any.js.ini @@ -0,0 +1,86 @@ +[FileSystemBaseHandle-IndexedDB.https.any.html] + expected: + if (os == "win") and (processor == "x86_64") and swgl: [OK, TIMEOUT] + if (os == "win") and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "win") and (processor == "x86") and not debug: [OK, ERROR, TIMEOUT] + if (os == "mac") and not debug: [OK, ERROR] + [Store handle in IndexedDB and read from new transaction.] + expected: + if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [Store handles and blobs in IndexedDB.] + 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] + if (os == "win") and debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [Store handle in IndexedDB and read using a cursor.] + expected: + if (os == "win") and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64") and not swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [Store handle in IndexedDB using inline keys.] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [Store handle in IndexedDB and read from pending transaction.] + expected: + if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT] + if (os == "win") and (processor == "x86_64"): [PASS, TIMEOUT] + + [Store and retrieve the root directory from IndexedDB.] + 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 == "mac") and not debug: [PASS, NOTRUN] + + +[FileSystemBaseHandle-IndexedDB.https.any.worker.html] + expected: + if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + if (os == "win") and debug: [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + [Store handles and blobs in IndexedDB.] + expected: + if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [Store handle in IndexedDB and read using a cursor.] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [Store handle in IndexedDB using inline keys.] + expected: + if (os == "win") and debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [Store handle in IndexedDB and read from new transaction.] + expected: + if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [Store handle in IndexedDB and read from pending transaction.] + expected: + if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT] + if (os == "win") and (processor == "x86_64"): [PASS, TIMEOUT] + + [Store and retrieve the root directory from IndexedDB.] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, NOTRUN] + 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 == "mac") and not debug: [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-buckets.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-buckets.https.any.js.ini new file mode 100644 index 0000000000..056359c73d --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-buckets.https.any.js.ini @@ -0,0 +1,32 @@ +[FileSystemBaseHandle-buckets.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [isSameEntry works as expected with buckets] + expected: FAIL + + [getDirectory promise rejects if bucket has been deleted] + expected: FAIL + + [Bucket quota restricts the size of a file that can be created] + expected: FAIL + + +[FileSystemBaseHandle-buckets.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + [isSameEntry works as expected with buckets] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT] + FAIL + + [getDirectory promise rejects if bucket has been deleted] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + FAIL + + [Bucket quota restricts the size of a file that can be created] + expected: FAIL + + [Bucket quota restricts the size of a file that can be created] + expected: FAIL diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-getUniqueId.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-getUniqueId.https.any.js.ini new file mode 100644 index 0000000000..3e2baed342 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-getUniqueId.https.any.js.ini @@ -0,0 +1,130 @@ +[FileSystemBaseHandle-getUniqueId.https.any.html] + expected: + if (os == "win") and debug and swgl: [OK, TIMEOUT] + if (os == "win") and not debug: [OK, TIMEOUT] + [identical directory handles return the same ID] + expected: FAIL + + [different directories return different IDs] + expected: FAIL + + [different handles for the same directory return the same ID] + expected: FAIL + + [identical file handles return the same unique ID] + expected: + if (processor == "x86") and not debug: [FAIL, TIMEOUT] + FAIL + + [different files return different IDs] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, TIMEOUT] + FAIL + + [different handles for the same file return the same ID] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, TIMEOUT, NOTRUN] + FAIL + + [two files of the same name in different directories return different IDs] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, TIMEOUT, NOTRUN] + FAIL + + [a file and a directory return different IDs] + expected: + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, NOTRUN] + FAIL + + [a file and a directory of the same path return different IDs] + expected: + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, NOTRUN] + FAIL + + [unique ID of a file handle does not change after writes] + expected: + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, NOTRUN] + FAIL + + [unique ID is in GUID version 4 format] + expected: + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, NOTRUN] + FAIL + + +[FileSystemBaseHandle-getUniqueId.https.any.worker.html] + expected: + if (os == "win") and debug and swgl: [OK, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + [identical directory handles return the same ID] + expected: FAIL + + [different directories return different IDs] + expected: FAIL + + [different handles for the same directory return the same ID] + expected: FAIL + + [identical file handles return the same unique ID] + expected: + if (processor == "x86") and (os == "win") and not debug: [FAIL, TIMEOUT] + FAIL + + [different files return different IDs] + expected: + if (os == "win") and debug and swgl: [FAIL, TIMEOUT] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN] + FAIL + + [different handles for the same file return the same ID] + expected: + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, NOTRUN] + FAIL + + [two files of the same name in different directories return different IDs] + expected: + if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + FAIL + + [a file and a directory return different IDs] + expected: + if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + FAIL + + [a file and a directory of the same path return different IDs] + expected: + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + FAIL + + [unique ID of a file handle does not change after writes] + expected: + if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + FAIL + + [unique ID is in GUID version 4 format] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, TIMEOUT, NOTRUN] + FAIL diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-isSameEntry.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-isSameEntry.https.any.js.ini new file mode 100644 index 0000000000..31342d8180 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-isSameEntry.https.any.js.ini @@ -0,0 +1,107 @@ +[FileSystemBaseHandle-isSameEntry.https.any.worker.html] + expected: + 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 == "win") and debug and swgl: [OK, TIMEOUT] + [isSameEntry comparing two files pointing to the same path returns true] + 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 swgl: [PASS, NOTRUN] + + [isSameEntry comparing two directories pointing to the same path returns true] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [isSameEntry comparing a file to a directory of the same path returns false] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [isSameEntry comparing a file to a file in a different directory returns false] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT, NOTRUN] + + [isSameEntry for different files returns false] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT, NOTRUN] + + [isSameEntry comparing a file to a directory returns false] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] + + [isSameEntry for identical file handles returns true] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] + + [isSameEntry for different handles for the same directory] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT] + if (os == "win") and swgl: [PASS, TIMEOUT] + + [isSameEntry for different handles for the same file] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] + + +[FileSystemBaseHandle-isSameEntry.https.any.html] + expected: + if (os == "win") and debug and swgl: [OK, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [OK, ERROR, TIMEOUT] + if (os == "win") and not debug and (processor == "x86_64"): [OK, ERROR, TIMEOUT] + [isSameEntry comparing two directories pointing to the same path returns true] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + + [isSameEntry comparing a file to a directory of the same path returns false] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [isSameEntry for different handles for the same directory] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT] + if (os == "win") and swgl: [PASS, TIMEOUT] + + [isSameEntry for identical file handles returns true] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] + + [isSameEntry for different files returns false] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT, NOTRUN] + + [isSameEntry for different handles for the same file] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] + + [isSameEntry comparing a file to a file in a different directory returns false] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT, NOTRUN] + + [isSameEntry comparing a file to a directory returns false] + expected: + 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 == "win") and debug and swgl: [PASS, NOTRUN] + + [isSameEntry comparing two files pointing to the same path returns true] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-BroadcastChannel.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-BroadcastChannel.https.window.js.ini new file mode 100644 index 0000000000..9e28c1fbe8 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-BroadcastChannel.https.window.js.ini @@ -0,0 +1,3 @@ +[FileSystemBaseHandle-postMessage-BroadcastChannel.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-Error.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-Error.https.window.js.ini new file mode 100644 index 0000000000..f6ff92e032 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-Error.https.window.js.ini @@ -0,0 +1,32 @@ +[FileSystemBaseHandle-postMessage-Error.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Fail to send and receive messages using a cross origin iframe.] + expected: PASS + + [Fail to send and receive messages using a cross origin message port in an iframe.] + expected: PASS + + [Fail to send to a sandboxed iframe.] + expected: PASS + + [Fail to send messages using a message port to a sandboxed iframe.] + expected: PASS + + [Fail to send messages to a data URI iframe.] + expected: PASS + + [Fail to send messages using a message port in a data URI iframe.] + expected: PASS + + [Fail to send and receive messages using a cross origin window.] + expected: PASS + + [Fail to send and receive messages using a cross origin message port in a window.] + expected: PASS + + [Fail to send messages to a sandboxed window.] + expected: PASS + + [Fail to send messages using a message port to a sandboxed window.] + expected: PASS diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-frames.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-frames.https.window.js.ini new file mode 100644 index 0000000000..39b29f619d --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-frames.https.window.js.ini @@ -0,0 +1,3 @@ +[FileSystemBaseHandle-postMessage-MessagePort-frames.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-windows.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-windows.https.window.js.ini new file mode 100644 index 0000000000..b1d7c8aab9 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-windows.https.window.js.ini @@ -0,0 +1,3 @@ +[FileSystemBaseHandle-postMessage-MessagePort-windows.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-workers.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-workers.https.window.js.ini new file mode 100644 index 0000000000..1d707e60b0 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-MessagePort-workers.https.window.js.ini @@ -0,0 +1,3 @@ +[FileSystemBaseHandle-postMessage-MessagePort-workers.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-frames.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-frames.https.window.js.ini new file mode 100644 index 0000000000..ec14dafb69 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-frames.https.window.js.ini @@ -0,0 +1,3 @@ +[FileSystemBaseHandle-postMessage-frames.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-windows.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-windows.https.window.js.ini new file mode 100644 index 0000000000..3f60d62641 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-windows.https.window.js.ini @@ -0,0 +1,3 @@ +[FileSystemBaseHandle-postMessage-windows.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-workers.https.window.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-workers.https.window.js.ini new file mode 100644 index 0000000000..5600af1779 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-postMessage-workers.https.window.js.ini @@ -0,0 +1,4 @@ +[FileSystemBaseHandle-postMessage-workers.https.window.html] + expected: + if (os == "linux") and not fission and not debug: [OK, CRASH] + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemBaseHandle-remove.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemBaseHandle-remove.https.any.js.ini new file mode 100644 index 0000000000..89f51e169b --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemBaseHandle-remove.https.any.js.ini @@ -0,0 +1,98 @@ +[FileSystemBaseHandle-remove.https.any.worker.html] + expected: + if (processor == "x86_64") and (os == "win") and swgl: [OK, TIMEOUT] + if (processor == "x86") and not debug: [OK, TIMEOUT] + [remove() to remove a file] + expected: + if (processor == "x86") and not debug: [FAIL, TIMEOUT] + FAIL + + [remove() on an already removed file should fail] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() to remove an empty directory] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on an already removed directory should fail] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on a non-empty directory should fail] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on a directory recursively should delete all sub-items] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on a file should ignore the recursive option] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() while the file has an open writable fails] + expected: + if (processor == "x86") and (os == "win") and not debug: [FAIL, TIMEOUT, NOTRUN] + if (processor == "x86_64") and (os == "win") and swgl: [FAIL, TIMEOUT] + if (processor == "x86") and (os == "linux"): [FAIL, NOTRUN] + FAIL + + [can remove the root of a sandbox file system] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and swgl: [FAIL, NOTRUN] + FAIL + + +[FileSystemBaseHandle-remove.https.any.html] + expected: + if (processor == "x86") and not debug: [OK, TIMEOUT] + [remove() to remove a file] + expected: + if (processor == "x86") and not debug: [FAIL, TIMEOUT] + FAIL + + [remove() on an already removed file should fail] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() to remove an empty directory] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on an already removed directory should fail] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on a non-empty directory should fail] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on a directory recursively should delete all sub-items] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() on a file should ignore the recursive option] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [remove() while the file has an open writable fails] + expected: + if (processor == "x86") and not debug: [FAIL, NOTRUN] + FAIL + + [can remove the root of a sandbox file system] + expected: FAIL diff --git a/testing/web-platform/meta/fs/FileSystemDirectoryHandle-getDirectoryHandle.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-getDirectoryHandle.https.any.js.ini new file mode 100644 index 0000000000..cbab5d123f --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-getDirectoryHandle.https.any.js.ini @@ -0,0 +1,14 @@ +[FileSystemDirectoryHandle-getDirectoryHandle.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [getDirectoryHandle() when a file already exists with the same name] + expected: + if (os == "android") and not debug: [PASS, FAIL] + + +[FileSystemDirectoryHandle-getDirectoryHandle.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [getDirectoryHandle() when a file already exists with the same name] + expected: + if (os == "android") and not debug: [PASS, FAIL] diff --git a/testing/web-platform/meta/fs/FileSystemDirectoryHandle-getFileHandle.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-getFileHandle.https.any.js.ini new file mode 100644 index 0000000000..bb0cd658c1 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-getFileHandle.https.any.js.ini @@ -0,0 +1,22 @@ +[FileSystemDirectoryHandle-getFileHandle.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [getFileHandle(create=false) when a directory already exists with the same name] + expected: + if (os == "android") and not debug: [PASS, FAIL] + + [getFileHandle(create=true) when a directory already exists with the same name] + expected: + if (os == "android") and not debug: [PASS, FAIL] + + +[FileSystemDirectoryHandle-getFileHandle.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [getFileHandle(create=false) when a directory already exists with the same name] + expected: + if (os == "android") and not debug: [PASS, FAIL] + + [getFileHandle(create=true) when a directory already exists with the same name] + expected: + if (os == "android") and not debug: [PASS, FAIL] diff --git a/testing/web-platform/meta/fs/FileSystemDirectoryHandle-iteration.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-iteration.https.any.js.ini new file mode 100644 index 0000000000..b8656a7b92 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-iteration.https.any.js.ini @@ -0,0 +1,43 @@ +[FileSystemDirectoryHandle-iteration.https.any.worker.html] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [OK, TIMEOUT] + if (os == "win") and swgl: [OK, TIMEOUT] + [iteration while iterator gets garbage collected] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] + + [keys: full iteration works] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT] + + [values: full iteration works] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [entries: full iteration works] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [@@asyncIterator: full iteration works] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + +[FileSystemDirectoryHandle-iteration.https.any.html] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [OK, ERROR] + if (os == "win") and swgl: [OK, TIMEOUT] + [iteration while iterator gets garbage collected] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT] + + [keys: full iteration works] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [values: full iteration works] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fs/FileSystemDirectoryHandle-removeEntry.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-removeEntry.https.any.js.ini new file mode 100644 index 0000000000..536e207ca6 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-removeEntry.https.any.js.ini @@ -0,0 +1,162 @@ +[FileSystemDirectoryHandle-removeEntry.https.any.html] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [ERROR, TIMEOUT] + if (os == "win") and debug and (processor == "x86"): [ERROR, TIMEOUT] + if (os == "win") and not debug: [ERROR, TIMEOUT] + if (os == "mac") and not debug: [ERROR, TIMEOUT] + ERROR + [removeEntry() to remove a file] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + + [removeEntry() on an already removed file should fail] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [removeEntry() to remove an empty directory] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [removeEntry() on a directory recursively should delete all sub-items] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [removeEntry() while the file has an open writable fails] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [createWritable after removeEntry succeeds but doesnt recreate the file] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [removeEntry() with a path separator should fail.] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [PASS, NOTRUN] + + [removeEntry() with empty name should fail] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86") and not debug: [PASS, NOTRUN] + if (os == "win") and (processor == "x86") and debug: [PASS, TIMEOUT] + + [removeEntry() with "." name should fail] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [removeEntry() on a non-empty directory should fail] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [removeEntry() of a directory while a containing file has an open writable fails] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "win") and not debug: [PASS, NOTRUN] + + [removeEntry() with ".." name should fail] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [PASS, NOTRUN] + + +[FileSystemDirectoryHandle-removeEntry.https.any.worker.html] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [ERROR, TIMEOUT] + if (os == "win") and (processor == "x86_64") and not debug: [ERROR, OK, TIMEOUT] + if (os == "mac") and not debug: [ERROR, TIMEOUT] + if (os == "win") and (processor == "x86"): [ERROR, TIMEOUT] + ERROR + [removeEntry() with "." name should fail] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [PASS, NOTRUN] + + [removeEntry() with ".." name should fail] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [removeEntry() with a path separator should fail.] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [PASS, NOTRUN] + + [removeEntry() while the file has an open writable fails] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL, NOTRUN] + + [createWritable after removeEntry succeeds but doesnt recreate the file] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [removeEntry() on a directory recursively should delete all sub-items] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT] + + [removeEntry() on an already removed file should fail] + 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] + if (os == "win") and swgl: [PASS, TIMEOUT, NOTRUN] + + [removeEntry() to remove an empty directory] + expected: + if (os == "win") and not swgl and 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 swgl: [PASS, NOTRUN] + + [removeEntry() with empty name should fail] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [removeEntry() on a non-empty directory should fail] + expected: + if (os == "win") and not swgl and 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 swgl: [PASS, NOTRUN] + + [removeEntry() to remove a file] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [removeEntry() of a directory while a containing file has an open writable fails] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "win") and not debug: [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fs/FileSystemDirectoryHandle-resolve.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-resolve.https.any.js.ini new file mode 100644 index 0000000000..1b0319f642 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemDirectoryHandle-resolve.https.any.js.ini @@ -0,0 +1,27 @@ +[FileSystemDirectoryHandle-resolve.https.any.html] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [OK, TIMEOUT] + if (os == "win") and swgl: [OK, TIMEOUT] + [Resolve returns correct path with non-ascii characters] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + [Resolve returns null when entry is not a child] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT] + + +[FileSystemDirectoryHandle-resolve.https.any.worker.html] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [OK, TIMEOUT] + if (os == "win") and swgl: [OK, TIMEOUT] + [Resolve returns correct path with non-ascii characters] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + if (os == "win") and swgl: [PASS, TIMEOUT] + + [Resolve returns null when entry is not a child] + expected: + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fs/FileSystemFileHandle-create-sync-access-handle.https.tentative.window.js.ini b/testing/web-platform/meta/fs/FileSystemFileHandle-create-sync-access-handle.https.tentative.window.js.ini new file mode 100644 index 0000000000..1e0c593bac --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemFileHandle-create-sync-access-handle.https.tentative.window.js.ini @@ -0,0 +1,6 @@ +prefs: [dom.fs.enabled:false] +[FileSystemFileHandle-create-sync-access-handle.https.tentative.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Attempt to create a sync access handle.] + expected: FAIL diff --git a/testing/web-platform/meta/fs/FileSystemFileHandle-getFile.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemFileHandle-getFile.https.any.js.ini new file mode 100644 index 0000000000..dece2523cb --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemFileHandle-getFile.https.any.js.ini @@ -0,0 +1,11 @@ +[FileSystemFileHandle-getFile.https.any.worker.html] + expected: + if swgl and (os == "win"): [OK, TIMEOUT] + [getFile() returns last modified time] + expected: + if swgl and (os == "win"): [PASS, TIMEOUT] + + +[FileSystemFileHandle-getFile.https.any.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, ERROR, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemFileHandle-move.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemFileHandle-move.https.any.js.ini new file mode 100644 index 0000000000..6bc6de1486 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemFileHandle-move.https.any.js.ini @@ -0,0 +1,319 @@ +[FileSystemFileHandle-move.https.any.worker.html] + expected: + if (os == "win") and not swgl: [OK, TIMEOUT] + if (os == "win") and swgl: [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + [move(name) with a name with a trailing period should fail] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [FAIL, NOTRUN] + FAIL + + [move(dir) while the destination file has an open writable fails] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL, TIMEOUT, NOTRUN] + if (os == "win") and debug and not swgl: [PASS, NOTRUN] + if (os == "win") and debug and swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [move(dir, name) while the destination file has an open writable fails] + expected: + if (os == "win") and not swgl and debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, FAIL, TIMEOUT, NOTRUN] + if (os == "win") and swgl: [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [move(dir, name) while the file has an open writable fails] + expected: + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + + [move(dir, name) to move a file to a new directory] + expected: + if os == "win": [PASS, NOTRUN] + + [move(dir) can be called multiple times] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [move(dir, "") to move a file to a new directory fails] + 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: [PASS, NOTRUN] + + [move(dir, name) can be called multiple times] + expected: + if (os == "win") and debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [move(dir) while the file has an open writable fails] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [move(dir, name) with a name with invalid characters should fail] + expected: + if (os == "win") and debug: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [move(name) to rename a file] + expected: + if (processor == "x86") and not debug: [PASS, TIMEOUT] + + [get a handle to a moved file] + expected: + if (processor == "x86") and not debug: [PASS, TIMEOUT, NOTRUN] + + [move(name) to rename a file the same name] + expected: + if (processor == "x86") and debug: [PASS, TIMEOUT] + if (processor == "x86") and not debug: [PASS, NOTRUN] + + [move("") to rename a file fails] + expected: + if (processor == "x86_64") and (os == "win") and not debug: [PASS, TIMEOUT] + if processor == "x86": [PASS, NOTRUN] + + [move(name) can be called multiple times] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [PASS, TIMEOUT] + if (os == "win") and (processor == "x86_64") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [PASS, NOTRUN] + + [move(name) with a name with invalid characters should fail] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [move(name) can overwrite an existing file] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and (processor == "x86_64") and not debug: [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [FAIL, NOTRUN] + FAIL + + [move(dir, name) to rename a file] + 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_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT, NOTRUN] + + [move(dir) to move a file to a new directory] + 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] + + [move(dir) can overwrite an existing file] + expected: + if (os == "win") and debug and not swgl: [FAIL, NOTRUN] + if (os == "win") and debug and swgl: [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [FAIL, NOTRUN] + FAIL + + [move(dir, name) can overwrite an existing file] + expected: + if (os == "win") and not swgl and debug: [FAIL, NOTRUN] + if (os == "win") and not swgl and not debug: [FAIL, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [FAIL, NOTRUN] + if (os == "win") and swgl: [FAIL, NOTRUN, TIMEOUT] + FAIL + + [FileSystemFileHandles are references, not paths] + expected: + if (os == "win") and debug and not swgl: [PASS, NOTRUN] + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + + [move(dir, name) to rename a file the same name] + expected: + if (os == "win") and (processor == "x86") and not debug: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64"): [PASS, NOTRUN] + + [move(name) while the destination file has an open writable fails] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [move(name) while the file has an open writable fails] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + +[FileSystemFileHandle-move.https.any.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, ERROR, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [OK, ERROR, TIMEOUT] + if (os == "win") and debug and swgl: [OK, ERROR, TIMEOUT] + if (os == "win") and debug and not swgl: [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + [move(name) to rename a file] + expected: + if (processor == "x86") and not debug: [PASS, TIMEOUT] + + [move(name) to rename a file the same name] + expected: + if (processor == "x86") and not debug: [PASS, NOTRUN] + if (processor == "x86") and debug: [PASS, TIMEOUT] + + [move("") to rename a file fails] + expected: + if (processor == "x86_64") and (os == "win") and not debug: [PASS, TIMEOUT] + if processor == "x86": [PASS, NOTRUN] + + [get a handle to a moved file] + expected: + if (processor == "x86") and not debug: [PASS, NOTRUN] + + [move(name) can be called multiple times] + 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] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + + [move(name) with a name with a trailing period should fail] + expected: + if (os == "win") and debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "win") and not debug: [FAIL, NOTRUN] + FAIL + + [move(name) with a name with invalid characters should fail] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [move(name) while the file has an open writable fails] + expected: + if (os == "win") and debug and (processor == "x86_64"): [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [move(name) while the destination file has an open writable fails] + expected: + if os == "win": [PASS, NOTRUN] + + [move(dir, name) to rename a file] + 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: [PASS, NOTRUN] + + [move(dir, name) to rename a file the same name] + expected: + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] + + [move(dir) to move a file to a new directory] + 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: [PASS, NOTRUN] + + [move(dir, name) to move a file to a new directory] + 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] + + [move(dir) can be called multiple times] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] + + [move(dir, name) can be called multiple times] + expected: + if (os == "win") and (processor == "x86_64") and not swgl: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64") and swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [move(dir, name) with a name with invalid characters should fail] + 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] + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] + + [move(dir) while the file has an open writable fails] + expected: + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not swgl: [PASS, NOTRUN] + + [move(dir, name) while the file has an open writable fails] + expected: + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] + + [move(dir) while the destination file has an open writable fails] + expected: + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] + + [move(dir, name) while the destination file has an open writable fails] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and debug and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + + [move(dir, "") to move a file to a new directory fails] + expected: + if (os == "win") and (processor == "x86_64") and swgl: [PASS, NOTRUN] + if (os == "win") and (processor == "x86_64") and not swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and (processor == "x86"): [PASS, NOTRUN] + + [move(name) can overwrite an existing file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and debug: [FAIL, NOTRUN] + FAIL + + [move(dir) can overwrite an existing file] + expected: + if (os == "win") and not debug: [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and debug: [FAIL, NOTRUN] + if (os == "mac") and not debug: [FAIL, NOTRUN] + FAIL + + [move(dir, name) can overwrite an existing file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [FAIL, NOTRUN] + if (os == "win") and debug: [FAIL, NOTRUN] + FAIL + + [FileSystemFileHandles are references, not paths] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + if (os == "mac") and not debug: [PASS, NOTRUN] + if (os == "win") and debug: [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fs/FileSystemFileHandle-sync-access-handle-writable-lock.https.tentative.worker.js.ini b/testing/web-platform/meta/fs/FileSystemFileHandle-sync-access-handle-writable-lock.https.tentative.worker.js.ini new file mode 100644 index 0000000000..89138b685f --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemFileHandle-sync-access-handle-writable-lock.https.tentative.worker.js.ini @@ -0,0 +1,2 @@ +[FileSystemFileHandle-sync-access-handle-writable-lock.https.tentative.worker.html] + expected: ERROR diff --git a/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-close.https.tentative.worker.js.ini b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-close.https.tentative.worker.js.ini new file mode 100644 index 0000000000..1b7760ea13 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-close.https.tentative.worker.js.ini @@ -0,0 +1,45 @@ +[FileSystemSyncAccessHandle-close.https.tentative.worker.html] + expected: + if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "linux") and not debug and fission: [OK, CRASH] + [SyncAccessHandle.close is idempotent] + expected: + if not debug and (os == "win") and (processor == "x86"): [PASS, TIMEOUT] + if not debug and (os == "win") and (processor == "x86_64"): PASS + if debug: PASS + [PASS, FAIL] + + [SyncAccessHandle.read fails after SyncAccessHandle.close] + expected: + if not debug and (os == "win") and (processor == "x86_64"): PASS + if not debug and (os == "win") and (processor == "x86"): [PASS, NOTRUN] + if debug: PASS + [PASS, FAIL] + + [SyncAccessHandle.write fails after SyncAccessHandle.close] + expected: + if not debug and (os == "win") and (processor == "x86"): [PASS, NOTRUN] + if not debug and (os == "win") and (processor == "x86_64"): PASS + if debug: PASS + [PASS, FAIL] + + [SyncAccessHandle.flush fails after SyncAccessHandle.close] + expected: + if not debug and (os == "win") and (processor == "x86"): [PASS, NOTRUN] + if not debug and (os == "win") and (processor == "x86_64"): PASS + if debug: PASS + [PASS, FAIL] + + [SyncAccessHandle.getSize fails after SyncAccessHandle.close] + expected: + if not debug and (os == "win") and (processor == "x86"): [PASS, NOTRUN] + if not debug and (os == "win") and (processor == "x86_64"): PASS + if debug: PASS + [PASS, FAIL] + + [SyncAccessHandle.truncate fails after SyncAccessHandle.handle.close] + expected: + if not debug and (os == "win") and (processor == "x86_64"): PASS + if not debug and (os == "win") and (processor == "x86"): [PASS, NOTRUN] + if debug: PASS + [PASS, FAIL] diff --git a/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-flush.https.tentative.worker.js.ini b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-flush.https.tentative.worker.js.ini new file mode 100644 index 0000000000..882c2bd49a --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-flush.https.tentative.worker.js.ini @@ -0,0 +1,3 @@ +[FileSystemSyncAccessHandle-flush.https.tentative.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-getSize.https.tentative.worker.js.ini b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-getSize.https.tentative.worker.js.ini new file mode 100644 index 0000000000..138daf974b --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-getSize.https.tentative.worker.js.ini @@ -0,0 +1,8 @@ +[FileSystemSyncAccessHandle-getSize.https.tentative.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [test SyncAccessHandle.getSize after SyncAccessHandle.write] + expected: + if not debug and (os == "mac"): [PASS, FAIL] + if not debug and (os == "linux"): [PASS, FAIL] + if not debug and (os == "android"): [PASS, FAIL] diff --git a/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-read-write.https.tentative.worker.js.ini b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-read-write.https.tentative.worker.js.ini new file mode 100644 index 0000000000..60919acf1f --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-read-write.https.tentative.worker.js.ini @@ -0,0 +1,6 @@ +[FileSystemSyncAccessHandle-read-write.https.tentative.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + + [Test reading and writing a file using the cursor] + expected: PASS diff --git a/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-truncate.https.tentative.worker.js.ini b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-truncate.https.tentative.worker.js.ini new file mode 100644 index 0000000000..35cfdf0d4b --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemSyncAccessHandle-truncate.https.tentative.worker.js.ini @@ -0,0 +1,12 @@ +[FileSystemSyncAccessHandle-truncate.https.tentative.worker.html] + [test SyncAccessHandle.truncate with different sizes] + expected: + if not debug and (os == "mac"): [PASS, FAIL] + if not debug and (os == "linux"): [PASS, FAIL] + if not debug and (os == "android"): [PASS, FAIL] + + [test SyncAccessHandle.truncate after SyncAccessHandle.write] + expected: + if not debug and (os == "mac"): [PASS, FAIL] + if not debug and (os == "linux"): [PASS, FAIL] + if not debug and (os == "android"): [PASS, FAIL] diff --git a/testing/web-platform/meta/fs/FileSystemWritableFileStream-piped.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemWritableFileStream-piped.https.any.js.ini new file mode 100644 index 0000000000..f0049f5056 --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemWritableFileStream-piped.https.any.js.ini @@ -0,0 +1,56 @@ +prefs: [dom.fs.enabled:false] +[FileSystemWritableFileStream-piped.https.any.html] + expected: + if (os == "linux") and not debug and fission: [OK, CRASH] + if (os == "android") and fission: [OK, TIMEOUT] + [can be piped to with a string] + expected: FAIL + + [can be piped to with an ArrayBuffer] + expected: FAIL + + [can be piped to with a Blob] + expected: FAIL + + [can be piped to with a param object with write command] + expected: FAIL + + [can be piped to with a param object with multiple commands] + expected: FAIL + + [multiple operations can be queued] + expected: FAIL + + [plays well with fetch] + expected: FAIL + + [abort() aborts write] + expected: FAIL + + +[FileSystemWritableFileStream-piped.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [can be piped to with a string] + expected: FAIL + + [can be piped to with an ArrayBuffer] + expected: FAIL + + [can be piped to with a Blob] + expected: FAIL + + [can be piped to with a param object with write command] + expected: FAIL + + [can be piped to with a param object with multiple commands] + expected: FAIL + + [multiple operations can be queued] + expected: FAIL + + [plays well with fetch] + expected: FAIL + + [abort() aborts write] + expected: FAIL 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] diff --git a/testing/web-platform/meta/fs/FileSystemWritableFileStream.https.any.js.ini b/testing/web-platform/meta/fs/FileSystemWritableFileStream.https.any.js.ini new file mode 100644 index 0000000000..c5284915cb --- /dev/null +++ b/testing/web-platform/meta/fs/FileSystemWritableFileStream.https.any.js.ini @@ -0,0 +1,76 @@ +[FileSystemWritableFileStream.https.any.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + if (os == "win") and debug and (processor == "x86"): [OK, TIMEOUT] + [truncate() to grow a file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + [createWritable() fails when parent directory is removed] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [createWritable({keepExistingData: true}): atomic writable file stream initialized with source contents] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [createWritable({keepExistingData: false}): atomic writable file stream initialized with empty file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [FAIL, TIMEOUT] + FAIL + + [cursor position: truncate size > offset] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + + [cursor position: truncate size < offset] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + + [commands are queued, stream is unlocked after each operation] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + + +[FileSystemWritableFileStream.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] + [createWritable({keepExistingData: false}): atomic writable file stream initialized with empty file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [FAIL, NOTRUN] + FAIL + + [commands are queued, stream is unlocked after each operation] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + + [cursor position: truncate size < offset] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [createWritable({keepExistingData: true}): atomic writable file stream initialized with source contents] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [createWritable() fails when parent directory is removed] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and debug and (processor == "x86"): [PASS, TIMEOUT] + + [truncate() to grow a file] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + [cursor position: truncate size > offset] + expected: + if (os == "win") and debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fs/__dir__.ini b/testing/web-platform/meta/fs/__dir__.ini new file mode 100644 index 0000000000..cf3eebf71a --- /dev/null +++ b/testing/web-platform/meta/fs/__dir__.ini @@ -0,0 +1,2 @@ +prefs: [dom.fs.enabled:true, dom.fs.writable_file_stream.enabled:true] +lsan-allowed: [Alloc, MakeRefPtr, MakeUnique, NS_NewRunnableFunction, NewPage, mozilla::ipc::MessageChannel::MessageChannel, nsThread::nsThread, nsThreadManager::NewNamedThread] diff --git a/testing/web-platform/meta/fs/idlharness.https.any.js.ini b/testing/web-platform/meta/fs/idlharness.https.any.js.ini new file mode 100644 index 0000000000..cfc512353f --- /dev/null +++ b/testing/web-platform/meta/fs/idlharness.https.any.js.ini @@ -0,0 +1,31 @@ +[idlharness.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [FileSystemSyncAccessHandle interface: operation truncate(unsigned long long)] + expected: + if not debug and (os == "mac"): [PASS, FAIL] + if not debug and (os == "linux"): [PASS, FAIL] + if not debug and (os == "android"): [PASS, FAIL] + + [FileSystemSyncAccessHandle interface: operation getSize()] + expected: + if not debug and (os == "linux"): [PASS, FAIL] + if not debug and (os == "mac"): [PASS, FAIL] + if not debug and (os == "android"): [PASS, FAIL] + + [FileSystemSyncAccessHandle interface: operation flush()] + expected: + if not debug and (os == "android"): [PASS, FAIL] + if not debug and (os == "mac"): [PASS, FAIL] + if not debug and (os == "linux"): [PASS, FAIL] + + [FileSystemSyncAccessHandle interface: operation close()] + expected: + if not debug and (os == "android"): [PASS, FAIL] + if not debug and (os == "linux"): [PASS, FAIL] + if not debug and (os == "mac"): [PASS, FAIL] + + +[idlharness.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fs/opaque-origin.https.window.js.ini b/testing/web-platform/meta/fs/opaque-origin.https.window.js.ini new file mode 100644 index 0000000000..73b71a4033 --- /dev/null +++ b/testing/web-platform/meta/fs/opaque-origin.https.window.js.ini @@ -0,0 +1,12 @@ +prefs: [dom.fs.enabled:false] +[opaque-origin.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [FileSystemDirectoryHandle must be defined for data URI iframes.] + expected: FAIL + + [navigator.storage.getDirectory() must reject in a sandboxed iframe.] + expected: FAIL + + [navigator.storage.getDirectory() must reject in a sandboxed opened window.] + expected: FAIL |