If multi e10s is enabled, service worker debugging is unavailable.
We temporarily disabled the start/push/debug buttons in about:debugging
for all service workers if multi-e10s is on.
A warning section is also displayed on top of about:debugging, letting the
user know that they can set dom.ipc.processCount to 1 in order to force
a single content process and restore debugging capabilities.
MozReview-Commit-ID: IPAlbOq2Hij
When a preference impacting about:debugging changes, the current tab will be rendered
again. Each "target" is responsible for checking if Debugging should be allowed.
If not, the debug button should be disabled. Currently only extensions/addons
can be disabled, depending on the value of the "devtools.chrome.enabled" preference
Adds a mochitest checking this scenario.