зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1397330 - Define all specs and fronts relying on implicit require. r=jdescottes
MozReview-Commit-ID: HzcEWauFKjz --HG-- extra : rebase_source : 2ce93dd948997a2b82cf83cf055f14e7e7252a9a
This commit is contained in:
Родитель
6f86767a47
Коммит
c1e85368f0
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
"use strict";
|
||||
|
||||
require("devtools/shared/fronts/stylesheets");
|
||||
const {
|
||||
Front,
|
||||
FrontClassWithSpec,
|
||||
|
|
|
@ -9,7 +9,6 @@ const {
|
|||
generateActorSpec,
|
||||
types
|
||||
} = require("devtools/shared/protocol");
|
||||
require("devtools/shared/specs/inspector");
|
||||
|
||||
/**
|
||||
* Sent with the 'mutations' event as part of an array of changes, used to
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
const {Arg, RetVal, generateActorSpec} = require("devtools/shared/protocol");
|
||||
|
||||
require("devtools/shared/specs/stylesheets");
|
||||
|
||||
const cssUsageSpec = generateActorSpec({
|
||||
typeName: "cssUsage",
|
||||
|
||||
|
|
|
@ -34,6 +34,26 @@ const Types = [
|
|||
spec: "devtools/shared/specs/string",
|
||||
front: "devtools/shared/fronts/string",
|
||||
},
|
||||
{
|
||||
types: ["originalsource", "mediarule", "stylesheet", "stylesheets"],
|
||||
spec: "devtools/shared/specs/stylesheets",
|
||||
front: "devtools/shared/fronts/stylesheets",
|
||||
},
|
||||
{
|
||||
types: ["imageData", "domnode"],
|
||||
spec: "devtools/shared/specs/node",
|
||||
front: "devtools/shared/fronts/inspector",
|
||||
},
|
||||
{
|
||||
types: ["domwalker"],
|
||||
spec: "devtools/shared/specs/inspector",
|
||||
front: "devtools/shared/fronts/inspector",
|
||||
},
|
||||
{
|
||||
types: ["performance-recording"],
|
||||
spec: "devtools/shared/specs/performance-recording",
|
||||
front: "devtools/shared/fronts/performancec-recording",
|
||||
},
|
||||
];
|
||||
|
||||
const lazySpecs = new Map();
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
"use strict";
|
||||
|
||||
const { Arg, generateActorSpec, RetVal } = require("devtools/shared/protocol");
|
||||
require("devtools/shared/specs/node");
|
||||
|
||||
const gridSpec = generateActorSpec({
|
||||
typeName: "grid",
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
"use strict";
|
||||
|
||||
const { Arg, RetVal, generateActorSpec } = require("devtools/shared/protocol");
|
||||
require("devtools/shared/specs/performance-recording");
|
||||
|
||||
const performanceSpec = generateActorSpec({
|
||||
typeName: "performance",
|
||||
|
|
|
@ -10,8 +10,6 @@ const {
|
|||
generateActorSpec,
|
||||
types
|
||||
} = require("devtools/shared/protocol");
|
||||
require("devtools/shared/specs/node");
|
||||
require("devtools/shared/specs/stylesheets");
|
||||
|
||||
// Predeclare the domstylerule actor type
|
||||
types.addActorType("domstylerule");
|
||||
|
|
Загрузка…
Ссылка в новой задаче