Open Bug 1228149 Opened 9 years ago Updated 2 years ago

Return the same ServiceWorkerRegistration object from service worker APIs on workers

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned, Mentored)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

This is bug 1201127 for workers.
Whiteboard: [tw-dom]
I would like to try on this bug.
Assignee: nobody → ttung
Does this cover anything more than ServiceWorkerGlobalScope.registration?
Flags: needinfo?(ehsan)
(In reply to Josh Matthews [:jdm] from comment #2)
> Does this cover anything more than ServiceWorkerGlobalScope.registration?

For now, that's the only one.  Once we fix bug 1131324, there will be other ones as well.

Tom, please file a follow-up bug for those ones so that we don't forget about them.  Thanks!
Flags: needinfo?(ehsan)
Sure, I file Bug 1255275 for remembering that. 
Ehsan, could you help me to check whether the description at Bug 1255275 is correct or not? Since I am very new to Service Worker, I'm afraid that I misunderstand something. Thanks!
Mentor: ehsan
Looks good!  Thanks, Tom!
Hi Ehsan, 

I am confusing about this bug since the registration in worker(ServiceWorkerGlobalScope.registration) has already returned same object(ServiceWorkerRegistrationWorkerThread and it's native type of ServiceWorkerRegistration?). Could you tell me more about this bug?  Thanks!
Flags: needinfo?(ehsan)
You're right.  There seems to be nothing to do here before we fix bug 1131324 (which is why the bug dependency exists.)  Sorry for the confusing back and forth!
Flags: needinfo?(ehsan)
Whiteboard: [tw-dom]
Assignee: ttung → nobody
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.