Open
Bug 1582900
Opened 6 years ago
Updated 1 year ago
Bogus-looking comment in ServiceWorkerContainer::Register
Categories
(Core :: DOM: Service Workers, task, P2)
Core
DOM: Service Workers
Tracking
()
NEW
People
(Reporter: bzbarsky, Unassigned)
Details
(Whiteboard: dom-lws-bugdash-triage)
// Step 5. Parse against entry settings object's base URL.
but it's not doing that. It's getting a base URL from GetParentObject, which is the relevant settings, not entry settings.
Which is good, because the spec at https://w3c.github.io/ServiceWorker/#navigator-service-worker-register in step 5 says to use the relevant settings. So the code is fine; it's just the comment that's wrong. And caused someone else to write incorrect code today; see https://phabricator.services.mozilla.com/D45457#inline-284160
Updated•6 years ago
|
Priority: -- → P2
Updated•5 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Whiteboard: dom-lws-bugdash-triage
You need to log in
before you can comment on or make changes to this bug.
Description
•