Bug 1583920 - Remove WebIDE from SeaMonkey. r=IanN
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Sat, 28 Sep 2019 19:53:23 +0200
changeset 36996 0fbad962d4a2d651b07c3e189f5f456b661fbcd6
parent 36995 f88fba513ec9e77d8651a828e54e70467b90335d
child 36997 cecf56d94d9dbf067c5fda0a26baa79d3aab98f3
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersIanN
bugs1583920
Bug 1583920 - Remove WebIDE from SeaMonkey. r=IanN
suite/app/profile/suite-prefs.js
suite/browser/webDeveloperOverlay.js
suite/browser/webDeveloperOverlay.xul
suite/installer/package-manifest.in
suite/locales/en-US/chrome/browser/webDeveloper.dtd
suite/locales/en-US/chrome/common/help/developer_tools.xhtml
suite/locales/en-US/chrome/common/help/help-index1.rdf
suite/locales/en-US/chrome/common/help/suite-toc.rdf
--- a/suite/app/profile/suite-prefs.js
+++ b/suite/app/profile/suite-prefs.js
@@ -1091,20 +1091,16 @@ pref("security.sandbox.content.level", 2
 // when a temporary writable file is required in a level 1 sandbox.
 pref("security.sandbox.content.tempDirSuffix", "");
 #endif
 #endif
 
 // Url shown when you type moz://a
 pref("toolkit.mozprotocol.url", "http://www.seamonkey-project.org/");
 
-// Disable WebIDE and ConnectPage by default (Bug 1539451)
-pref("devtools.webide.enabled", false);
-pref("devtools.connectpage.enabled", false);
-
 // Toolbox preferences
 pref("devtools.toolbox.footer.height", 250);
 pref("devtools.toolbox.sidebar.width", 500);
 pref("devtools.toolbox.host", "bottom");
 pref("devtools.toolbox.previousHost", "right");
 pref("devtools.toolbox.selectedTool", "inspector");
 pref("devtools.toolbox.sideEnabled", true);
 pref("devtools.toolbox.zoomValue", "1");
@@ -1510,18 +1506,8 @@ pref("devtools.debugger.features.map-awa
 pref("devtools.popup.disable_autohide", false);
 
 // Load the DevTools toolbox in a frame with type=content instead of type=chrome
 // See Bug 1539979 for more details.
 // We keep the option of running devtools in a chrome frame while we fix racy
 // tests that started failing when using type=content, but this ultimately
 // should be removed.
 pref("devtools.toolbox.content-frame", true);
-
-pref("devtools.webide.templatesURL", "https://code.cdn.mozilla.net/templates/list.json");
-pref("devtools.webide.autoinstallADBExtension", true);
-pref("devtools.webide.autoConnectRuntime", true);
-pref("devtools.webide.restoreLastProject", true);
-pref("devtools.webide.enableLocalRuntime", false);
-pref("devtools.webide.lastConnectedRuntime", "");
-pref("devtools.webide.lastSelectedProject", "");
-pref("devtools.webide.zoom", "1");
-pref("devtools.webide.busyTimeout", 10000);
--- a/suite/browser/webDeveloperOverlay.js
+++ b/suite/browser/webDeveloperOverlay.js
@@ -175,28 +175,16 @@ var gWebDeveloper = {
     if (devToolbarEnabled)
       focusEl.removeAttribute("disabled");
     else
       focusEl.setAttribute("disabled", "true");
 
     if (devToolbarEnabled && Services.prefs.getBoolPref("devtools.toolbar.visible"))
       win.DeveloperToolbar.show(false).catch(console.error);
 
-    // Enable WebIDE?
-    var webIDEEnabled = Services.prefs.getBoolPref("devtools.webide.enabled");
-    toggleCmd("Tools:WebIDE", webIDEEnabled);
-
-    /* XXXRatty: NOT WORKING YET
-    if (webIDEEnabled) {
-      gDevToolsBrowser.installWebIDEWidget();
-    } else {
-      gDevToolsBrowser.uninstallWebIDEWidget();
-    }
-    */
-
     // Enable Browser Toolbox?
     var chromeEnabled = Services.prefs.getBoolPref("devtools.chrome.enabled");
     var devtoolsRemoteEnabled = Services.prefs.getBoolPref("devtools.debugger.remote-enabled");
     var remoteEnabled = chromeEnabled && devtoolsRemoteEnabled;
     toggleCmd("Tools:BrowserToolbox", remoteEnabled);
     // Currently "gMultiProcessBrowser" is always falsey.
     //toggleCmd("Tools:BrowserContentToolbox", remoteEnabled && win.gMultiProcessBrowser);
     toggleCmd("Tools:BrowserContentToolbox", false);
--- a/suite/browser/webDeveloperOverlay.xul
+++ b/suite/browser/webDeveloperOverlay.xul
@@ -25,20 +25,16 @@
               label="&devToolboxMenuItem.label;"
               accesskey="&devToolboxMenuItem.accesskey;"/>
     <menuseparator id="menu_devtools_separator"/>
     <menuitem id="menu_devToolbar"
               observes="devtoolsMenuBroadcaster_DevToolbar"
               type="checkbox" autocheck="false"
               label="&devToolbarMenu.label;"
               accesskey="&devToolbarMenu.accesskey;"/>
-    <menuitem id="menu_webide"
-              observes="devtoolsMenuBroadcaster_webide"
-              label="&webide.label;"
-              accesskey="&webide.accesskey;"/>
     <menuitem id="menu_browserToolbox"
               observes="devtoolsMenuBroadcaster_BrowserToolbox"
               label="&browserToolboxMenu.label;"
               accesskey="&browserToolboxMenu.accesskey;"/>
     <menuitem id="menu_browserContentToolbox"
               observes="devtoolsMenuBroadcaster_BrowserContentToolbox"
               label="&browserContentToolboxMenu.label;"
               accesskey="&browserContentToolboxMenu.accesskey;" />
@@ -75,17 +71,16 @@
               label="&getMoreDevtoolsCmd.label;"
               accesskey="&getMoreDevtoolsCmd.accesskey;"/>
   </menupopup>
 
   <commandset id="mainCommandSet">
     <command id="Tools:DevToolbox" oncommand="gDevToolsBrowser.toggleToolboxCommand(gBrowser);"/>
     <command id="Tools:DevToolbar" oncommand="DeveloperToolbar.toggle();" disabled="true" hidden="true"/>
     <command id="Tools:DevToolbarFocus" oncommand="DeveloperToolbar.focusToggle();" disabled="true"/>
-    <command id="Tools:WebIDE" oncommand="gDevToolsBrowser.openWebIDE();" disabled="true" hidden="true"/>
     <command id="Tools:BrowserToolbox" oncommand="BrowserToolboxProcess.init();" disabled="true" hidden="true"/>
     <command id="Tools:BrowserContentToolbox" oncommand="gDevToolsBrowser.openContentProcessToolbox();" disabled="true" hidden="true"/>
     <command id="Tools:BrowserConsole" oncommand="HUDService.openBrowserConsoleOrFocus();"/>
     <command id="Tools:Scratchpad" oncommand="Scratchpad.openScratchpad();"/>
     <command id="Tools:ResponsiveUI" oncommand="ResponsiveUI.toggle();"/>
     <command id="Tools:Eyedropper" oncommand="openEyedropper();"/>
     <command id="Tools:DevToolsConnect" oncommand="gDevToolsBrowser.openConnectScreen(gBrowser)" disabled="true" hidden="true"/>
   </commandset>
@@ -94,36 +89,31 @@
     <key id="key_devToolboxMenuItemF12" keycode="&devToolsCmd.keycode;" keytext="&devToolsCmd.keytext;"
          command="Tools:DevToolbox"/>
     <key id="key_browserConsole" key="&browserConsoleCmd.commandkey;" modifiers="accel,shift"
          command="Tools:BrowserConsole"/>
     <key id="key_browserToolbox" key="&browserToolboxCmd.commandkey;" modifiers="accel,alt,shift"
          command="Tools:BrowserToolbox"/>
     <key id="key_devToolbar" keycode="&devToolbar.keycode;" modifiers="shift" keytext="&devToolbar.keytext;"
          command="Tools:DevToolbarFocus"/>
-    <key id="key_webide" keycode="&webide.keycode;" modifiers="shift" keytext="&webide.keytext;"
-         command="Tools:WebIDE"/>
     <key id="key_devToolboxMenuItem" keytext="&devToolboxMenuItem.keytext;" key="&devToolboxMenuItem.keytext;" modifiers="accel,shift"
          command="Tools:DevToolbox"/>
     <key id="key_scratchpad" keycode="&scratchpad.keycode;" modifiers="shift" keytext="&scratchpad.keytext;"
          command="Tools:Scratchpad"/>
   </keyset>
 
   <broadcasterset id="mainBroadcasterSet">
     <!-- DevTools broadcasters -->
     <broadcaster id="devtoolsMenuBroadcaster_DevToolbox"
                  type="checkbox" autocheck="false"
                  command="Tools:DevToolbox"
                  key="key_devToolboxMenuItem"/>
     <broadcaster id="devtoolsMenuBroadcaster_DevToolbar"
                  command="Tools:DevToolbar"
                  key="key_devToolbar"/>
-    <broadcaster id="devtoolsMenuBroadcaster_webide"
-                 command="Tools:WebIDE"
-                 key="key_webide"/>
     <broadcaster id="devtoolsMenuBroadcaster_BrowserToolbox"
                  key="key_browserToolbox"
                  command="Tools:BrowserToolbox"/>
     <broadcaster id="devtoolsMenuBroadcaster_BrowserContentToolbox"
                  command="Tools:BrowserContentToolbox"/>
     <broadcaster id="devtoolsMenuBroadcaster_BrowserConsole"
                  key="key_browserConsole"
                  command="Tools:BrowserConsole"/>
--- a/suite/installer/package-manifest.in
+++ b/suite/installer/package-manifest.in
@@ -222,20 +222,16 @@
 @RESPATH@/chrome/browser.manifest
 @RESPATH@/chrome/comm@JAREXT@
 @RESPATH@/chrome/comm.manifest
 @RESPATH@/chrome/recording.manifest
 @RESPATH@/chrome/recording/*
 @RESPATH@/chrome/toolkit@JAREXT@
 @RESPATH@/chrome/toolkit.manifest
 
-; [Webide Files]
-@RESPATH@/chrome/webide@JAREXT@
-@RESPATH@/chrome/webide.manifest
-
 ; [DevTools Startup Files]
 @RESPATH@/chrome/devtools-startup@JAREXT@
 @RESPATH@/chrome/devtools-startup.manifest
 
 ; DevTools
 @RESPATH@/chrome/devtools@JAREXT@
 @RESPATH@/chrome/devtools.manifest
 @RESPATH@/@PREF_DIR@/debugger.js
--- a/suite/locales/en-US/chrome/browser/webDeveloper.dtd
+++ b/suite/locales/en-US/chrome/browser/webDeveloper.dtd
@@ -49,21 +49,16 @@
   -  This toolbox allows to debug the chrome of the content process in multiprocess builds.  -->
 <!ENTITY browserContentToolboxMenu.label     "Browser Content Toolbox">
 <!ENTITY browserContentToolboxMenu.accesskey "x">
 
 <!ENTITY devToolbarCloseButton.tooltiptext   "Close Developer Toolbar">
 <!ENTITY devToolbarMenu.label                "Developer Toolbar">
 <!ENTITY devToolbarMenu.accesskey            "D">
 
-<!ENTITY webide.label                        "WebIDE">
-<!ENTITY webide.accesskey                    "W">
-<!ENTITY webide.keycode                      "VK_F8">
-<!ENTITY webide.keytext                      "F8">
-
 <!ENTITY devToolbar.keycode                  "VK_F2">
 <!ENTITY devToolbar.keytext                  "F2">
 
 <!ENTITY devToolboxMenuItem.label            "Toggle Tools">
 <!ENTITY devToolboxMenuItem.accesskey        "T">
 <!ENTITY devToolboxMenuItem.keytext          "I">
 
 <!ENTITY devToolbarToolsButton.tooltip       "Toggle developer tools">
--- a/suite/locales/en-US/chrome/common/help/developer_tools.xhtml
+++ b/suite/locales/en-US/chrome/common/help/developer_tools.xhtml
@@ -54,21 +54,12 @@
     developer tools that can be docked to the bottom of a browser window or
     used in a separate window. The <strong>Toggle Tools</strong> command in
     the Web Development menu can be used to open and close the Developer Tools.
 
     The Developer Tools are shared with Firefox. To learn more about the
     Developer Tools, visit the <a href="https://developer.mozilla.org/docs/Tools">
     Firefox Developer Tools site</a>.
   </li>
-  <li id="webide">
-    <strong>WebIDE</strong>: &brandShortName; includes Developer Tools WebIDE,
-    which can be used to debug other web sites or Gecko-based applications
-    running on the same computer, or on another device (such as a smartphone)
-    through a USB or network connection. To learn more, visit the
-    <a href="https://developer.mozilla.org/docs/Tools/Remote_Debugging">Remote
-    Debugging</a> page at MDN. Note that you may not be able to debug
-    applications that are newer than the included version of WebIDE.
-  </li>
 </ul>
 
 </body>
 </html>
--- a/suite/locales/en-US/chrome/common/help/help-index1.rdf
+++ b/suite/locales/en-US/chrome/common/help/help-index1.rdf
@@ -613,20 +613,16 @@
          nc:link="mailnews_getting_started.xhtml#set_as_default"/>
      </rdf:li>
      <rdf:li>
        <rdf:Description ID="Developer_Tools"
          nc:name="Developer Tools"
          nc:link="developer_tools.xhtml#devtools"/>
      </rdf:li>
      <rdf:li>
-       <rdf:Description ID="WebIDE"
-         nc:name="WebIDE"
-         nc:link="developer_tools.xhtml#webide"/>
-     </rdf:li>
      <rdf:li>
        <rdf:Description ID="device_manager"
          nc:name="Device Manager"
          nc:link="using_certs_help.xhtml#about_security_devices_and_modules"/>
      </rdf:li>
      <rdf:li>
        <rdf:Description ID="DOM_Inspector"
          nc:name="DOM Inspector"
--- a/suite/locales/en-US/chrome/common/help/suite-toc.rdf
+++ b/suite/locales/en-US/chrome/common/help/suite-toc.rdf
@@ -1152,17 +1152,16 @@
 <!-- TOOLS AND DEVELOPMENT CONTENT STARTS -->
  
 <rdf:Description about="#tools">
     <nc:subheadings>
       <rdf:Seq>
         <rdf:li><rdf:Description ID="tools-js_console" nc:name="Error Console" nc:link="developer_tools.xhtml#js_console"/> </rdf:li>
         <rdf:li><rdf:Description ID="tools-inspector" nc:name="DOM Inspector" nc:link="developer_tools.xhtml#inspector"/> </rdf:li>
         <rdf:li><rdf:Description ID="tools-devtools" nc:name="Developer Tools" nc:link="developer_tools.xhtml#devtools"/> </rdf:li>
-        <rdf:li><rdf:Description ID="tools-webide" nc:name="WebIDE" nc:link="developer_tools.xhtml#webide"/> </rdf:li>
       </rdf:Seq>
     </nc:subheadings>
 </rdf:Description>
 
 <!-- KEYBOARD SHORTCUTS CONTENT STARTS -->
 <rdf:Description about="#shortcuts">
     <nc:subheadings>
       <rdf:Seq>