Bug 1399171 - remove remaining references to style editor actor; r?jryans
Remove the last remaining references to the now-removed style editor
actor.
MozReview-Commit-ID: Kl5YJ5JR4vS
--- a/devtools/client/definitions.js
+++ b/devtools/client/definitions.js
@@ -205,17 +205,17 @@ Tools.styleEditor = {
get tooltip() {
return l10n("ToolboxStyleEditor.tooltip3",
"Shift+" + functionkey(l10n("styleeditor.commandkey")));
},
inMenu: true,
commands: "devtools/client/styleeditor/styleeditor-commands",
isTargetSupported: function (target) {
- return target.hasActor("styleEditor") || target.hasActor("styleSheets");
+ return target.hasActor("styleSheets");
},
build: function (iframeWindow, toolbox) {
return new StyleEditorPanel(iframeWindow, toolbox);
}
};
Tools.shaderEditor = {
--- a/devtools/server/main.js
+++ b/devtools/server/main.js
@@ -488,21 +488,16 @@ var DebuggerServer = {
constructor: "WebAudioActor",
type: { tab: true }
});
this.registerModule("devtools/server/actors/stylesheets", {
prefix: "styleSheets",
constructor: "StyleSheetsActor",
type: { tab: true }
});
- this.registerModule("devtools/server/actors/styleeditor", {
- prefix: "styleEditor",
- constructor: "StyleEditorActor",
- type: { tab: true }
- });
this.registerModule("devtools/server/actors/storage", {
prefix: "storage",
constructor: "StorageActor",
type: { tab: true }
});
this.registerModule("devtools/server/actors/gcli", {
prefix: "gcli",
constructor: "GcliActor",