| Summary: | [iOS] Preferences are not being observed if the process pool is being created after activation | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Per Arne Vollan <pvollan> | ||||||||||
| Component: | WebKit Misc. | Assignee: | Per Arne Vollan <pvollan> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | bfulgham, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Per Arne Vollan
2020-06-12 13:36:13 PDT
Created attachment 401774 [details]
Patch
Created attachment 401778 [details]
Patch
Comment on attachment 401778 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401778&action=review r=me > Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:474 > + startObservingPreferenceChanges(); Do we need to do anything special to stop observing preferences in this case? Or is it handled automatically by the normal code paths? Created attachment 401782 [details]
Patch
Created attachment 401783 [details]
Patch
(In reply to Brent Fulgham from comment #4) > Comment on attachment 401778 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=401778&action=review > > r=me > > > Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:474 > > + startObservingPreferenceChanges(); > > Do we need to do anything special to stop observing preferences in this > case? Or is it handled automatically by the normal code paths? Actually, we will observe preference changes during the full lifetime of the UI process. Thanks for reviewing! Committed r262984: <https://trac.webkit.org/changeset/262984> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401782 [details]. |