mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1753614 - [devtools] Rename mdn-utils file r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D138410
This commit is contained in:
parent
956deb07a1
commit
340fc67179
@ -28,7 +28,7 @@ const {
|
||||
const { L10N } = require("devtools/client/netmonitor/src/utils/l10n");
|
||||
const {
|
||||
getPerformanceAnalysisURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
const {
|
||||
fetchNetworkUpdatePacket,
|
||||
} = require("devtools/client/netmonitor/src/utils/request-utils");
|
||||
|
@ -43,7 +43,7 @@ loader.lazyRequireGetter(
|
||||
// MDN
|
||||
const {
|
||||
getFilterBoxURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
const LEARN_MORE_URL = getFilterBoxURL();
|
||||
|
||||
// Components
|
||||
|
@ -23,7 +23,7 @@ const {
|
||||
getHeadersURL,
|
||||
getTrackingProtectionURL,
|
||||
getHTTPStatusCodeURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
const {
|
||||
fetchNetworkUpdatePacket,
|
||||
writeHeaderText,
|
||||
|
@ -18,7 +18,7 @@ const {
|
||||
} = require("devtools/client/netmonitor/src/utils/request-utils");
|
||||
const {
|
||||
getCORSErrorURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
const {
|
||||
Filters,
|
||||
} = require("devtools/client/netmonitor/src/utils/filter-predicates");
|
||||
|
@ -13,7 +13,7 @@ const dom = require("devtools/client/shared/vendor/react-dom-factories");
|
||||
const { L10N } = require("devtools/client/netmonitor/src/utils/l10n");
|
||||
const {
|
||||
getNetMonitorTimingsURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
const {
|
||||
fetchNetworkUpdatePacket,
|
||||
} = require("devtools/client/netmonitor/src/utils/request-utils");
|
||||
|
@ -18,7 +18,7 @@ const { ACTIVITY_TYPE } = require("devtools/client/netmonitor/src/constants");
|
||||
const { L10N } = require("devtools/client/netmonitor/src/utils/l10n");
|
||||
const {
|
||||
getPerformanceAnalysisURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
|
||||
// Components
|
||||
const MDNLink = createFactory(
|
||||
|
@ -9,13 +9,13 @@ DIRS += [
|
||||
|
||||
DevToolsModules(
|
||||
"context-menu-utils.js",
|
||||
"doc-utils.js",
|
||||
"filter-autocomplete-provider.js",
|
||||
"filter-predicates.js",
|
||||
"filter-text-utils.js",
|
||||
"format-utils.js",
|
||||
"headers-provider.js",
|
||||
"l10n.js",
|
||||
"mdn-utils.js",
|
||||
"open-request-in-tab.js",
|
||||
"prefs.js",
|
||||
"request-blocking.js",
|
||||
|
@ -20,7 +20,7 @@ add_task(async function() {
|
||||
);
|
||||
const {
|
||||
getHeadersURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
|
||||
store.dispatch(Actions.batchEnable(false));
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
// Test for mdn-utils
|
||||
// Test for doc-utils
|
||||
|
||||
"use strict";
|
||||
|
||||
@ -24,7 +24,7 @@ function run_test() {
|
||||
getNetMonitorTimingsURL,
|
||||
getPerformanceAnalysisURL,
|
||||
getFilterBoxURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
|
||||
info("Checking for supported headers");
|
||||
equal(
|
@ -4,6 +4,6 @@ head =
|
||||
firefox-appdir = browser
|
||||
skip-if = toolkit == 'android'
|
||||
|
||||
[test_mdn-utils.js]
|
||||
[test_doc-utils.js]
|
||||
[test_request-utils-fetchNetworkUpdatePacket.js]
|
||||
[test_request-utils-js-getFormattedProtocol.js]
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const getStorageTypeURL = require("devtools/client/storage/utils/mdn-utils");
|
||||
const getStorageTypeURL = require("devtools/client/storage/utils/doc-utils");
|
||||
|
||||
const storeItems = [
|
||||
"Cache",
|
||||
|
@ -9,7 +9,7 @@ const KeyShortcuts = require("devtools/client/shared/key-shortcuts");
|
||||
const { parseItemValue } = require("devtools/shared/storage/utils");
|
||||
const { KeyCodes } = require("devtools/client/shared/keycodes");
|
||||
const { getUnicodeHostname } = require("devtools/client/shared/unicode-url");
|
||||
const getStorageTypeURL = require("devtools/client/storage/utils/mdn-utils");
|
||||
const getStorageTypeURL = require("devtools/client/storage/utils/doc-utils");
|
||||
|
||||
// GUID to be used as a separator in compound keys. This must match the same
|
||||
// constant in devtools/server/actors/storage.js,
|
||||
|
@ -3,6 +3,6 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DevToolsModules(
|
||||
"doc-utils.js",
|
||||
"l10n.js",
|
||||
"mdn-utils.js",
|
||||
)
|
||||
|
@ -27,7 +27,7 @@ loader.lazyRequireGetter(
|
||||
);
|
||||
const {
|
||||
getHTTPStatusCodeURL,
|
||||
} = require("devtools/client/netmonitor/src/utils/mdn-utils");
|
||||
} = require("devtools/client/netmonitor/src/utils/doc-utils");
|
||||
const { getUnicodeUrl } = require("devtools/client/shared/unicode-url");
|
||||
loader.lazyRequireGetter(
|
||||
this,
|
||||
|
Loading…
Reference in New Issue
Block a user