diff --git a/testing/web-platform/mozilla/meta/service-workers/service-worker/multiple-register.https.html.ini b/testing/web-platform/mozilla/meta/service-workers/service-worker/multiple-register.https.html.ini deleted file mode 100644 index 42ca37612ac9..000000000000 --- a/testing/web-platform/mozilla/meta/service-workers/service-worker/multiple-register.https.html.ini +++ /dev/null @@ -1,12 +0,0 @@ -[multiple-register.https.html] - type: testharness - expected: TIMEOUT - [Subsequent registrations resolve to the same registration object] - expected: FAIL - - [Subsequent registrations from a different iframe resolve to the different registration object but they refer to the same registration and workers] - expected: TIMEOUT - - [Concurrent registrations resolve to the same registration object] - expected: FAIL - diff --git a/testing/web-platform/mozilla/tests/service-workers/service-worker/multiple-register.https.html b/testing/web-platform/mozilla/tests/service-workers/service-worker/multiple-register.https.html index 5b204585e92d..b0ef3cf9d954 100644 --- a/testing/web-platform/mozilla/tests/service-workers/service-worker/multiple-register.https.html +++ b/testing/web-platform/mozilla/tests/service-workers/service-worker/multiple-register.https.html @@ -2,6 +2,7 @@ + + diff --git a/testing/web-platform/mozilla/tests/service-workers/service-worker/resources/404.py b/testing/web-platform/mozilla/tests/service-workers/service-worker/resources/404.py new file mode 100644 index 000000000000..235a3d4ff0e5 --- /dev/null +++ b/testing/web-platform/mozilla/tests/service-workers/service-worker/resources/404.py @@ -0,0 +1,5 @@ +# iframe does not fire onload event if the response's content-type is not +# text/plain or text/html so this script exists if you want to test a 404 load +# in an iframe. +def main(req, res): + return 404, [('Content-Type', 'text/plain')], "Page not found"