diff --git a/client/aboutdebugging/aboutdebugging.xhtml b/client/aboutdebugging/aboutdebugging.xhtml
index 05440ae..24c05fd 100644
--- a/client/aboutdebugging/aboutdebugging.xhtml
+++ b/client/aboutdebugging/aboutdebugging.xhtml
@@ -12,20 +12,20 @@
&aboutDebugging.title;
-
+
-
-
-
+
+
+
-

+
&aboutDebugging.addons;
-

+
&aboutDebugging.workers;
diff --git a/client/aboutdebugging/components/addons.js b/client/aboutdebugging/components/addons.js
index 1e37059..e72785b 100644
--- a/client/aboutdebugging/components/addons.js
+++ b/client/aboutdebugging/components/addons.js
@@ -12,7 +12,7 @@ const { Services } = require("devtools/sham/services");
const { AddonManager } = require("devtools/sham/addonmanager");
-const ExtensionIcon = "/devtools/client/chrome/mozapps/skin/extensions/extensionGeneric.svg";
+const ExtensionIcon = "/client/chrome/mozapps/skin/extensions/extensionGeneric.svg";
const Strings = Services.strings.createBundle(
require("l10n/aboutdebugging.properties"));
diff --git a/client/aboutdebugging/components/workers.js b/client/aboutdebugging/components/workers.js
index 98c2071..d00f9ad 100644
--- a/client/aboutdebugging/components/workers.js
+++ b/client/aboutdebugging/components/workers.js
@@ -13,7 +13,7 @@ const { Services } = require("devtools/sham/services");
const Strings = Services.strings.createBundle(
require("l10n/aboutdebugging.properties"));
-const WorkerIcon = "/devtools/client/themes/images/debugging-workers.svg";
+const WorkerIcon = "/client/themes/images/debugging-workers.svg";
exports.WorkersComponent = React.createClass({
displayName: "WorkersComponent",
diff --git a/client/canvasdebugger/canvasdebugger.xul b/client/canvasdebugger/canvasdebugger.xul
index 6d63596..02b5834 100644
--- a/client/canvasdebugger/canvasdebugger.xul
+++ b/client/canvasdebugger/canvasdebugger.xul
@@ -3,17 +3,17 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-
-
-
+
+
+
+
%canvasDebuggerDTD;
]>
-
+
diff --git a/client/debugger/debugger-commands.js b/client/debugger/debugger-commands.js
index 215244e..ebeb0b5 100644
--- a/client/debugger/debugger-commands.js
+++ b/client/debugger/debugger-commands.js
@@ -7,7 +7,7 @@
const { Cc, Ci, Cu } = require("chrome");
const l10n = require("gcli/l10n");
-loader.lazyImporter(this, "gDevTools", "resource://devtools/client/framework/gDevTools.jsm");
+loader.lazyImporter(this, "gDevTools", "resource://client/framework/gDevTools.jsm");
/**
* The commands and converters that are exported to GCLI
diff --git a/client/debugger/debugger-controller.js b/client/debugger/debugger-controller.js
index 17700f8..5e224a5 100644
--- a/client/debugger/debugger-controller.js
+++ b/client/debugger/debugger-controller.js
@@ -95,20 +95,20 @@ const FRAME_TYPE = {
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://devtools/shared/event-emitter.js");
-Cu.import("resource://devtools/client/shared/widgets/SimpleListWidget.jsm");
-Cu.import("resource://devtools/client/shared/widgets/BreadcrumbsWidget.jsm");
-Cu.import("resource://devtools/client/shared/widgets/SideMenuWidget.jsm");
-Cu.import("resource://devtools/client/shared/widgets/VariablesView.jsm");
-Cu.import("resource://devtools/client/shared/widgets/VariablesViewController.jsm");
-Cu.import("resource://devtools/client/shared/widgets/ViewHelpers.jsm");
+Cu.import("resource://client/shared/widgets/SimpleListWidget.jsm");
+Cu.import("resource://client/shared/widgets/BreadcrumbsWidget.jsm");
+Cu.import("resource://client/shared/widgets/SideMenuWidget.jsm");
+Cu.import("resource://client/shared/widgets/VariablesView.jsm");
+Cu.import("resource://client/shared/widgets/VariablesViewController.jsm");
+Cu.import("resource://client/shared/widgets/ViewHelpers.jsm");
/**
* Localization convenience methods.
*/
var L10N = new ViewHelpers.L10N(DBG_STRINGS_URI);
-Cu.import("resource://devtools/client/shared/browser-loader.js");
-const require = BrowserLoader("resource://devtools/client/debugger/", this).require;
+Cu.import("resource://client/shared/browser-loader.js");
+const require = BrowserLoader("resource://client/debugger/", this).require;
XPCOMUtils.defineConstant(this, "require", require);
// React
diff --git a/client/debugger/debugger-view.js b/client/debugger/debugger-view.js
index bdebc39..a205144 100644
--- a/client/debugger/debugger-view.js
+++ b/client/debugger/debugger-view.js
@@ -29,7 +29,7 @@ const EDITOR_VARIABLE_POPUP_POSITION = "topcenter bottomleft";
const TOOLBAR_ORDER_POPUP_POSITION = "topcenter bottomleft";
const RESIZE_REFRESH_RATE = 50; // ms
const PROMISE_DEBUGGER_URL =
- "/devtools/client/promisedebugger/promise-debugger.xhtml";
+ "/client/promisedebugger/promise-debugger.xhtml";
const EventListenersView = require('./content/views/event-listeners-view');
const SourcesView = require('./content/views/sources-view');
diff --git a/client/debugger/debugger.xul b/client/debugger/debugger.xul
index 5114226..806e887 100644
--- a/client/debugger/debugger.xul
+++ b/client/debugger/debugger.xul
@@ -3,11 +3,11 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
+
-
-
-
+
+
+
%debuggerDTD;
@@ -23,8 +23,8 @@
persist="screenX screenY width height sizemode">
-
+ src="/client/shared/theme-switching.js"/>
+
diff --git a/client/definitions.js b/client/definitions.js
index cb0adbd..49c2c39 100644
--- a/client/definitions.js
+++ b/client/definitions.js
@@ -31,7 +31,7 @@ exports.Tools = Tools;
Tools.options = {
id: "options",
ordinal: 0,
- url: "/devtools/client/framework/toolbox-options.xul",
+ url: "/client/framework/toolbox-options.xul",
icon: "../themes/images/tool-options.svg",
invertIconForLightTheme: true,
bgTheme: "theme-body",
@@ -128,9 +128,9 @@ Tools.jsdebugger = {
accesskey: l10n("debuggerMenu.accesskey", debuggerStrings),
modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift",
ordinal: 3,
- icon: "chrome://devtools/skin/images/tool-debugger.svg",
+ icon: "/client/themes/images/tool-debugger.svg",
invertIconForLightTheme: true,
- highlightedicon: "chrome://devtools/skin/images/tool-debugger-paused.svg",
+ highlightedicon: "/client/themes/images/tool-debugger-paused.svg",
url: "../debugger/debugger.xhtml",
label: l10n("ToolboxDebugger.label", debuggerStrings),
panelLabel: l10n("ToolboxDebugger.panelLabel", debuggerStrings),
diff --git a/client/eyedropper/eyedropper.js b/client/eyedropper/eyedropper.js
index 43a0961..30b063d 100644
--- a/client/eyedropper/eyedropper.js
+++ b/client/eyedropper/eyedropper.js
@@ -23,9 +23,9 @@ const XULRuntime = Cc("@mozilla.org/xre/app-info;1")
.getService(Ci.nsIXULRuntime);
const l10n = Services.strings.createBundle(require("l10n/eyedropper.properties"));
-const EYEDROPPER_URL = "/devtools/client/eyedropper/eyedropper.xul";
-const CROSSHAIRS_URL = "/devtools/client/eyedropper/crosshairs.css";
-const NOCURSOR_URL = "/devtools/client/eyedropper/nocursor.css";
+const EYEDROPPER_URL = "/client/eyedropper/eyedropper.xul";
+const CROSSHAIRS_URL = "/client/eyedropper/crosshairs.css";
+const NOCURSOR_URL = "/client/eyedropper/nocursor.css";
const ZOOM_PREF = "devtools.eyedropper.zoom";
const FORMAT_PREF = "devtools.defaultColorUnit";
@@ -119,7 +119,7 @@ function Eyedropper(chromeWindow, opts = { copyOnSelect: true, context: "other"
};
let mm = this._contentTab.linkedBrowser.messageManager;
- mm.loadFrameScript("resource://devtools/client/eyedropper/eyedropper-child.js", true);
+ mm.loadFrameScript("resource://client/eyedropper/eyedropper-child.js", true);
// record if this was opened via the picker or standalone
var telemetry = new Telemetry();
diff --git a/client/eyedropper/eyedropper.xul b/client/eyedropper/eyedropper.xul
index ec88f03..7f15da3 100644
--- a/client/eyedropper/eyedropper.xul
+++ b/client/eyedropper/eyedropper.xul
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/client/framework/ToolboxProcess.js b/client/framework/ToolboxProcess.js
index f1d55c3..6d04904 100644
--- a/client/framework/ToolboxProcess.js
+++ b/client/framework/ToolboxProcess.js
@@ -7,7 +7,7 @@
const { Cc, Ci, Cu, Cr } = require("devtools/sham/chrome");
-const DBG_XUL = "/devtools/client/framework/toolbox-process-window.xul";
+const DBG_XUL = "/client/framework/toolbox-process-window.xul";
const CHROME_DEBUGGER_PROFILE_NAME = "chrome_debugger_profile";
const { Services } = require("devtools/sham/services");
diff --git a/client/framework/connect/connect.xhtml b/client/framework/connect/connect.xhtml
index 7bb8449..caf4427 100644
--- a/client/framework/connect/connect.xhtml
+++ b/client/framework/connect/connect.xhtml
@@ -12,8 +12,8 @@
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
&title;
-
-
+
+
diff --git a/client/framework/dev-edition-promo/dev-edition-promo.css b/client/framework/dev-edition-promo/dev-edition-promo.css
index 5a3e8d5..7c692cf 100644
--- a/client/framework/dev-edition-promo/dev-edition-promo.css
+++ b/client/framework/dev-edition-promo/dev-edition-promo.css
@@ -48,7 +48,7 @@ window {
}
#icon {
- background-image: url("/devtools/client/framework/dev-edition-promo/dev-edition-logo.png");
+ background-image: url("/client/framework/dev-edition-promo/dev-edition-logo.png");
background-size: 64px 64px;
background-repeat: no-repeat;
width: 64px;
diff --git a/client/framework/dev-edition-promo/dev-edition-promo.xul b/client/framework/dev-edition-promo/dev-edition-promo.xul
index c9b0723..9995a5e 100644
--- a/client/framework/dev-edition-promo/dev-edition-promo.xul
+++ b/client/framework/dev-edition-promo/dev-edition-promo.xul
@@ -7,7 +7,7 @@
%toolboxDTD;
]>
-
+
diff --git a/client/framework/gDevTools.js b/client/framework/gDevTools.js
index bb08c1a..0a1490a 100644
--- a/client/framework/gDevTools.js
+++ b/client/framework/gDevTools.js
@@ -679,7 +679,7 @@ var gDevToolsBrowser = {
* Open a tab to allow connects to a remote browser
*/
openConnectScreen: function(gBrowser) {
- gBrowser.selectedTab = gBrowser.addTab("/devtools/client/framework/connect/connect.xhtml");
+ gBrowser.selectedTab = gBrowser.addTab("/client/framework/connect/connect.xhtml");
},
/**
@@ -690,7 +690,7 @@ var gDevToolsBrowser = {
if (win) {
win.focus();
} else {
- Services.ww.openWindow(null, "/devtools/client/webide/content/", "webide", "chrome,centerscreen,resizable", null);
+ Services.ww.openWindow(null, "/client/webide/content/", "webide", "chrome,centerscreen,resizable", null);
}
},
diff --git a/client/framework/toolbox-hosts.js b/client/framework/toolbox-hosts.js
index a68a253..2a76a24 100644
--- a/client/framework/toolbox-hosts.js
+++ b/client/framework/toolbox-hosts.js
@@ -278,7 +278,7 @@ function WindowHost() {
WindowHost.prototype = {
type: "window",
- WINDOW_URL: "/devtools/client/framework/toolbox-window.xul",
+ WINDOW_URL: "/client/framework/toolbox-window.xul",
/**
* Create a new xul window to contain the toolbox.
diff --git a/client/framework/toolbox-options.xul b/client/framework/toolbox-options.xul
index 705be94..bc45f87 100644
--- a/client/framework/toolbox-options.xul
+++ b/client/framework/toolbox-options.xul
@@ -7,12 +7,12 @@
%toolboxDTD;
]>
-
+
+ src="/client/shared/theme-switching.js"/>
diff --git a/client/framework/toolbox-process-window.xul b/client/framework/toolbox-process-window.xul
index 6d3eea8..3d4c1d1 100644
--- a/client/framework/toolbox-process-window.xul
+++ b/client/framework/toolbox-process-window.xul
@@ -17,7 +17,7 @@
width="900" height="600"
persist="screenX screenY width height sizemode">
-
+
diff --git a/client/framework/toolbox.xhtml b/client/framework/toolbox.xhtml
index 9f0b77b..97eac64 100644
--- a/client/framework/toolbox.xhtml
+++ b/client/framework/toolbox.xhtml
@@ -2,8 +2,8 @@
-
-
+
+
-
-
-
-
-
+
+
+
+
+
%inspectorDTD;
@@ -16,7 +16,7 @@
+ src="/client/shared/theme-switching.js"/>
-
-
-
+
+
+
+ src="/client/shared/theme-switching.js"/>
diff --git a/client/netmonitor/netmonitor.xul b/client/netmonitor/netmonitor.xul
index 6de36de..a3df130 100644
--- a/client/netmonitor/netmonitor.xul
+++ b/client/netmonitor/netmonitor.xul
@@ -3,11 +3,11 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-
-
-
-
+
+
+
+
+
%netmonitorDTD;
@@ -19,7 +19,7 @@
xmlns:html="http://www.w3.org/1999/xhtml">
+ src="/client/shared/theme-switching.js"/>
diff --git a/client/performance/modules/markers.js b/client/performance/modules/markers.js
index 0352d6b..41ac838 100644
--- a/client/performance/modules/markers.js
+++ b/client/performance/modules/markers.js
@@ -21,7 +21,7 @@ const { Formatters } = require("devtools/client/performance/modules/logic/marker
* - colorName: The label of the DevTools color used for this marker. If
* adding a new color, be sure to check that there's an entry
* for `.marker-details-bullet.{COLORNAME}` for the equivilent
- * entry in ./devtools/client/themes/performance.inc.css
+ * entry in ./client/themes/performance.inc.css
* https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors
* - collapsible: Whether or not this marker can contain other markers it
* eclipses, and becomes collapsible to reveal its nestable children.
diff --git a/client/performance/performance.xul b/client/performance/performance.xul
index d8f887e..c909d66 100644
--- a/client/performance/performance.xul
+++ b/client/performance/performance.xul
@@ -3,17 +3,17 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-
-
-
+
+
+
+
%performanceDTD;
]>
-
+
diff --git a/client/projecteditor/chrome/content/projecteditor-loader.js b/client/projecteditor/chrome/content/projecteditor-loader.js
index 6d4e118..83e3bc6 100644
--- a/client/projecteditor/chrome/content/projecteditor-loader.js
+++ b/client/projecteditor/chrome/content/projecteditor-loader.js
@@ -9,7 +9,7 @@ const ProjectEditor = require("devtools/client/projecteditor/lib/projecteditor")
const SAMPLE_PATH = buildTempDirectoryStructure();
const SAMPLE_NAME = "DevTools Content Application Name";
const SAMPLE_PROJECT_URL = "data:text/html;charset=utf-8,Project Overview
";
-const SAMPLE_ICON = "/devtools/client/themes/images/tool-debugger.svg";
+const SAMPLE_ICON = "/client/themes/images/tool-debugger.svg";
/**
* Create a workspace for working on projecteditor, available at
diff --git a/client/projecteditor/chrome/content/projecteditor-test.xul b/client/projecteditor/chrome/content/projecteditor-test.xul
index 5a2def3..821c020 100644
--- a/client/projecteditor/chrome/content/projecteditor-test.xul
+++ b/client/projecteditor/chrome/content/projecteditor-test.xul
@@ -3,12 +3,12 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
+
-
+
diff --git a/client/projecteditor/chrome/content/projecteditor.xul b/client/projecteditor/chrome/content/projecteditor.xul
index 2c2dfd3..b5dea1b 100644
--- a/client/projecteditor/chrome/content/projecteditor.xul
+++ b/client/projecteditor/chrome/content/projecteditor.xul
@@ -2,12 +2,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -22,7 +22,7 @@
-
+
diff --git a/client/projecteditor/lib/helpers/readdir.js b/client/projecteditor/lib/helpers/readdir.js
index 998fc68..616cd5a 100644
--- a/client/projecteditor/lib/helpers/readdir.js
+++ b/client/projecteditor/lib/helpers/readdir.js
@@ -8,7 +8,7 @@ const { OS } = require("devtools/sham/osfile");
/**
* This file is meant to be loaded in a worker using:
- * new ChromeWorker("/devtools/client/projecteditor/lib/helpers/readdir.js");
+ * new ChromeWorker("/client/projecteditor/lib/helpers/readdir.js");
*
* Read a local directory inside of a web woker
*
diff --git a/client/projecteditor/lib/plugins/app-manager/plugin.js b/client/projecteditor/lib/plugins/app-manager/plugin.js
index 7b85e64..e76ddd1 100644
--- a/client/projecteditor/lib/plugins/app-manager/plugin.js
+++ b/client/projecteditor/lib/plugins/app-manager/plugin.js
@@ -5,7 +5,7 @@ const { emit } = require("sdk/event/core");
const promise = require("devtools/sham/promise");
var { registerPlugin, Plugin } = require("devtools/client/projecteditor/lib/plugins/core");
const { AppProjectEditor } = require("./app-project-editor");
-const OPTION_URL = "/devtools/client/themes/images/tool-options.svg";
+const OPTION_URL = "/client/themes/images/tool-options.svg";
const {Services} = require("devtools/sham/services");
const Strings = Services.strings.createBundle(require("l10n/webide.properties"));
diff --git a/client/projecteditor/lib/projecteditor.js b/client/projecteditor/lib/projecteditor.js
index 919d8b5..dcdbf70 100644
--- a/client/projecteditor/lib/projecteditor.js
+++ b/client/projecteditor/lib/projecteditor.js
@@ -20,7 +20,7 @@ const { ViewHelpers } = require("devtools/client/shared/widgets/ViewHelpers");
const { DOMHelpers } = require("devtools/client/shared/DOMHelpers");
const { Services } = require("devtools/sham/services");
const { Task } = require("devtools/sham/task");
-const ITCHPAD_URL = "/devtools/client/projecteditor/chrome/content/projecteditor.xul";
+const ITCHPAD_URL = "/client/projecteditor/chrome/content/projecteditor.xul";
const { confirm } = require("devtools/client/projecteditor/lib/helpers/prompts");
const { getLocalizedString } = require("devtools/client/projecteditor/lib/helpers/l10n");
diff --git a/client/projecteditor/lib/stores/local.js b/client/projecteditor/lib/stores/local.js
index 54242c6..c54f45f 100644
--- a/client/projecteditor/lib/stores/local.js
+++ b/client/projecteditor/lib/stores/local.js
@@ -148,7 +148,7 @@ var LocalStore = Class({
}
this._refreshDeferred = promise.defer();
- let worker = this.worker = new ChromeWorker("/devtools/client/projecteditor/lib/helpers/readdir.js");
+ let worker = this.worker = new ChromeWorker("/client/projecteditor/lib/helpers/readdir.js");
let start = Date.now();
worker.onmessage = evt => {
diff --git a/client/promisedebugger/promise-debugger.xhtml b/client/promisedebugger/promise-debugger.xhtml
index a05db10..7fc9988 100644
--- a/client/promisedebugger/promise-debugger.xhtml
+++ b/client/promisedebugger/promise-debugger.xhtml
@@ -12,9 +12,9 @@
&title;
-
-
-
+
+
+
diff --git a/client/responsivedesign/responsivedesign-child.js b/client/responsivedesign/responsivedesign-child.js
index e1559ce..5ac58f7 100644
--- a/client/responsivedesign/responsivedesign-child.js
+++ b/client/responsivedesign/responsivedesign-child.js
@@ -5,7 +5,7 @@
const { Ci, Cr } = require("devtools/sham/chrome");
const gDeviceSizeWasPageSize = docShell.deviceSizeIsPageSize;
-const gFloatingScrollbarsStylesheet = Services.io.newURI("/devtools/client/themes/floating-scrollbars.css", null, null);
+const gFloatingScrollbarsStylesheet = Services.io.newURI("/client/themes/floating-scrollbars.css", null, null);
var gRequiresFloatingScrollbars;
var active = false;
diff --git a/client/responsivedesign/responsivedesign.js b/client/responsivedesign/responsivedesign.js
index 3d43c79..86f7742 100644
--- a/client/responsivedesign/responsivedesign.js
+++ b/client/responsivedesign/responsivedesign.js
@@ -142,7 +142,7 @@ function ResponsiveUI(aWindow, aTab)
this.mm.addMessageListener("ResponsiveMode:Start:Done", childOn);
let requiresFloatingScrollbars = !this.mainWindow.matchMedia("(-moz-overlay-scrollbars)").matches;
- this.mm.loadFrameScript("resource://devtools/client/responsivedesign/responsivedesign-child.js", true);
+ this.mm.loadFrameScript("resource://client/responsivedesign/responsivedesign-child.js", true);
this.mm.addMessageListener("ResponsiveMode:ChildScriptReady", () => {
this.mm.sendAsyncMessage("ResponsiveMode:Start", {
requiresFloatingScrollbars: requiresFloatingScrollbars
diff --git a/client/scratchpad/scratchpad-manager.js b/client/scratchpad/scratchpad-manager.js
index 1694a94..5fd163a 100644
--- a/client/scratchpad/scratchpad-manager.js
+++ b/client/scratchpad/scratchpad-manager.js
@@ -7,7 +7,7 @@
const { Cc, Ci, Cu} = require("devtools/sham/chrome");
-const SCRATCHPAD_WINDOW_URL = "/devtools/client/scratchpad/scratchpad.xul";
+const SCRATCHPAD_WINDOW_URL = "/client/scratchpad/scratchpad.xul";
const SCRATCHPAD_WINDOW_FEATURES = "chrome,titlebar,toolbar,centerscreen,resizable,dialog=no";
const { Services } = require("devtools/sham/services");
diff --git a/client/scratchpad/scratchpad.js b/client/scratchpad/scratchpad.js
index 9e56141..e154e6f 100644
--- a/client/scratchpad/scratchpad.js
+++ b/client/scratchpad/scratchpad.js
@@ -38,7 +38,7 @@ const ENABLE_AUTOCOMPLETION = "devtools.scratchpad.enableAutocompletion";
const TAB_SIZE = "devtools.editor.tabsize";
const FALLBACK_CHARSET_LIST = "intl.fallbackCharsetList.ISO-8859-1";
-const VARIABLES_VIEW_URL = "/devtools/client/shared/widgets/VariablesView.xul";
+const VARIABLES_VIEW_URL = "/client/shared/widgets/VariablesView.xul";
const {loader} = require("devtools/shared/Loader");
diff --git a/client/scratchpad/scratchpad.xul b/client/scratchpad/scratchpad.xul
index 79ac91f..ee5d17b 100644
--- a/client/scratchpad/scratchpad.xul
+++ b/client/scratchpad/scratchpad.xul
@@ -13,9 +13,9 @@
%sourceEditorStrings;
]>
-
-
-
+
+
+
-
-
+ src="/client/shared/theme-switching.js"/>
+
+
diff --git a/client/shadereditor/shadereditor.xul b/client/shadereditor/shadereditor.xul
index 73c6d51..d4c5f84 100644
--- a/client/shadereditor/shadereditor.xul
+++ b/client/shadereditor/shadereditor.xul
@@ -3,10 +3,10 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-
-
-
+
+
+
+
%debuggerDTD;
@@ -15,7 +15,7 @@
+ src="/client/shared/theme-switching.js"/>
diff --git a/client/shared/browser-loader.js b/client/shared/browser-loader.js
index 306946c..2e7407c 100644
--- a/client/shared/browser-loader.js
+++ b/client/shared/browser-loader.js
@@ -4,8 +4,8 @@ const { Cc, Ci, Cu } = require("devtools/sham/chrome");
const loaders = require("gre/modules/commonjs/toolkit/loader.js");
const { devtools, DevToolsLoader } = require("devtools/shared/Loader");
const { joinURI } = devtools.require("devtools/shared/path");
-const VENDOR_CONTENT_URL = "resource://devtools/client/shared/vendor";
-const COMPONENTS_URL = "resource://devtools/client/shared/components";
+const VENDOR_CONTENT_URL = "resource://client/shared/vendor";
+const COMPONENTS_URL = "resource://client/shared/components";
/*
* Create a loader to be used in a browser environment. This evaluates
diff --git a/client/shared/doorhanger.js b/client/shared/doorhanger.js
index 0d1e6ff..df0aa7f 100644
--- a/client/shared/doorhanger.js
+++ b/client/shared/doorhanger.js
@@ -12,7 +12,7 @@ const { Promise } = require("devtools/sham/promise");
const { getMostRecentBrowserWindow } = require("sdk/window/utils");
const XULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-const DEV_EDITION_PROMO_URL = "/devtools/client/framework/dev-edition-promo/dev-edition-promo.xul";
+const DEV_EDITION_PROMO_URL = "/client/framework/dev-edition-promo/dev-edition-promo.xul";
const DEV_EDITION_PROMO_ENABLED_PREF = "devtools.devedition.promo.enabled";
const DEV_EDITION_PROMO_SHOWN_PREF = "devtools.devedition.promo.shown";
const DEV_EDITION_PROMO_URL_PREF = "devtools.devedition.promo.url";
diff --git a/client/shared/theme-switching.js b/client/shared/theme-switching.js
index f421383..1aa683b 100644
--- a/client/shared/theme-switching.js
+++ b/client/shared/theme-switching.js
@@ -5,7 +5,7 @@
"use strict";
(function() {
- const DEVTOOLS_SKIN_URL = "/devtools/client/themes/";
+ const DEVTOOLS_SKIN_URL = "/client/themes/";
let documentElement = document.documentElement;
function forceStyle() {
@@ -129,7 +129,7 @@
// const { classes: Cc, interfaces: Ci, utils: Cu } = Components;
// Cu.import("resource://gre/modules/Services.jsm");
- // Cu.import("resource://devtools/client/framework/gDevTools.jsm");
+ // Cu.import("resource://client/framework/gDevTools.jsm");
let os;
let platform = navigator.platform;
diff --git a/client/shared/theme.js b/client/shared/theme.js
index 521e069..9ed4951 100644
--- a/client/shared/theme.js
+++ b/client/shared/theme.js
@@ -14,7 +14,7 @@ const { NetUtil } = require("devtools/sham/netutil");
const { Services } = require("devtools/sham/services");
const { gDevTools } = require("devtools/client/framework/gDevTools");
-const VARIABLES_URI = "/devtools/client/themes/variables.css";
+const VARIABLES_URI = "/client/themes/variables.css";
const THEME_SELECTOR_STRINGS = {
light: ":root.theme-light {",
dark: ":root.theme-dark {"
diff --git a/client/shared/vendor/REACT_UPGRADING b/client/shared/vendor/REACT_UPGRADING
index b100d4e..7f6ade4 100644
--- a/client/shared/vendor/REACT_UPGRADING
+++ b/client/shared/vendor/REACT_UPGRADING
@@ -10,11 +10,11 @@ the `react.js` here is the dev environment one and generated with the following
* git clone https://github.com/facebook/react.git && cd react
* npm install
* grunt build
-* cp build/react-with-addons.js /devtools/client/shared/vendor/react.js
+* cp build/react-with-addons.js /client/shared/vendor/react.js
For production, which we do not currently have:
* NODE_ENV=production grunt build
-* cp build/react-with-addons.js /devtools/client/shared/vendor/react.js
+* cp build/react-with-addons.js /client/shared/vendor/react.js
The second build produces a non-minified React file but with all the
sanity checks that incur a perf hit removed.
@@ -23,5 +23,5 @@ You also need to copy the ReactDOM package. It requires React, so
right now we are just manually changing the path from `react` to
`devtools/client/shared/vendor/react`.
-* cp build/react-dom.js /devtools/client/shared/vendor/react-dom.js
+* cp build/react-dom.js /client/shared/vendor/react-dom.js
* (change `require('react')` at the top of the file to the right path)
diff --git a/client/shared/widgets/FlameGraph.js b/client/shared/widgets/FlameGraph.js
index 632115b..4590ecb 100644
--- a/client/shared/widgets/FlameGraph.js
+++ b/client/shared/widgets/FlameGraph.js
@@ -20,7 +20,7 @@ const { GraphArea } = require("devtools/client/shared/widgets/Graphs");
const { GraphAreaDragger } = require("devtools/client/shared/widgets/Graphs");
const HTML_NS = "http://www.w3.org/1999/xhtml";
-const GRAPH_SRC = "/devtools/client/shared/widgets/graphs-frame.xhtml";
+const GRAPH_SRC = "/client/shared/widgets/graphs-frame.xhtml";
const L10N = new ViewHelpers.L10N();
diff --git a/client/shared/widgets/Graphs.js b/client/shared/widgets/Graphs.js
index df48d4b..74c695d 100644
--- a/client/shared/widgets/Graphs.js
+++ b/client/shared/widgets/Graphs.js
@@ -16,9 +16,9 @@ loader.lazyImporter(this, "DevToolsWorker",
"resource://devtools/shared/worker/worker.js");
const HTML_NS = "http://www.w3.org/1999/xhtml";
-const GRAPH_SRC = "/devtools/client/shared/widgets/graphs-frame.xhtml";
+const GRAPH_SRC = "/client/shared/widgets/graphs-frame.xhtml";
const WORKER_URL =
- "resource://devtools/client/shared/widgets/GraphsWorker.js";
+ "resource://client/shared/widgets/GraphsWorker.js";
// Generic constants.
diff --git a/client/shared/widgets/Tooltip.js b/client/shared/widgets/Tooltip.js
index 1470730..e5921c5 100644
--- a/client/shared/widgets/Tooltip.js
+++ b/client/shared/widgets/Tooltip.js
@@ -1274,7 +1274,7 @@ EventTooltip.prototype = {
if (!listener.hide.debugger) {
let debuggerIcon = doc.createElement("image");
debuggerIcon.className = "event-tooltip-debugger-icon";
- debuggerIcon.setAttribute("src", "/devtools/client/themes/images/tool-debugger.svg");
+ debuggerIcon.setAttribute("src", "/client/themes/images/tool-debugger.svg");
let openInDebugger =
l10n.strings.GetStringFromName("eventsTooltip.openInDebugger");
debuggerIcon.setAttribute("tooltiptext", openInDebugger);
diff --git a/client/shared/widgets/VariablesView.xul b/client/shared/widgets/VariablesView.xul
index 5595b52..8653597 100644
--- a/client/shared/widgets/VariablesView.xul
+++ b/client/shared/widgets/VariablesView.xul
@@ -2,10 +2,10 @@
-
-
-
-
+
+
+
+
%viewDTD;
@@ -14,6 +14,6 @@
title="&PropertiesViewWindowTitle;">
+ src="/client/shared/theme-switching.js"/>
diff --git a/client/shared/widgets/cubic-bezier-frame.xhtml b/client/shared/widgets/cubic-bezier-frame.xhtml
index 6546ee1..fa38899 100644
--- a/client/shared/widgets/cubic-bezier-frame.xhtml
+++ b/client/shared/widgets/cubic-bezier-frame.xhtml
@@ -7,9 +7,9 @@
-
-
-
+
+
+