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:
Julian Descottes 2017-09-06 16:42:48 +02:00
Родитель a10afb7289
Коммит e3f444304a
3 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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