mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1448077 - Move devtools-startup preferences file to dedicated /preferences folder;r=jryans
Changing the name for consistency purposes (see RFC https://github.com/devtools-html/rfcs/issues/43) MozReview-Commit-ID: EahEwoR9eBF --HG-- rename : devtools/startup/devtools-startup-prefs.js => devtools/startup/preferences/devtools-startup.js extra : rebase_source : 5aeb6fa4d1264de91097bf29f9aace844e84ee04
This commit is contained in:
parent
067132558d
commit
1563ca8769
@ -153,7 +153,7 @@ devtools/client/debugger/new/**
|
||||
|
||||
# Ignore devtools preferences files
|
||||
devtools/client/preferences/**
|
||||
devtools/startup/devtools-startup-prefs.js
|
||||
devtools/startup/preferences/devtools-startup.js
|
||||
|
||||
# Ignore devtools third-party libs
|
||||
devtools/shared/jsbeautify/*
|
||||
|
@ -425,7 +425,7 @@
|
||||
; [DevTools Startup Files]
|
||||
@RESPATH@/browser/chrome/devtools-startup@JAREXT@
|
||||
@RESPATH@/browser/chrome/devtools-startup.manifest
|
||||
@RESPATH@/browser/@PREF_DIR@/devtools-startup-prefs.js
|
||||
@RESPATH@/browser/@PREF_DIR@/devtools-startup.js
|
||||
|
||||
; DevTools
|
||||
@RESPATH@/browser/chrome/devtools@JAREXT@
|
||||
|
@ -72,12 +72,12 @@ To create a new preference, it should be assigned a default value. Default prefe
|
||||
defined in preferences files such as:
|
||||
- devtools/client/preferences/devtools.js
|
||||
- devtools/client/preferences/debugger.js
|
||||
- devtools/startup/devtools-startup-prefs.js
|
||||
- devtools/startup/preferences/devtools-startup.js
|
||||
|
||||
Most new preferences should go in devtools/client/preferences/devtools.js. Debugger
|
||||
specific preferences should go in devtools/client/preferences/debugger.js. Finally if a
|
||||
preference needs to be available very early during the Firefox startup sequence, it should
|
||||
go in devtools/startup/devtools-startup-prefs.js.
|
||||
go in devtools/startup/preferences/devtools-startup.js.
|
||||
|
||||
### Projects using Launchpad
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
||||
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'devtools-startup-prefs.js',
|
||||
DIRS += [
|
||||
'preferences',
|
||||
]
|
||||
|
||||
# Register the startup components only for 'all' builds.
|
||||
|
9
devtools/startup/preferences/moz.build
Normal file
9
devtools/startup/preferences/moz.build
Normal file
@ -0,0 +1,9 @@
|
||||
# -*- 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/.
|
||||
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'devtools-startup.js'
|
||||
]
|
Loading…
Reference in New Issue
Block a user