On Thu, Oct 2, 2014 at 4:51 PM, Ehsan Akhgari <[email protected]> wrote: (Of course, I have no idea whether you'd be OK with just calling the Preferences API inside the js code or if we need to invent some kind of a way to mask that away, and just pass the necessary info into the JS engine from the browser, and I have no idea how much work that would be, but I think at least the first option is readily available if we decide to do that.)
I think the correct thing to do would be to have XPConnect query these prefs and then set them on the runtime. If we wanted to, we could keep per-compartment state, have XPConnect monitor the pref and update the runtime, and have the runtime propagate the current bits to each compartment at creation time. This would let the pref would work for new compartments sans restart. _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

