forked from mirrors/gecko-dev
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs(). We can not preload them when the addon starts, otherwise this will slow down the startup of Firefox. But jsonview's converter-observer needs to check preferences to check if jsonview is enabled very early. Moving devtools.jsonview.enabled to a separate preferences file that is still processed by firefox fixes the issue. The downside is that this pref will keep following m-c's release cycle and not the addon's. But it is so generic it should not be a big issue. MozReview-Commit-ID: HrD5IVe54Ks --HG-- extra : rebase_source : 7feb021770c827996e276b60169b08093ecc1ff0 |
||
|---|---|---|
| .. | ||
| app | ||
| base | ||
| branding | ||
| components | ||
| config | ||
| docs | ||
| experiments | ||
| extensions | ||
| fonts | ||
| installer | ||
| locales | ||
| modules | ||
| themes | ||
| tools/mozscreenshots | ||
| .eslintrc.js | ||
| app-rules.mk | ||
| app.mozbuild | ||
| build.mk | ||
| confvars.sh | ||
| defs.mk | ||
| LICENSE | ||
| Makefile.in | ||
| moz.build | ||
| moz.configure | ||