diff options
Diffstat (limited to 'testing/web-platform/meta/service-workers/service-worker/update-import-scripts.https.html.ini')
-rw-r--r-- | testing/web-platform/meta/service-workers/service-worker/update-import-scripts.https.html.ini | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/web-platform/meta/service-workers/service-worker/update-import-scripts.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/update-import-scripts.https.html.ini new file mode 100644 index 0000000000..c8a3fee344 --- /dev/null +++ b/testing/web-platform/meta/service-workers/service-worker/update-import-scripts.https.html.ini @@ -0,0 +1,32 @@ +[update-import-scripts.https.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [TIMEOUT, OK] + if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, ERROR] + [update() should find an update in an imported script but update() should result in failure due to missing the other imported script.] + expected: + if (os == "win") and not debug and (processor == "x86_64"): NOTRUN + if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN] + if (os == "linux") and not fission and not debug: [FAIL, PASS] + FAIL + + [update() should treat 404 on imported scripts as no change.] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [TIMEOUT, NOTRUN] + if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL, NOTRUN] + if (os == "linux") and not fission and not debug: [PASS, FAIL] + + [update() should fail when a new worker imports an unavailable script.] + expected: + if (processor == "x86_64") and (os == "win") and not debug: [PASS, TIMEOUT] + if (processor == "x86") and not debug: [PASS, TIMEOUT] + + [update() should succeed when the old imported script no longer exist but the new worker doesn't import it.] + 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] + + [update() should work with cross-origin importScripts.] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [NOTRUN, PASS, TIMEOUT] + if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN] |