Bug 1399171 - remove remaining references to style editor actor; r?jryans draft
authorTom Tromey <tom@tromey.com>
Tue, 12 Sep 2017 10:01:14 -0600
changeset 663088 3afd6a568ddb5f3fc3c732bc39ad263d5e0bb4e0
parent 662525 034c6b09eb50bbcf8c5256750be7f6c56f76b646
child 731087 21a03a74bd1a4694a1720bae2547f70f2eb48aa5
push id79313
push userbmo:ttromey@mozilla.com
push dateTue, 12 Sep 2017 16:11:09 +0000
reviewersjryans
bugs1399171
milestone57.0a1
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
devtools/client/definitions.js
devtools/server/main.js
--- 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",