diff --git a/devtools/client/aboutdebugging/documentation/TESTS_REAL_DEVICES.md b/devtools/client/aboutdebugging/documentation/TESTS_REAL_DEVICES.md index 348b7d29a6a8..85fe286c24ec 100644 --- a/devtools/client/aboutdebugging/documentation/TESTS_REAL_DEVICES.md +++ b/devtools/client/aboutdebugging/documentation/TESTS_REAL_DEVICES.md @@ -13,7 +13,7 @@ The tests that use a real device are located in `devtools/client/aboutdebugging/ 3. Enable USB debugging on your Firefox 4. Connect to your PC via USB -You can refer to https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_over_USB +You can refer to https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#connecting-to-a-remote-device ### PC side Setup the real device information to evaluate the validity in tests. diff --git a/devtools/client/aboutdebugging/src/components/CompatibilityWarning.js b/devtools/client/aboutdebugging/src/components/CompatibilityWarning.js index cac20c0f0c27..b569d3305097 100644 --- a/devtools/client/aboutdebugging/src/components/CompatibilityWarning.js +++ b/devtools/client/aboutdebugging/src/components/CompatibilityWarning.js @@ -25,9 +25,9 @@ const { } = require("devtools/client/shared/remote-debugging/version-checker"); const TROUBLESHOOTING_URL = - "https://developer.mozilla.org/docs/Tools/about:debugging#Troubleshooting"; + "https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/"; const FENNEC_TROUBLESHOOTING_URL = - "https://developer.mozilla.org/docs/Tools/about:debugging#Connection_to_Firefox_for_Android_68"; + "https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#connection-to-firefox-for-android-68"; const Types = require("devtools/client/aboutdebugging/src/types/index"); diff --git a/devtools/client/aboutdebugging/src/components/ServiceWorkersWarning.js b/devtools/client/aboutdebugging/src/components/ServiceWorkersWarning.js index 60a2ab82e506..246bbb1dc115 100644 --- a/devtools/client/aboutdebugging/src/components/ServiceWorkersWarning.js +++ b/devtools/client/aboutdebugging/src/components/ServiceWorkersWarning.js @@ -21,7 +21,7 @@ const { MESSAGE_LEVEL, } = require("devtools/client/aboutdebugging/src/constants"); const DOC_URL = - "https://developer.mozilla.org/docs/Tools/about:debugging#Service_workers_not_compatible"; + "https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#service-workers-not-compatible"; class ServiceWorkersWarning extends PureComponent { render() { diff --git a/devtools/client/aboutdebugging/src/components/connect/ConnectPage.js b/devtools/client/aboutdebugging/src/components/connect/ConnectPage.js index 37a165fe8ee4..ddb2d2337922 100644 --- a/devtools/client/aboutdebugging/src/components/connect/ConnectPage.js +++ b/devtools/client/aboutdebugging/src/components/connect/ConnectPage.js @@ -53,9 +53,9 @@ const GLOBE_ICON_SRC = "chrome://devtools/skin/images/aboutdebugging-globe-icon.svg"; const TROUBLESHOOT_USB_URL = - "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_over_USB"; + "https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#connecting-to-a-remote-device"; const TROUBLESHOOT_NETWORK_URL = - "https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_over_a_network"; + "https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#connecting-over-the-network"; class ConnectPage extends PureComponent { static get propTypes() { diff --git a/devtools/client/aboutdebugging/src/components/sidebar/Sidebar.js b/devtools/client/aboutdebugging/src/components/sidebar/Sidebar.js index 8901674178f3..bc8717c53189 100644 --- a/devtools/client/aboutdebugging/src/components/sidebar/Sidebar.js +++ b/devtools/client/aboutdebugging/src/components/sidebar/Sidebar.js @@ -158,7 +158,7 @@ class Sidebar extends PureComponent { renderFooter() { const HELP_ICON_SRC = "chrome://global/skin/icons/help.svg"; const SUPPORT_URL = - "https://developer.mozilla.org/docs/Tools/about:debugging"; + "https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/"; return dom.footer( { diff --git a/devtools/client/accessibility/components/AccessibilityPrefs.js b/devtools/client/accessibility/components/AccessibilityPrefs.js index 17d6928790da..3ec224b3fe02 100644 --- a/devtools/client/accessibility/components/AccessibilityPrefs.js +++ b/devtools/client/accessibility/components/AccessibilityPrefs.js @@ -57,10 +57,7 @@ class AccessibilityPrefs extends Component { } onLearnMoreClick() { - openDocLink( - A11Y_LEARN_MORE_LINK + - "?utm_source=devtools&utm_medium=a11y-panel-toolbar" - ); + openDocLink(A11Y_LEARN_MORE_LINK); } render() { diff --git a/devtools/client/accessibility/components/Description.js b/devtools/client/accessibility/components/Description.js index 8bf2621917a7..200c6e6c462d 100644 --- a/devtools/client/accessibility/components/Description.js +++ b/devtools/client/accessibility/components/Description.js @@ -37,9 +37,7 @@ function Description() { div( { role: "presentation", tabIndex: "-1" }, LearnMoreLink({ - href: - A11Y_LEARN_MORE_LINK + - "?utm_source=devtools&utm_medium=a11y-panel-description", + href: A11Y_LEARN_MORE_LINK, learnMoreStringKey: "accessibility.learnMore", l10n: L10N, messageStringKey: "accessibility.description.general.p1", diff --git a/devtools/client/accessibility/constants.js b/devtools/client/accessibility/constants.js index 324157e9ad4b..312049ef156b 100644 --- a/devtools/client/accessibility/constants.js +++ b/devtools/client/accessibility/constants.js @@ -118,12 +118,12 @@ exports.A11Y_SERVICE_DURATION = // URL constants exports.A11Y_LEARN_MORE_LINK = - "https://developer.mozilla.org/docs/Tools/Accessibility_inspector"; + "https://firefox-source-docs.mozilla.org/devtools-user/accessibility_inspector/"; exports.A11Y_CONTRAST_LEARN_MORE_LINK = "https://developer.mozilla.org/docs/Web/Accessibility/Understanding_WCAG/Perceivable/" + "Color_contrast?utm_source=devtools&utm_medium=a11y-panel-checks-color-contrast"; exports.A11Y_SIMULATION_DOCUMENTATION_LINK = - "https://developer.mozilla.org/docs/Tools/Accessibility_inspector/Simulation"; + "https://firefox-source-docs.mozilla.org/devtools-user/accessibility_inspector/simulation/"; const A11Y_TEXT_LABEL_LINK_BASE = "https://developer.mozilla.org/docs/Web/Accessibility/Understanding_WCAG/Text_labels_and_names" + diff --git a/devtools/client/debugger/src/components/SecondaryPanes/index.js b/devtools/client/debugger/src/components/SecondaryPanes/index.js index a54ac83a278e..e73dc9ef265f 100644 --- a/devtools/client/debugger/src/components/SecondaryPanes/index.js +++ b/devtools/client/debugger/src/components/SecondaryPanes/index.js @@ -62,7 +62,7 @@ function debugBtn(onClick, type, className, tooltip) { } const mdnLink = - "https://developer.mozilla.org/docs/Tools/Debugger/Using_the_Debugger_map_scopes_feature?utm_source=devtools&utm_medium=debugger-map-scopes"; + "https://firefox-source-docs.mozilla.org/devtools-user/debugger/using_the_debugger_map_scopes_feature/"; class SecondaryPanes extends Component { constructor(props) { diff --git a/devtools/client/locales/en-US/aboutdebugging.ftl b/devtools/client/locales/en-US/aboutdebugging.ftl index d36d223abefc..6565310a9626 100644 --- a/devtools/client/locales/en-US/aboutdebugging.ftl +++ b/devtools/client/locales/en-US/aboutdebugging.ftl @@ -77,7 +77,7 @@ about-debugging-sidebar-runtime-item-name-no-device = .title = { $displayName } # Text to show in the footer of the sidebar that links to a help page -# (currently: https://developer.mozilla.org/docs/Tools/about:debugging) +# (currently: https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/) about-debugging-sidebar-support = Debugging Support # Text to show as the ALT attribute of a help icon that accompanies the help about @@ -138,7 +138,7 @@ about-debugging-setup-usb-step-enable-debug-firefox2 = Enable USB Debugging in F about-debugging-setup-usb-step-plug-device = Connect the Android device to your computer. # Text shown in the USB section of the setup page with a link to troubleshoot connection errors. -# The link goes to https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_over_USB +# The link goes to https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#connecting-to-a-remote-device about-debugging-setup-usb-troubleshoot = Problems connecting to the USB device? Troubleshoot # Network section of the Setup page @@ -146,7 +146,7 @@ about-debugging-setup-network = .title = Network Location # Text shown in the Network section of the setup page with a link to troubleshoot connection errors. -# The link goes to https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_over_a_network +# The link goes to https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#connecting-over-the-network about-debugging-setup-network-troubleshoot = Problems connecting via network location? Troubleshoot # Text of a button displayed after the network locations "Host" input. @@ -206,12 +206,12 @@ about-debugging-runtime-processes = about-debugging-runtime-profile-button2 = Profile performance # This string is displayed in the runtime page if the current configuration of the -# target runtime is incompatible with service workers. "Learn more" points to MDN. -# https://developer.mozilla.org/en-US/docs/Tools/about%3Adebugging#Service_workers_not_compatible +# target runtime is incompatible with service workers. "Learn more" points to: +# https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/index.html#service-workers-not-compatible about-debugging-runtime-service-workers-not-compatible = Your browser configuration is not compatible with Service Workers. Learn more # This string is displayed in the runtime page if the remote browser version is too old. -# "Troubleshooting" link points to https://developer.mozilla.org/docs/Tools/about:debugging#Troubleshooting +# "Troubleshooting" link points to https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/ # { $runtimeVersion } is the version of the remote browser (for instance "67.0a1") # { $minVersion } is the minimum version that is compatible with the current Firefox instance (same format) about-debugging-browser-version-too-old = The connected browser has an old version ({ $runtimeVersion }). The minimum supported version is ({ $minVersion }). This is an unsupported setup and may cause DevTools to fail. Please update the connected browser. Troubleshooting @@ -221,7 +221,7 @@ about-debugging-browser-version-too-old = The connected browser has an old versi about-debugging-browser-version-too-old-fennec = This version of Firefox cannot debug Firefox for Android (68). We recommend installing Firefox for Android Nightly on your phone for testing. More details # This string is displayed in the runtime page if the remote browser version is too recent. -# "Troubleshooting" link points to https://developer.mozilla.org/docs/Tools/about:debugging#Troubleshooting +# "Troubleshooting" link points to https://firefox-source-docs.mozilla.org/devtools-user/about_colon_debugging/ # { $runtimeID } is the build ID of the remote browser (for instance "20181231", format is yyyyMMdd) # { $localID } is the build ID of the current Firefox instance (same format) # { $runtimeVersion } is the version of the remote browser (for instance "67.0a1") diff --git a/devtools/client/locales/en-US/storage.ftl b/devtools/client/locales/en-US/storage.ftl index 0545a6a420c4..ff787d05f8e5 100644 --- a/devtools/client/locales/en-US/storage.ftl +++ b/devtools/client/locales/en-US/storage.ftl @@ -8,25 +8,25 @@ storage-table-empty-text = No data present for selected host # Hint shown when the cookies storage type is selected. Clicking the link will open -# https://developer.mozilla.org/docs/Tools/Storage_Inspector/Cookies +# https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/cookies/ storage-table-type-cookies-hint = View and edit cookies by selecting a host. Learn more # Hint shown when the local storage type is selected. Clicking the link will open -# https://developer.mozilla.org/docs/Tools/Storage_Inspector/Local_Storage_Session_Storage +# https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/local_storage_session_storage/ storage-table-type-localstorage-hint = View and edit the local storage by selecting a host. Learn more # Hint shown when the session storage type is selected. Clicking the link will open -# https://developer.mozilla.org/docs/Tools/Storage_Inspector/Local_Storage_Session_Storage +# https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/local_storage_session_storage/ storage-table-type-sessionstorage-hint = View and edit the session storage by selecting a host. Learn more # Hint shown when the IndexedDB storage type is selected. Clicking the link will open -# https://developer.mozilla.org/docs/Tools/Storage_Inspector/IndexedDB +# https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/indexeddb/ storage-table-type-indexeddb-hint = View and delete IndexedDB entries by selecting a database. Learn more # Hint shown when the cache storage type is selected. Clicking the link will open -# https://developer.mozilla.org/docs/Tools/Storage_Inspector/Cache_Storage +# https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/cache_storage/ storage-table-type-cache-hint = View and delete the cache storage entries by selecting a storage. Learn more # Hint shown when the extension storage type is selected. Clicking the link will open -# https://developer.mozilla.org/docs/Tools/Storage_Inspector/Extension_Storage +# https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/extension_storage/ storage-table-type-extensionstorage-hint = View and edit the extension storage by selecting a host. Learn more diff --git a/devtools/client/netmonitor/docs/architecture.md b/devtools/client/netmonitor/docs/architecture.md index d6aee18d1f1a..64adb1a2ee3d 100644 --- a/devtools/client/netmonitor/docs/architecture.md +++ b/devtools/client/netmonitor/docs/architecture.md @@ -1,6 +1,6 @@ # Network Monitor -The Network Monitor (netmonitor) shows you all the network requests Firefox makes (for example, when a page is loaded or when an XMLHttpRequest is performed) , how long each request takes, and details of each request. You can edit the method, query, header and resend the request as well. Read [MDN](https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor) to learn all the features and how to use the tool. +The Network Monitor (netmonitor) shows you all the network requests Firefox makes (for example, when a page is loaded or when an XMLHttpRequest is performed) , how long each request takes, and details of each request. You can edit the method, query, header and resend the request as well. Read [more](https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/) to learn all the features and how to use the tool. ### UI diff --git a/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js b/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js index f4dc2cd1ead4..43ef4a4a324e 100644 --- a/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js +++ b/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js @@ -110,7 +110,7 @@ const HEADERS_ETP = L10N.getStr( * Lists basic information about the request * * In http/2 all response headers are in small case. - * See: https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor/request_details#Headers + * See: https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/request_details/index.html#response-headers * RFC: https://tools.ietf.org/html/rfc7540#section-8.1.2 */ class HeadersPanel extends Component { diff --git a/devtools/client/netmonitor/src/constants.js b/devtools/client/netmonitor/src/constants.js index e2591c33e506..d26b5576e30c 100644 --- a/devtools/client/netmonitor/src/constants.js +++ b/devtools/client/netmonitor/src/constants.js @@ -146,7 +146,7 @@ const EVENTS = { const TEST_EVENTS = { // When a network or timeline event is received. - // See https://developer.mozilla.org/docs/Tools/Web_Console/remoting for + // See https://firefox-source-docs.mozilla.org/devtools-user/web_console/remoting/ for // more information about what each packet is supposed to deliver. NETWORK_EVENT: "NetMonitor:NetworkEvent", NETWORK_EVENT_UPDATED: "NetMonitor:NetworkEventUpdated", diff --git a/devtools/client/performance/docs/markers.md b/devtools/client/performance/docs/markers.md index 0053837321d4..83273964317f 100644 --- a/devtools/client/performance/docs/markers.md +++ b/devtools/client/performance/docs/markers.md @@ -102,7 +102,7 @@ Emitted after a full GC cycle has completed (which is after any number of incremental slices). * DOMString causeName - The reason for a GC event to occur. A full list of - GC reasons can be found [on MDN](https://developer.mozilla.org/en-US/docs/Tools/Debugger-API/Debugger.Memory#Debugger.Memory_Handler_Functions). + GC reasons can be found in [docs](https://firefox-source-docs.mozilla.org/devtools-user/debugger-api/debugger.memory/). * DOMString nonincremenetalReason - If the GC could not do an incremental GC (smaller, quick GC events), and we have to walk the entire heap and GC everything marked, then the reason listed here is why. diff --git a/devtools/client/storage/test/browser_storage_type_descriptions.js b/devtools/client/storage/test/browser_storage_type_descriptions.js index 420c348192b1..15d1ae43c0eb 100644 --- a/devtools/client/storage/test/browser_storage_type_descriptions.js +++ b/devtools/client/storage/test/browser_storage_type_descriptions.js @@ -62,9 +62,7 @@ const testDescriptions = async function() { // Check learn more link const learnMoreLink = doc.querySelector(".table-widget-empty-text > a"); ok(learnMoreLink, "There is a [Learn more] link"); - const expectedURL = - getStorageTypeURL(type) + - "?utm_source=devtools&utm_medium=storage-inspector"; + const expectedURL = getStorageTypeURL(type); is( learnMoreLink.href, expectedURL, diff --git a/devtools/client/storage/ui.js b/devtools/client/storage/ui.js index 7ee0e9525801..c6266a88c9f2 100644 --- a/devtools/client/storage/ui.js +++ b/devtools/client/storage/ui.js @@ -1150,8 +1150,7 @@ class StorageUI { } this.table.setPlaceholder( storageTypeHintL10nId, - getStorageTypeURL(this.table.datatype) + - "?utm_source=devtools&utm_medium=storage-inspector" + getStorageTypeURL(this.table.datatype) ); // If selected item has no host then reset table headers diff --git a/devtools/client/storage/utils/mdn-utils.js b/devtools/client/storage/utils/mdn-utils.js index 0bd1ebec8797..261e2a99bb1f 100644 --- a/devtools/client/storage/utils/mdn-utils.js +++ b/devtools/client/storage/utils/mdn-utils.js @@ -5,7 +5,7 @@ "use strict"; const MDN_BASE_URL = - "https://developer.mozilla.org/docs/Tools/Storage_Inspector/"; + "https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/"; /** * Get the MDN URL for the specified storage type. @@ -17,16 +17,16 @@ const MDN_BASE_URL = function getStorageTypeURL(type) { switch (type) { case "cookies": - return `${MDN_BASE_URL}Cookies`; + return `${MDN_BASE_URL}cookies`; case "localStorage": case "sessionStorage": - return `${MDN_BASE_URL}Local_storage_Session_storage`; + return `${MDN_BASE_URL}local_storage_session_storage`; case "indexedDB": - return `${MDN_BASE_URL}IndexedDB`; + return `${MDN_BASE_URL}indexeddb`; case "Cache": - return `${MDN_BASE_URL}Cache_Storage`; + return `${MDN_BASE_URL}cache_storage`; case "extensionStorage": - return `${MDN_BASE_URL}Extension_storage`; + return `${MDN_BASE_URL}extension_storage`; default: return null; } diff --git a/devtools/client/webconsole/README.md b/devtools/client/webconsole/README.md index fe52be0ee222..5aadfda23142 100644 --- a/devtools/client/webconsole/README.md +++ b/devtools/client/webconsole/README.md @@ -3,7 +3,7 @@ The WebConsole (webconsole) shows you all the console API calls made by scripts and alerts you when javascript errors are thrown by a script. It can also display network logs, and you can evaluate expressions using the console -input, a.k.a. JsTerm. You can read more about it on [MDN](https://developer.mozilla.org/en-US/docs/Tools/Web_Console) +input, a.k.a. JsTerm. You can read [more](https://firefox-source-docs.mozilla.org/devtools-user/web_console/) about it to learn all the features and how to use the tool. ## Run WebConsole diff --git a/devtools/client/webconsole/actions/input.js b/devtools/client/webconsole/actions/input.js index d18479af8ffa..c74aa58962c9 100644 --- a/devtools/client/webconsole/actions/input.js +++ b/devtools/client/webconsole/actions/input.js @@ -56,7 +56,8 @@ loader.lazyRequireGetter( true ); -const HELP_URL = "https://developer.mozilla.org/docs/Tools/Web_Console/Helpers"; +const HELP_URL = + "https://firefox-source-docs.mozilla.org/devtools-user/web_console/helpers/"; async function getMappedExpression(hud, expression) { let mapResult; diff --git a/devtools/client/webconsole/components/Input/ConfirmDialog.js b/devtools/client/webconsole/components/Input/ConfirmDialog.js index f46ed78ade50..235217101469 100644 --- a/devtools/client/webconsole/components/Input/ConfirmDialog.js +++ b/devtools/client/webconsole/components/Input/ConfirmDialog.js @@ -33,12 +33,7 @@ const { const autocompleteActions = require("devtools/client/webconsole/actions/autocomplete"); const { l10n } = require("devtools/client/webconsole/utils/messages"); -const utmParams = new URLSearchParams({ - utm_source: "mozilla", - utm_medium: "devtools-webconsole", - utm_campaign: "default", -}); -const LEARN_MORE_URL = `https://developer.mozilla.org/docs/Tools/Web_Console/Invoke_getters_from_autocomplete?${utmParams}`; +const LEARN_MORE_URL = `https://firefox-source-docs.mozilla.org/devtools-user/web_console/invoke_getters_from_autocomplete/`; class ConfirmDialog extends Component { static get propTypes() { diff --git a/devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_getters_learn_more_link.js b/devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_getters_learn_more_link.js index 3d804e68036f..34521447de24 100644 --- a/devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_getters_learn_more_link.js +++ b/devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_getters_learn_more_link.js @@ -23,8 +23,8 @@ const TEST_URI = `data:text/html;charset=utf-8,
Autocomplete popup - invoke getter usage test`; -const MDN_URL = - "https://developer.mozilla.org/docs/Tools/Web_Console/Invoke_getters_from_autocomplete"; +const DOC_URL = + "https://firefox-source-docs.mozilla.org/devtools-user/web_console/invoke_getters_from_autocomplete/"; add_task(async function() { const hud = await openNewTabAndConsole(TEST_URI); @@ -47,13 +47,8 @@ add_task(async function() { info( `Check that clicking on the "Learn more" link navigates to the expected page` ); - const expectedUri = MDN_URL + GA_PARAMS; const { link } = await simulateLinkClick(learnMoreEl); - is( - link, - expectedUri, - `Click on "Learn More" link navigates user to ${expectedUri}` - ); + is(link, DOC_URL, `Click on "Learn More" link navigates user to ${DOC_URL}`); info("Close the popup"); EventUtils.synthesizeKey("KEY_Escape"); diff --git a/devtools/client/webconsole/test/browser/browser_jsterm_helper_help.js b/devtools/client/webconsole/test/browser/browser_jsterm_helper_help.js index df63e92bea39..c4b3c042b601 100644 --- a/devtools/client/webconsole/test/browser/browser_jsterm_helper_help.js +++ b/devtools/client/webconsole/test/browser/browser_jsterm_helper_help.js @@ -5,7 +5,8 @@ const TEST_URI = "data:text/html,Testhelp()
jsterm helper";
-const HELP_URL = "https://developer.mozilla.org/docs/Tools/Web_Console/Helpers";
+const HELP_URL =
+ "https://firefox-source-docs.mozilla.org/devtools-user/web_console/helpers/";
add_task(async function() {
const hud = await openNewTabAndConsole(TEST_URI);
diff --git a/devtools/server/actors/errordocs.js b/devtools/server/actors/errordocs.js
index 328fb78f1700..9249245e5ea3 100644
--- a/devtools/server/actors/errordocs.js
+++ b/devtools/server/actors/errordocs.js
@@ -115,7 +115,7 @@ const STRICT_TRANSPORT_SECURITY_LEARN_MORE =
const MIME_TYPE_MISMATCH_LEARN_MORE =
"https://developer.mozilla.org/docs/Web/HTTP/Headers/X-Content-Type-Options";
const SOURCE_MAP_LEARN_MORE =
- "https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors";
+ "https://firefox-source-docs.mozilla.org/devtools-user/debugger/source_map_errors/";
const TLS_LEARN_MORE =
"https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/";
const X_FRAME_OPTIONS_LEARN_MORE =
diff --git a/devtools/server/actors/object.js b/devtools/server/actors/object.js
index 051b3b6836c2..65c240a33956 100644
--- a/devtools/server/actors/object.js
+++ b/devtools/server/actors/object.js
@@ -660,10 +660,10 @@ const proto = {
},
/**
- * Converts a Debugger API completion value record into an eqivalent
+ * Converts a Debugger API completion value record into an equivalent
* object grip for use by the API.
*
- * See https://developer.mozilla.org/en-US/docs/Tools/Debugger-API/Conventions#completion-values
+ * See https://firefox-source-docs.mozilla.org/devtools-user/debugger-api/
* for more specifics on the expected behavior.
*/
_buildCompletion(value) {
diff --git a/devtools/startup/aboutdevtools/aboutdevtools.js b/devtools/startup/aboutdevtools/aboutdevtools.js
index 12b5c1a569d3..e6cc7ed9a25e 100644
--- a/devtools/startup/aboutdevtools/aboutdevtools.js
+++ b/devtools/startup/aboutdevtools/aboutdevtools.js
@@ -67,63 +67,67 @@ const features = [
"chrome://devtools-startup/content/aboutdevtools/images/feature-inspector.svg",
title: "features-inspector-title",
desc: "features-inspector-desc",
- link: "https://developer.mozilla.org/docs/Tools/Page_Inspector",
+ link:
+ "https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-console.svg",
title: "features-console-title",
desc: "features-console-desc",
- link: "https://developer.mozilla.org/docs/Tools/Web_Console",
+ link: "https://firefox-source-docs.mozilla.org/devtools-user/web_console/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-debugger.svg",
title: "features-debugger-title",
desc: "features-debugger-desc",
- link: "https://developer.mozilla.org/docs/Tools/Debugger",
+ link: "https://firefox-source-docs.mozilla.org/devtools-user/debugger/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-network.svg",
title: "features-network-title",
desc: "features-network-desc",
- link: "https://developer.mozilla.org/docs/Tools/Network_Monitor",
+ link:
+ "https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-storage.svg",
title: "features-storage-title",
desc: "features-storage-desc",
- link: "https://developer.mozilla.org/docs/Tools/Storage_Inspector",
+ link:
+ "https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-responsive.svg",
title: "features-responsive-title",
desc: "features-responsive-desc",
- link: "https://developer.mozilla.org/docs/Tools/Responsive_Design_Mode",
+ link:
+ "https://firefox-source-docs.mozilla.org/devtools-user/responsive_design_mode/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-visualediting.svg",
title: "features-visual-editing-title",
desc: "features-visual-editing-desc",
- link: "https://developer.mozilla.org/docs/Tools/Style_Editor",
+ link: "https://firefox-source-docs.mozilla.org/devtools-user/style_editor/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-performance.svg",
title: "features-performance-title",
desc: "features-performance-desc",
- link: "https://developer.mozilla.org/docs/Tools/Performance",
+ link: "https://firefox-source-docs.mozilla.org/devtools-user/performance/",
},
{
icon:
"chrome://devtools-startup/content/aboutdevtools/images/feature-memory.svg",
title: "features-memory-title",
desc: "features-memory-desc",
- link: "https://developer.mozilla.org/docs/Tools/Memory",
+ link: "https://firefox-source-docs.mozilla.org/devtools-user/memory/",
},
];
diff --git a/devtools/startup/aboutdevtools/aboutdevtools.xhtml b/devtools/startup/aboutdevtools/aboutdevtools.xhtml
index eae5c9ceb2a4..fa65a0699f81 100644
--- a/devtools/startup/aboutdevtools/aboutdevtools.xhtml
+++ b/devtools/startup/aboutdevtools/aboutdevtools.xhtml
@@ -36,7 +36,7 @@
-
+