Created attachment 750872 [details] [diff] [review]
This is the mozilla-central version of bug 829482. This re-syncs all the main thread prefs for use with workers and allows overrides for workers if needed. Also updates the priority of workers depending on whether they're chrome or content.
Stupid question, but do we do a shrinking-gc in workers upon receiving a memory-pressure event?