Closed
Bug 1483505
Opened 6 years ago
Closed 6 years ago
Registering a service worker with a data: URL throws SecurityError instead of TypeError
Categories
(Core :: DOM: Service Workers, enhancement, P3)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: ytausky, Assigned: ytausky)
References
Details
Attachments
(1 file)
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 | ||
Updated•6 years ago
|
Assignee: nobody → ytausky
Status: NEW → ASSIGNED
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
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 2•6 years ago
|
||
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 bugmail@asutherland.org:
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.
Comment 6•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•