Closed
Bug 1460635
Opened 6 years ago
Closed 6 years ago
change ServiceWorkerInfo not to directly reference ServiceWorker binding object
Categories
(Core :: DOM: Service Workers, defect, P2)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: bkelly, Assigned: bkelly)
References
Details
Attachments
(1 file, 1 obsolete file)
Currently the ServiceWorker::Inner interface is implemented by ServiceWorkerInfo and the ServiceWorkerInfo directly references the ServiceWorker binding object. This prevents me from implementing an alternative IPC inner object that also interacts with ServiceWorkerInfo in bug 1459209. I need to create a ServiceWorkerInfo::Listener interface so it doesn't directly reference the binding type.
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1bc7da0ef04a64066a770860642da606cdc58bf
Assignee | ||
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=26949ed247032635be244d3ee32a4db2856c6e86
Attachment #8974786 -
Attachment is obsolete: true
Assignee | ||
Comment 3•6 years ago
|
||
Comment on attachment 8974800 [details] [diff] [review] Add ServiceWorkerImpl class to isolate ServiceWorkerInfo from the binding layer. r=baku Andrea, this interposes an Impl class between the binding ServiceWorker and the internal ServiceWorkerInfo. There was already the ServiceWorker::Inner abstract interface, but ServiceWorkerInfo was referencing ServiceWorker directly. This patch adds a ServiceWorkerInfo::Listener and then adds ServiceWorkerImpl as an implementation of both interfaces.
Attachment #8974800 -
Flags: review?(amarchesini)
Updated•6 years ago
|
Attachment #8974800 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 4•6 years ago
|
||
I relanded bug 1456986 with what I hope is a fix for its previous crashes. Lets see if that is stable before landing this.
Pushed by bkelly@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a256429fb18c Add ServiceWorkerImpl class to isolate ServiceWorkerInfo from the binding layer. r=baku
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a256429fb18c
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•