Closed Bug 1469024 Opened 3 years ago Closed 3 years ago
improve service worker parent-intercept preference
There are some problems with the current parent-intercept code. This bug will convert it over to the new StaticPrefList approach and also make it only read once at startup. Changes won't have any effect while the browser is running.
This patch does two things: 1. Define the sw e10s pref in StaticPrefList.h so that its set consistently at startup. 2. Only reads the value once and then keeps that setting. So changes are effectively only active on restart. Note, I tried forcing a read of the pref in InitXPCOM in the different processes, but that seemed too early in some cases. This lazy init seems to work and should be reasonably reliable.
Attachment #8985705 - Flags: review?(bugmail)
Attachment #8985705 - Flags: review?(bugmail) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/0e32ff604fc6 Define service worker parent intercept pref in StaticPrefList and read it once at startup. r=asuth
You need to log in before you can comment on or make changes to this bug.