On watchOS, the backlight changed notification is registered in WebProcessPool::registerNotificationObservers(), but not unregistered in WebProcessPool::unregisterNotificationObservers().
rdar://problem/58923393
Created attachment 390250 [details] Patch
Comment on attachment 390250 [details] Patch Maybe worth making an API test in case they are run there some day, or in case we make this mistake on another platform? Code change looks fine but I suggest adding a test.
(In reply to Maciej Stachowiak from comment #3) > Comment on attachment 390250 [details] > Patch > > Maybe worth making an API test in case they are run there some day, or in > case we make this mistake on another platform? > > Code change looks fine but I suggest adding a test. Thanks for reviewing! I will look into adding a test.
Created attachment 390297 [details] Patch
Comment on attachment 390297 [details] Patch Clearing flags on attachment: 390297 Committed r256225: <https://trac.webkit.org/changeset/256225>