| Summary: | Add a callback to know when the service worker loads via -[WKWebView _loadServiceWorker:] | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||||||
| Component: | WebKit API | Assignee: | Chris Dumez <cdumez> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | achristensen, cdumez, ews-watchlist, ggaren, japhet, timothy, webkit-bug-importer, youennf | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Local Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Timothy Hatcher
2021-10-14 14:17:51 PDT
Created attachment 441618 [details]
Patch
Created attachment 441624 [details]
Patch
Comment on attachment 441624 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441624&action=review > Source/WebKit/UIProcess/WebPageProxy.cpp:4812 > + m_serviceWorkerLaunchCompletionHandler(false); I think you need this in the destructor too. (In reply to Alex Christensen from comment #4) > Comment on attachment 441624 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=441624&action=review > > > Source/WebKit/UIProcess/WebPageProxy.cpp:4812 > > + m_serviceWorkerLaunchCompletionHandler(false); > > I think you need this in the destructor too. Good point, will fix. Created attachment 441631 [details]
Patch
Committed r284406 (243179@main): <https://commits.webkit.org/243179@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 441631 [details]. |