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
20 lines
655 B
Python
20 lines
655 B
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
|
|
|
JS_PREFERENCE_FILES += [
|
|
'devtools-startup-prefs.js',
|
|
]
|
|
|
|
# Register the about:debugging page only for 'addon' and 'all' builds.
|
|
if CONFIG['MOZ_DEVTOOLS'] != 'server':
|
|
EXTRA_COMPONENTS += [
|
|
'aboutdebugging-registration.js',
|
|
'aboutdebugging.manifest',
|
|
]
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|