Closed Bug 1247970 Opened 9 years ago Closed 9 years ago

Remove principal spec from service worker registrar file

Categories

(Core :: DOM: Service Workers, defect)

45 Branch
x86_64
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: bkelly, Assigned: bkelly)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1246319 +++ As discussed in bug 1246319, the principal spec often contains the full path of the registering document. We don't need this information since we only care about the origin itself. Since the origin is contained within the scope URL, we can drop the principal spec from the file. This will save us a few bytes, but I think the main gain is removing redundant and confusing information.
This also limites dedupe to older schema versions. We assert there are no duplicates in debug builds always, though. https://treeherder.mozilla.org/#/jobs?repo=try&revision=b79faf6ad17b
Attachment #8719602 - Flags: review?(amarchesini)
Attachment #8719602 - Flags: review?(amarchesini) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: