Closed
Bug 1113621
Opened 10 years ago
Closed 9 years ago
Rename InstallPhaseEvent to ExtendableEvent
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: nsm, Assigned: nsm)
References
Details
Attachments
(1 file)
15.57 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
Change Exposed=ServiceWorker for all ServiceWorker events. Move Func= exposure check to ServiceWorker.
Assignee | ||
Updated•10 years ago
|
Blocks: ServiceWorkers-v1
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8539237 -
Flags: review?(amarchesini)
Comment 2•10 years ago
|
||
Comment on attachment 8539237 [details] [diff] [review] Rename InstallPhaseEvent to ExtendableEvent Review of attachment 8539237 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bindings/Bindings.conf @@ +433,5 @@ > }, > }, > > +'ExtendableEvent': { > + 'headerFile': 'ServiceWorkerEvents.h', mozilla/dom/ServiceWorkerEvents.h ? ::: dom/workers/ServiceWorker.cpp @@ +17,5 @@ > + > +namespace mozilla { > +namespace dom { > +namespace workers { > + why do you don't like USING_WORKER_NAMESPACE? or BEGIN_WORKER_NAMESPACE? @@ +28,5 @@ > + > + ServiceWorkerGlobalScope* scope = nullptr; > + nsresult rv = UnwrapObject<prototypes::id::ServiceWorkerGlobalScope_workers, > + mozilla::dom::ServiceWorkerGlobalScopeBinding_workers::NativeType>(aObj, scope); > + return NS_SUCCEEDED(rv) && scope; if the unwrapping succeeds, scope is always set: return NS_SUCCEEDED(rv); should be enough.
Attachment #8539237 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Andrea Marchesini (:baku) from comment #2) > ::: dom/workers/ServiceWorker.cpp > @@ +17,5 @@ > > + > > +namespace mozilla { > > +namespace dom { > > +namespace workers { > > + > > why do you don't like USING_WORKER_NAMESPACE? or BEGIN_WORKER_NAMESPACE? At one point either khuey or bent told me not to use it :/
Assignee | ||
Comment 4•9 years ago
|
||
Note to self to remove workers: True in Bindings.conf since it is not required when correct Exposed annotations are used.
Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5ed6d1902cc7
I accidentally backed this out (instead of bug 1113631) in https://hg.mozilla.org/integration/mozilla-inbound/rev/961c75198f9d Relanded it in https://hg.mozilla.org/integration/mozilla-inbound/rev/fbf421e77962 as it wasn't supposed to be backed out, though.
Comment 8•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fbf421e77962
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•