Closed Bug 1355418 Opened 7 years ago Closed 4 years ago

Show service worker's installed/activated/redundant time and service worker registration's last update time on devtools

Categories

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

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: tt, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This bug is the follow-up bug for Bug 1251238. 

We track these time in Bug 1251238 and expose them to nsIServiceWorkerManager. And, we want to show those information in devtools in this bug. I'll at least provide a prototype in this bug to prove the information is correct.
We can see time information after applying attachment 8857438 [details] [diff] [review] and patches on Bug 1251238
I believe in the future, we should show service workers as following:

|-----------------------------|            |-----------------------------------------------------|
| Service Worker Registration |(1)----(0~3)| Installing/Waiting/Active Service Worker(if existed)|
|-----------------------------|            |-----------------------------------------------------|
 
Once we do that, we could show installed/activated/redundant time for each service worker rather than for service worker registration. Besides, we are able to debug installing worker at that time. 

Moreover, if we can show service workers which are in the redundant state on about:debugging#worker, redundant time might be useful to see if the service worker is dead.
Priority: -- → P3
Assignee: ttung → nobody

:ttung, is here still something to do?

Flags: needinfo?(ttung)

(In reply to Jens Stutte [:jstutte] from comment #4)

:ttung, is here still something to do?

I'm not so sure if we still want to do this. This was designed as a part of the service worker devtools plan 3 years ago. Perhaps, we should file a set of new bugs when someone wants to redesign this. So, I'm going to close this bug.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(ttung)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: