Bug 1490301 - Always use relative paths in new about:debugging;r=daisuke
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 21 Sep 2018 11:31:07 +0000
changeset 437708 37c3d52f7a9ea2a751da8f5fb39561c71a9628e7
parent 437707 d414a44d81195403aabdfb91994c5df9c9acbbc9
child 437709 fd174216895b75204427c4ef83bcd1baf84f2e0b
push id108133
push usercbrindusan@mozilla.com
push dateFri, 21 Sep 2018 17:33:11 +0000
treeherdermozilla-inbound@1879856ca1ab [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaisuke
bugs1490301
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1490301 - Always use relative paths in new about:debugging;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D6398
devtools/client/aboutdebugging-new/src/actions/debug-targets.js
devtools/client/aboutdebugging-new/src/actions/runtimes.js
devtools/client/aboutdebugging-new/src/middleware/extension-component-data.js
devtools/client/aboutdebugging-new/src/reducers/runtimes-state.js
--- a/devtools/client/aboutdebugging-new/src/actions/debug-targets.js
+++ b/devtools/client/aboutdebugging-new/src/actions/debug-targets.js
@@ -8,22 +8,22 @@ const { AddonManager } = require("resour
 const { gDevToolsBrowser } = require("devtools/client/framework/devtools-browser");
 
 const {
   debugLocalAddon,
   debugRemoteAddon,
   getAddonForm,
   openTemporaryExtension,
   uninstallAddon,
-} = require("devtools/client/aboutdebugging-new/src/modules/extensions-helper");
+} = require("../modules/extensions-helper");
 
 const {
   getCurrentClient,
   getCurrentRuntime
-} = require("devtools/client/aboutdebugging-new/src/modules/runtimes-state-helper");
+} = require("../modules/runtimes-state-helper");
 
 const {
   DEBUG_TARGETS,
   REQUEST_EXTENSIONS_FAILURE,
   REQUEST_EXTENSIONS_START,
   REQUEST_EXTENSIONS_SUCCESS,
   REQUEST_TABS_FAILURE,
   REQUEST_TABS_START,
--- a/devtools/client/aboutdebugging-new/src/actions/runtimes.js
+++ b/devtools/client/aboutdebugging-new/src/actions/runtimes.js
@@ -6,17 +6,17 @@
 
 const { DebuggerClient } = require("devtools/shared/client/debugger-client");
 const { DebuggerServer } = require("devtools/server/main");
 
 const Actions = require("./index");
 
 const {
   findRuntimeById,
-} = require("devtools/client/aboutdebugging-new/src/modules/runtimes-state-helper");
+} = require("../modules/runtimes-state-helper");
 
 const {
   CONNECT_RUNTIME_FAILURE,
   CONNECT_RUNTIME_START,
   CONNECT_RUNTIME_SUCCESS,
   DISCONNECT_RUNTIME_FAILURE,
   DISCONNECT_RUNTIME_START,
   DISCONNECT_RUNTIME_SUCCESS,
--- a/devtools/client/aboutdebugging-new/src/middleware/extension-component-data.js
+++ b/devtools/client/aboutdebugging-new/src/middleware/extension-component-data.js
@@ -7,17 +7,17 @@
 const {
   DEBUG_TARGETS,
   REQUEST_EXTENSIONS_SUCCESS,
 } = require("../constants");
 
 const {
   getExtensionUuid,
   parseFileUri
-} = require("devtools/client/aboutdebugging-new/src/modules/extensions-helper");
+} = require("../modules/extensions-helper");
 
 /**
  * This middleware converts extensions object that get from DebuggerClient.listAddons()
  * to data which is used in DebugTargetItem.
  */
 const extensionComponentDataMiddleware = store => next => action => {
   switch (action.type) {
     case REQUEST_EXTENSIONS_SUCCESS: {
--- a/devtools/client/aboutdebugging-new/src/reducers/runtimes-state.js
+++ b/devtools/client/aboutdebugging-new/src/reducers/runtimes-state.js
@@ -11,17 +11,17 @@ const {
   RUNTIMES,
   UNWATCH_RUNTIME_SUCCESS,
   USB_RUNTIMES_UPDATED,
   WATCH_RUNTIME_SUCCESS,
 } = require("../constants");
 
 const {
   findRuntimeById,
-} = require("devtools/client/aboutdebugging-new/src/modules/runtimes-state-helper");
+} = require("../modules/runtimes-state-helper");
 
 // Map between known runtime types and nodes in the runtimes state.
 const TYPE_TO_RUNTIMES_KEY = {
   [RUNTIMES.THIS_FIREFOX]: "thisFirefoxRuntimes",
   [RUNTIMES.NETWORK]: "networkRuntimes",
 };
 
 function RuntimesState(networkRuntimes = []) {