diff options
Diffstat (limited to 'testing/web-platform/meta/IndexedDB/idb-explicit-commit.any.js.ini')
-rw-r--r-- | testing/web-platform/meta/IndexedDB/idb-explicit-commit.any.js.ini | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/testing/web-platform/meta/IndexedDB/idb-explicit-commit.any.js.ini b/testing/web-platform/meta/IndexedDB/idb-explicit-commit.any.js.ini new file mode 100644 index 0000000000..29deb6a8ed --- /dev/null +++ b/testing/web-platform/meta/IndexedDB/idb-explicit-commit.any.js.ini @@ -0,0 +1,137 @@ +[idb-explicit-commit.any.html] + disabled: + if win10_2004 and ccov: https://bugzilla.mozilla.org/show_bug.cgi?id=1733368 + expected: + if (os == "linux") and not fission and not debug: [OK, ERROR] + if (os == "win") and (processor == "x86") and debug: [ERROR, OK] + if (os == "win") and (processor == "x86") and not debug: [ERROR, OK, TIMEOUT] + if (os == "linux") and fission: ERROR + if (os == "win") and (processor == "x86_64"): [ERROR, OK, TIMEOUT] + if (os == "mac") and not debug: [ERROR, OK] + if (os == "mac") and debug: [ERROR, OK] + [Transactions that explicitly commit and have errors should abort.] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: [FAIL, PASS] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [FAIL, PASS, NOTRUN] + if (os == "linux") and not fission and not debug: [PASS, FAIL] + if (os == "win") and debug and (processor == "x86"): [FAIL, PASS] + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [FAIL, PASS, NOTRUN] + if (os == "linux") and fission: FAIL + if (os == "mac") and debug: [FAIL, PASS] + if (os == "mac") and not debug: [FAIL, PASS] + + [Transactions that handle all errors properly should behave as expected when an explicit commit is called in an onerror handler.] + expected: + if (os == "win") and not swgl and debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not swgl and not debug: [PASS, NOTRUN] + if (os == "win") and swgl: [PASS, TIMEOUT] + + [Calling abort on a committed transaction throws and does not prevent persisting the data.] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + [Transactions with same scope should stay in program order, even if one calls commit.] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + + [Calling txn.commit() when txn is inactive should throw.] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [A committed transaction becomes inactive immediately.] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [commit() on a version change transaction does not cause errors.] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN] + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + [Calling commit on an aborted transaction throws.] + 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] + + [Puts issued after commit are not fulfilled.] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [Calling commit on a committed transaction throws.] + 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] + + [A committed transaction is inactive in future request callbacks.] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [Explicitly committed data can be read back out.] + expected: + if (processor == "x86") and not debug: [PASS, TIMEOUT] + + +[idb-explicit-commit.any.worker.html] + expected: + if (os == "win") and (processor == "x86") and not debug: [OK, TIMEOUT] + if (os == "win") and (processor == "x86_64"): [OK, TIMEOUT] + [Calling txn.commit() when txn is inactive should throw.] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [A committed transaction is inactive in future request callbacks.] + expected: + if (os == "win") and debug and swgl: [PASS, TIMEOUT] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + + [Puts issued after commit are not fulfilled.] + 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] + + [Calling commit on an aborted transaction throws.] + 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, TIMEOUT, NOTRUN] + + [Calling abort on a committed transaction throws and does not prevent persisting the data.] + expected: + if (os == "win") and debug and swgl: [PASS, TIMEOUT, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + + [Transactions that explicitly commit and have errors should abort.] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") 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, TIMEOUT, NOTRUN] + + [Transactions with same scope should stay in program order, even if one calls commit.] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [Calling commit on a committed transaction throws.] + expected: + if (os == "win") and debug and swgl: [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, NOTRUN] + + [Transactions that handle all errors properly should behave as expected when an explicit commit is called in an onerror handler.] + expected: + if (os == "win") and debug and (processor == "x86_64"): [PASS, NOTRUN] + if (os == "win") and not debug: [PASS, TIMEOUT, NOTRUN] + + [A committed transaction becomes inactive immediately.] + expected: + if (os == "win") and not debug: [PASS, NOTRUN] + + [commit() on a version change transaction does not cause errors.] + expected: + if (os == "win") and not debug: [PASS, TIMEOUT] |