Bug 1540689 - Update documentation links in the new about:debugging. r=jdescottes,daisuke,Ola
authorBelén Albeza <balbeza@mozilla.com>
Tue, 14 May 2019 13:17:27 +0000
changeset 535668 230016dbba05b36ecc1ccada9abdc2d5370a0ae7
parent 535667 7bfe542574a942df1aaca059b8cc7d4da0cfa158
child 535669 fe4e40766efbace8751f3da5d9d3ba0588958202
child 535687 b0645d43f221993cd1810a50c27abbf3a34f3055
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes, daisuke, Ola
bugs1540689
milestone68.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 1540689 - Update documentation links in the new about:debugging. r=jdescottes,daisuke,Ola Differential Revision: https://phabricator.services.mozilla.com/D30491
devtools/client/aboutdebugging-new/documentation/TESTS_REAL_DEVICES.md
devtools/client/aboutdebugging-new/src/components/CompatibilityWarning.js
devtools/client/aboutdebugging-new/src/components/ServiceWorkersWarning.js
devtools/client/aboutdebugging-new/src/components/connect/ConnectPage.js
--- a/devtools/client/aboutdebugging-new/documentation/TESTS_REAL_DEVICES.md
+++ b/devtools/client/aboutdebugging-new/documentation/TESTS_REAL_DEVICES.md
@@ -8,17 +8,17 @@ The tests that use a real device are loc
 
 ## Setup environment
 ### Real device side
 1. Enable USB debugging on your device
 2. Launch Firefox
 3. Enable USB debugging on your Firefox
 4. Connect to your PC via USB
 
-You can refer to https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE#Setting_up_the_Android_device.
+You can refer to https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_over_USB
 
 ### PC side
 Setup the real device information to evaluate the validity in tests.
 
 1. Copy a sample file which is located at `devtools/client/aboutdebugging-new/test/browser/real/usb-runtimes-sample.json` and rename it for example to `devtools/client/aboutdebugging-new/test/browser/real/local-usb-runtimes.json`.
 2. Edit the file.
 
    This is a JSON file like below, write your real device information in here. This example indicates that there should be one USB device and should be displayed `Pixel 2` as device name and `Firefox Nightly` as short name on the sidebar of about:debugging. Regarding the other information, please see `Detail of config file` section of this document.
--- a/devtools/client/aboutdebugging-new/src/components/CompatibilityWarning.js
+++ b/devtools/client/aboutdebugging-new/src/components/CompatibilityWarning.js
@@ -10,17 +10,17 @@ const dom = require("devtools/client/sha
 const FluentReact = require("devtools/client/shared/vendor/fluent-react");
 const Localized = createFactory(FluentReact.Localized);
 
 const Message = createFactory(require("./shared/Message"));
 
 const { MESSAGE_LEVEL } = require("../constants");
 const { COMPATIBILITY_STATUS } = require("devtools/client/shared/remote-debugging/version-checker");
 
-const TROUBLESHOOTING_URL = "https://developer.mozilla.org/docs/Tools/WebIDE/Troubleshooting";
+const TROUBLESHOOTING_URL = "https://developer.mozilla.org/docs/Tools/about:debugging#Troubleshooting";
 
 const Types = require("../types/index");
 
 class CompatibilityWarning extends PureComponent {
   static get propTypes() {
     return {
       compatibilityReport: Types.compatibilityReport.isRequired,
     };
--- a/devtools/client/aboutdebugging-new/src/components/ServiceWorkersWarning.js
+++ b/devtools/client/aboutdebugging-new/src/components/ServiceWorkersWarning.js
@@ -8,17 +8,17 @@ const { createFactory, PureComponent } =
 const dom = require("devtools/client/shared/vendor/react-dom-factories");
 
 const FluentReact = require("devtools/client/shared/vendor/fluent-react");
 const Localized = createFactory(FluentReact.Localized);
 
 const Message = createFactory(require("./shared/Message"));
 
 const { MESSAGE_LEVEL } = require("../constants");
-const DOC_URL = "https://developer.mozilla.org/en-US/docs/Tools/about%3Adebugging#Service_workers_not_compatible";
+const DOC_URL = "https://developer.mozilla.org/docs/Tools/about:debugging#Service_workers_not_compatible";
 
 class ServiceWorkersWarning extends PureComponent {
   render() {
     return Message(
       {
         level: MESSAGE_LEVEL.WARNING,
         isCloseable: true,
       },
--- a/devtools/client/aboutdebugging-new/src/components/connect/ConnectPage.js
+++ b/devtools/client/aboutdebugging-new/src/components/connect/ConnectPage.js
@@ -141,25 +141,25 @@ class ConnectPage extends PureComponent 
         ),
       },
       isAddonInstalled
         ? ConnectSteps(
           {
             steps: [
               {
                 localizationId: "about-debugging-setup-usb-step-enable-dev-menu",
-                url: "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE#Setting_up_the_Android_device",
+                url: "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_over_USB",
               },
               {
                 localizationId: "about-debugging-setup-usb-step-enable-debug",
-                url: "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE#Setting_up_the_Android_device",
+                url: "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_over_USB",
               },
               {
                 localizationId: "about-debugging-setup-usb-step-enable-debug-firefox",
-                url: "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE#Setting_up_the_Android_device",
+                url: "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_over_USB",
               },
               { localizationId: "about-debugging-setup-usb-step-plug-device" },
             ],
           }
         )
         : Localized(
           {
             id: "about-debugging-setup-usb-disabled",