Bug 212523

Summary: Add some logging to ServiceWorkerThread to track install/activate event handling
Product: WebKit Reporter: youenn fablet <youennf>
Component: Service WorkersAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description youenn fablet 2020-05-29 07:39:56 PDT
Add some logging to ServiceWorkerThread to track install/active event handling
Comment 1 youenn fablet 2020-05-29 07:44:49 PDT
Created attachment 400578 [details]
Patch
Comment 2 Chris Dumez 2020-05-29 08:25:18 PDT
Comment on attachment 400578 [details]
Patch

I find that this kind of logging is usually more useful if it also logs some way to identify the service worker (like an id).
Comment 3 youenn fablet 2020-06-02 04:53:06 PDT
Created attachment 400804 [details]
Patch for landing
Comment 4 EWS 2020-06-02 06:39:54 PDT
Committed r262416: <https://trac.webkit.org/changeset/262416>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 400804 [details].
Comment 5 Radar WebKit Bug Importer 2020-06-02 06:40:18 PDT
<rdar://problem/63872704>
Comment 6 youenn fablet 2020-06-02 06:44:46 PDT
(In reply to Chris Dumez from comment #2)
> Comment on attachment 400578 [details]
> Patch
> 
> I find that this kind of logging is usually more useful if it also logs some
> way to identify the service worker (like an id).

I added some IDs, that will indeed ease debugging.