Closed Bug 1483505 Opened 5 years ago Closed 5 years ago
Registering a service worker with a data: URL throws Security
Error instead of Type Error
46 bytes, text/x-phabricator-request
|Details | Review|
The spec requires a TypeError in this case: https://w3c.github.io/ServiceWorker/#start-register This is currently not tested, as far as I can tell.
Assignee: nobody → ytausky
Status: NEW → ASSIGNED
The proper response to a registration attempt with a data: URL is a TypeError, yet we currently reject with a Security error. See spec.: https://w3c.github.io/ServiceWorker/#start-register Currently this test is expected to fail.
Comment on attachment 9000536 [details] Bug 1483505: Test ServiceWorkerContainer.register() with a data: URL Andrew Sutherland [:asuth] has approved the revision.
Attachment #9000536 - Flags: review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/0e8f94baa607 Test ServiceWorkerContainer.register() with a data: URL r=asuth
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/12624 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR merged
You need to log in before you can comment on or make changes to this bug.