When a service worker is loaded in a Page, we need to report its inspector frontend count up to the page's inspectorController so the client knows about it.
<rdar://problem/85354982>
Created attachment 444096 [details] Patch
Comment on attachment 444096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444096&action=review r=me > Source/WebCore/inspector/WorkerInspectorController.cpp:140 > +#if ENABLE(SERVICE_WORKER) Style: I'd add a newline after this > Source/WebCore/inspector/WorkerInspectorController.cpp:160 > +#endif Style: i'd add a newline before this and `// ENABLE(SERVICE_WORKER)`
Comment on attachment 444096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444096&action=review >> Source/WebCore/inspector/WorkerInspectorController.cpp:140 >> +#if ENABLE(SERVICE_WORKER) > > Style: I'd add a newline after this Other places in the code don't do this, so I'll leave it as-is.
Committed r285771 (244215@main): <https://commits.webkit.org/244215@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 444096 [details].