Closed
Bug 1279453
Opened 8 years ago
Closed 8 years ago
Remove separate worker binding for ServiceWorkerRegistration API
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file)
36.73 KB,
patch
|
bkelly
:
review+
|
Details | Diff | Splinter Review |
This code moves code around, mainly. Instead having 1 ServiceWorkerRegistrationBase class and then 2 webIDL classes (ServiceWorkerRegistrationMainThread and ServiceWorkerRegistrationWorkerThread), with this patch we have: . ServiceWorkerRegistration that is the webIDL class. . ServiceWorkerRegistrationMainThread, not directly exposed. . ServiceWorkerRegistrationWorkerThread, not directly exposed.
Attachment #8761974 -
Flags: review?(bkelly)
Comment 1•8 years ago
|
||
Comment on attachment 8761974 [details] [diff] [review] swr.patch Review of attachment 8761974 [details] [diff] [review]: ----------------------------------------------------------------- Nice cleanup. Thanks! ::: dom/workers/ServiceWorkerRegistration.cpp @@ +75,5 @@ > + > +class ServiceWorkerRegistrationMainThread final : public ServiceWorkerRegistration, > + public ServiceWorkerRegistrationListener > +{ > + friend nsPIDOMWindowInner; Why do we need this friend declaration?
Attachment #8761974 -
Flags: review?(bkelly) → review+
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/559f31d84a6e Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly
Comment 3•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/559f31d84a6e
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•