зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1397296 - remove mappings for gre/modules/commonjs in devtools loaders;r=ochameau
MozReview-Commit-ID: 2l3cJhGs24t --HG-- extra : rebase_source : f4f21be37d9775929c7420574d5cca61ada4308b
This commit is contained in:
Родитель
a10afb7289
Коммит
e3f444304a
|
@ -10,7 +10,6 @@ const {Loader, Require} =
|
||||||
|
|
||||||
const loader = new Loader({
|
const loader = new Loader({
|
||||||
paths: {
|
paths: {
|
||||||
"": "resource://gre/modules/commonjs/",
|
|
||||||
"devtools": "resource://devtools",
|
"devtools": "resource://devtools",
|
||||||
},
|
},
|
||||||
globals: {},
|
globals: {},
|
||||||
|
|
|
@ -29,8 +29,6 @@ function BuiltinProvider() {}
|
||||||
BuiltinProvider.prototype = {
|
BuiltinProvider.prototype = {
|
||||||
load: function () {
|
load: function () {
|
||||||
const paths = {
|
const paths = {
|
||||||
// ⚠ DISCUSSION ON DEV-DEVELOPER-TOOLS REQUIRED BEFORE MODIFYING ⚠
|
|
||||||
"": "resource://gre/modules/commonjs/",
|
|
||||||
// ⚠ DISCUSSION ON DEV-DEVELOPER-TOOLS REQUIRED BEFORE MODIFYING ⚠
|
// ⚠ DISCUSSION ON DEV-DEVELOPER-TOOLS REQUIRED BEFORE MODIFYING ⚠
|
||||||
// Modules here are intended to have one implementation for
|
// Modules here are intended to have one implementation for
|
||||||
// chrome, and a separate implementation for content. Here we
|
// chrome, and a separate implementation for content. Here we
|
||||||
|
|
|
@ -577,8 +577,6 @@ this.worker = new WorkerDebuggerLoader({
|
||||||
"xpcInspector": xpcInspector
|
"xpcInspector": xpcInspector
|
||||||
},
|
},
|
||||||
paths: {
|
paths: {
|
||||||
// ⚠ DISCUSSION ON DEV-DEVELOPER-TOOLS REQUIRED BEFORE MODIFYING ⚠
|
|
||||||
"": "resource://gre/modules/commonjs/",
|
|
||||||
// ⚠ DISCUSSION ON DEV-DEVELOPER-TOOLS REQUIRED BEFORE MODIFYING ⚠
|
// ⚠ DISCUSSION ON DEV-DEVELOPER-TOOLS REQUIRED BEFORE MODIFYING ⚠
|
||||||
// Modules here are intended to have one implementation for
|
// Modules here are intended to have one implementation for
|
||||||
// chrome, and a separate implementation for content. Here we
|
// chrome, and a separate implementation for content. Here we
|
||||||
|
|
Загрузка…
Ссылка в новой задаче