From 63867da04ab82ab6e7f3069551b16cf2ddebdaac Mon Sep 17 00:00:00 2001
From: Towkir Ahmed <3ugzilla@gmail.com>
Date: Mon, 15 Aug 2016 17:28:05 -0700
Subject: [PATCH] Bug 1284887 - Replaced references to mxr.mozilla.org in the
codebase with dxr.mozilla.org r=dolske a=release to get around a hook that's
catching these comment-only idl changes
--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
---
addon-sdk/source/app-extension/bootstrap.js | 2 +-
addon-sdk/source/lib/sdk/keyboard/hotkeys.js | 2 +-
addon-sdk/source/lib/sdk/keyboard/utils.js | 2 +-
addon-sdk/source/lib/sdk/l10n/locale.js | 2 +-
addon-sdk/source/lib/sdk/system.js | 2 +-
addon-sdk/source/python-lib/cuddlefish/prefs.py | 2 +-
.../source/python-lib/cuddlefish/version_comparator.py | 2 +-
.../test/addons/l10n-properties/app-extension/bootstrap.js | 2 +-
.../simple-prefs-regression/app-extension/bootstrap.js | 2 +-
b2g/graphene/graphene.js | 2 +-
browser/installer/windows/nsis/installer.nsi | 2 +-
browser/installer/windows/nsis/uninstaller.nsi | 2 +-
devtools/client/shared/widgets/MdnDocsWidget.js | 2 +-
devtools/shared/jsbeautify/src/beautify-js.js | 2 +-
devtools/shared/protocol.js | 2 +-
.../test/webgl-conf/checkout/conformance/more/README.md | 2 +-
dom/permission/tests/file_framework.js | 2 +-
dom/webidl/Document.webidl | 2 +-
js/src/tests/README.txt | 2 +-
js/src/vm/make_opcode_doc.py | 2 +-
layout/base/tests/test_bug386575.xhtml | 2 +-
media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp | 2 +-
.../org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java | 2 +-
mobile/android/docs/uitelemetry.rst | 2 +-
.../src/main/java/org/mozilla/gecko/GeckoAppShell.java | 4 ++--
.../src/main/java/org/mozilla/gecko/GeckoProfile.java | 2 +-
.../gecko/sync/repositories/domain/FormHistoryRecord.java | 2 +-
.../android/tests/browser/robocop/testTrackingProtection.js | 2 +-
python/compare-locales/docs/index.rst | 2 +-
testing/mozbase/mozprofile/mozprofile/permissions.py | 6 +++---
.../tests/dom/traversal/TreeWalker-acceptNode-filter.html | 2 +-
.../web-platform/tests/dom/traversal/TreeWalker-basic.html | 2 +-
.../tests/dom/traversal/TreeWalker-currentNode.html | 2 +-
.../traversal/TreeWalker-previousNodeLastChildReject.html | 2 +-
.../traversal/TreeWalker-previousSiblingLastChildSkip.html | 2 +-
.../tests/dom/traversal/TreeWalker-traversal-reject.html | 2 +-
.../tests/dom/traversal/TreeWalker-traversal-skip-most.html | 2 +-
.../tests/dom/traversal/TreeWalker-traversal-skip.html | 2 +-
.../mediaElementAudioSourceToScriptProcessorTest.html | 2 +-
.../webgl/conformance-1.0.3/conformance/more/README.md | 2 +-
.../passwordmgr/test/browser/browser_passwordmgr_sort.js | 2 +-
.../passwordmgr/test/browser/browser_passwordmgrdlg.js | 2 +-
toolkit/content/license.html | 2 +-
toolkit/locales/en-US/chrome/global/intl.properties | 2 +-
toolkit/modules/sessionstore/XPathGenerator.jsm | 2 +-
tools/jprof/leaky.cpp | 4 ++--
xpcom/threads/SharedThreadPool.h | 2 +-
47 files changed, 51 insertions(+), 51 deletions(-)
diff --git a/addon-sdk/source/app-extension/bootstrap.js b/addon-sdk/source/app-extension/bootstrap.js
index c53ca2c3023b..31fc658add1b 100644
--- a/addon-sdk/source/app-extension/bootstrap.js
+++ b/addon-sdk/source/app-extension/bootstrap.js
@@ -2,7 +2,7 @@
* 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/. */
-// @see http://mxr.mozilla.org/mozilla-central/source/js/src/xpconnect/loader/mozJSComponentLoader.cpp
+// @see http://dxr.mozilla.org/mozilla-central/source/js/src/xpconnect/loader/mozJSComponentLoader.cpp
'use strict';
diff --git a/addon-sdk/source/lib/sdk/keyboard/hotkeys.js b/addon-sdk/source/lib/sdk/keyboard/hotkeys.js
index 696182d4eeea..a179502b896d 100644
--- a/addon-sdk/source/lib/sdk/keyboard/hotkeys.js
+++ b/addon-sdk/source/lib/sdk/keyboard/hotkeys.js
@@ -84,7 +84,7 @@ keyboardObserver.on("keydown", function onKeypress(event, window) {
// If it's not a printable character then we fall back to a human readable
// equivalent of one of the following constants.
- // http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/events/nsIDOMKeyEvent.idl
+ // http://dxr.mozilla.org/mozilla-central/source/dom/interfaces/events/nsIDOMKeyEvent.idl
key = getKeyForCode(keyCode);
// If only non-function (f1 - f24) key or only modifiers are pressed we don't
diff --git a/addon-sdk/source/lib/sdk/keyboard/utils.js b/addon-sdk/source/lib/sdk/keyboard/utils.js
index c4ff3dd7b466..1b7df4ce32cf 100644
--- a/addon-sdk/source/lib/sdk/keyboard/utils.js
+++ b/addon-sdk/source/lib/sdk/keyboard/utils.js
@@ -33,7 +33,7 @@ const MODIFIERS = exports.MODIFIERS = {
// Hash of key:code pairs for all the chars supported by `nsIDOMKeyEvent`.
// This is just a copy of the `nsIDOMKeyEvent` hash with normalized names.
-// @See: http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/events/nsIDOMKeyEvent.idl
+// @See: http://dxr.mozilla.org/mozilla-central/source/dom/interfaces/events/nsIDOMKeyEvent.idl
const CODES = exports.CODES = new function Codes() {
let nsIDOMKeyEvent = Ci.nsIDOMKeyEvent;
// Names that will be substituted with a shorter analogs.
diff --git a/addon-sdk/source/lib/sdk/l10n/locale.js b/addon-sdk/source/lib/sdk/l10n/locale.js
index 0d489742c6e5..950b33b20efa 100644
--- a/addon-sdk/source/lib/sdk/l10n/locale.js
+++ b/addon-sdk/source/lib/sdk/l10n/locale.js
@@ -77,7 +77,7 @@ exports.getPreferedLocales = getPreferedLocales;
* If null, uses getPreferedLocales() results
* @return the best match for the currently selected locale
*
- * Stolen from http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIProvider.jsm
+ * Stolen from http://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIProvider.jsm
*/
exports.findClosestLocale = function findClosestLocale(aLocales, aMatchLocales) {
aMatchLocales = aMatchLocales || getPreferedLocales();
diff --git a/addon-sdk/source/lib/sdk/system.js b/addon-sdk/source/lib/sdk/system.js
index 633f8cca0c6b..1acfe8c8c44d 100644
--- a/addon-sdk/source/lib/sdk/system.js
+++ b/addon-sdk/source/lib/sdk/system.js
@@ -99,7 +99,7 @@ exports.stderr = stdout;
* Returns a path of the system's or application's special directory / file
* associated with a given `id`. For list of possible `id`s please see:
* https://developer.mozilla.org/en-US/docs/Code_snippets/File_I_O#Getting_files_in_special_directories
- * http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsAppDirectoryServiceDefs.h
+ * http://dxr.mozilla.org/mozilla-central/source/xpcom/io/nsAppDirectoryServiceDefs.h
* @example
*
* // get firefox profile path
diff --git a/addon-sdk/source/python-lib/cuddlefish/prefs.py b/addon-sdk/source/python-lib/cuddlefish/prefs.py
index c62830e09e95..3dea6f8f4ae9 100644
--- a/addon-sdk/source/python-lib/cuddlefish/prefs.py
+++ b/addon-sdk/source/python-lib/cuddlefish/prefs.py
@@ -124,7 +124,7 @@ DEFAULT_FIREFOX_PREFS = {
# When launching a temporary new Thunderbird profile, use these preferences.
# Note that these were taken from:
-# http://mxr.mozilla.org/comm-central/source/mail/test/mozmill/runtest.py
+# http://dxr.mozilla.org/comm-central/source/mail/test/mozmill/runtest.py
DEFAULT_THUNDERBIRD_PREFS = {
# say no to slow script warnings
'dom.max_chrome_script_run_time': 200,
diff --git a/addon-sdk/source/python-lib/cuddlefish/version_comparator.py b/addon-sdk/source/python-lib/cuddlefish/version_comparator.py
index 3999e710413c..fee1341fd7d3 100644
--- a/addon-sdk/source/python-lib/cuddlefish/version_comparator.py
+++ b/addon-sdk/source/python-lib/cuddlefish/version_comparator.py
@@ -10,7 +10,7 @@
For more information, also see:
- http://mxr.mozilla.org/mozilla/source/xpcom/glue/nsVersionComparator.cpp
+ http://dxr.mozilla.org/mozilla-central/source/xpcom/glue/nsVersionComparator.cpp
'''
import re
diff --git a/addon-sdk/source/test/addons/l10n-properties/app-extension/bootstrap.js b/addon-sdk/source/test/addons/l10n-properties/app-extension/bootstrap.js
index 418843cbae7f..925fe2e0c3cf 100644
--- a/addon-sdk/source/test/addons/l10n-properties/app-extension/bootstrap.js
+++ b/addon-sdk/source/test/addons/l10n-properties/app-extension/bootstrap.js
@@ -2,7 +2,7 @@
* 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/. */
-// @see http://mxr.mozilla.org/mozilla-central/source/js/src/xpconnect/loader/mozJSComponentLoader.cpp
+// @see http://dxr.mozilla.org/mozilla-central/source/js/src/xpconnect/loader/mozJSComponentLoader.cpp
'use strict';
diff --git a/addon-sdk/source/test/addons/simple-prefs-regression/app-extension/bootstrap.js b/addon-sdk/source/test/addons/simple-prefs-regression/app-extension/bootstrap.js
index 418843cbae7f..925fe2e0c3cf 100644
--- a/addon-sdk/source/test/addons/simple-prefs-regression/app-extension/bootstrap.js
+++ b/addon-sdk/source/test/addons/simple-prefs-regression/app-extension/bootstrap.js
@@ -2,7 +2,7 @@
* 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/. */
-// @see http://mxr.mozilla.org/mozilla-central/source/js/src/xpconnect/loader/mozJSComponentLoader.cpp
+// @see http://dxr.mozilla.org/mozilla-central/source/js/src/xpconnect/loader/mozJSComponentLoader.cpp
'use strict';
diff --git a/b2g/graphene/graphene.js b/b2g/graphene/graphene.js
index 3a00ea04b525..0c8abf42fa1c 100644
--- a/b2g/graphene/graphene.js
+++ b/b2g/graphene/graphene.js
@@ -1,4 +1,4 @@
-// See http://mxr.mozilla.org/mozilla-central/source/dom/webidl/KeyEvent.webidl
+// See http://dxr.mozilla.org/mozilla-central/source/dom/webidl/KeyEvent.webidl
// for keyCode values.
// Default value is F5
pref("b2g.reload_key", '{ "key": 116, "shift": false, "ctrl": false, "alt": false, "meta": false }');
diff --git a/browser/installer/windows/nsis/installer.nsi b/browser/installer/windows/nsis/installer.nsi
index 5765df9756d4..b2c051d1c435 100755
--- a/browser/installer/windows/nsis/installer.nsi
+++ b/browser/installer/windows/nsis/installer.nsi
@@ -5,7 +5,7 @@
# Required Plugins:
# AppAssocReg http://nsis.sourceforge.net/Application_Association_Registration_plug-in
# ApplicationID http://nsis.sourceforge.net/ApplicationID_plug-in
-# CityHash http://mxr.mozilla.org/mozilla-central/source/other-licenses/nsis/Contrib/CityHash
+# CityHash http://dxr.mozilla.org/mozilla-central/source/other-licenses/nsis/Contrib/CityHash
# ShellLink http://nsis.sourceforge.net/ShellLink_plug-in
# UAC http://nsis.sourceforge.net/UAC_plug-in
# ServicesHelper Mozilla specific plugin that is located in /other-licenses/nsis
diff --git a/browser/installer/windows/nsis/uninstaller.nsi b/browser/installer/windows/nsis/uninstaller.nsi
index 63500ae4caf3..3e5c325be1ca 100755
--- a/browser/installer/windows/nsis/uninstaller.nsi
+++ b/browser/installer/windows/nsis/uninstaller.nsi
@@ -4,7 +4,7 @@
# Required Plugins:
# AppAssocReg http://nsis.sourceforge.net/Application_Association_Registration_plug-in
-# CityHash http://mxr.mozilla.org/mozilla-central/source/other-licenses/nsis/Contrib/CityHash
+# CityHash http://dxr.mozilla.org/mozilla-central/source/other-licenses/nsis/Contrib/CityHash
# ShellLink http://nsis.sourceforge.net/ShellLink_plug-in
# UAC http://nsis.sourceforge.net/UAC_plug-in
diff --git a/devtools/client/shared/widgets/MdnDocsWidget.js b/devtools/client/shared/widgets/MdnDocsWidget.js
index 9a548f23bbbf..ebbe1f2a13ab 100644
--- a/devtools/client/shared/widgets/MdnDocsWidget.js
+++ b/devtools/client/shared/widgets/MdnDocsWidget.js
@@ -56,7 +56,7 @@ const COMMENT_COLOR = "theme-comment";
* highlighting.
*
* It uses the CSS tokenizer to generate a stream of CSS tokens.
- * https://mxr.mozilla.org/mozilla-central/source/dom/webidl/CSSLexer.webidl
+ * https://dxr.mozilla.org/mozilla-central/source/dom/webidl/CSSLexer.webidl
* lists all the token types.
*
* - "whitespace", "comment", and "symbol" tokens are appended as TEXT nodes,
diff --git a/devtools/shared/jsbeautify/src/beautify-js.js b/devtools/shared/jsbeautify/src/beautify-js.js
index 8dc6d6757369..053d973e0c1e 100644
--- a/devtools/shared/jsbeautify/src/beautify-js.js
+++ b/devtools/shared/jsbeautify/src/beautify-js.js
@@ -972,7 +972,7 @@ function Beautifier(js_source_text, options) {
// Spidermonkey-specific sharp variables for circular references
// https://developer.mozilla.org/En/Sharp_variables_in_JavaScript
- // http://mxr.mozilla.org/mozilla-central/source/js/src/jsscan.cpp around line 1935
+ // http://dxr.mozilla.org/mozilla-central/source/js/src/jsscan.cpp around line 1935
var sharp = '#';
if (parser_pos < input_length && in_array(input.charAt(parser_pos), digits)) {
do {
diff --git a/devtools/shared/protocol.js b/devtools/shared/protocol.js
index 89b25b8cfdba..82bece432a31 100644
--- a/devtools/shared/protocol.js
+++ b/devtools/shared/protocol.js
@@ -1254,7 +1254,7 @@ var Front = Class({
callFunctionWithAsyncStack(() => {
if (packet.error) {
// "Protocol error" is here to avoid TBPL heuristics. See also
- // https://mxr.mozilla.org/webtools-central/source/tbpl/php/inc/GeneralErrorFilter.php
+ // https://dxr.mozilla.org/webtools-central/source/tbpl/php/inc/GeneralErrorFilter.php
let message;
if (packet.error && packet.message) {
message = "Protocol error (" + packet.error + "): " + packet.message;
diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/more/README.md b/dom/canvas/test/webgl-conf/checkout/conformance/more/README.md
index 01937147f69a..1e1e2406c9fa 100644
--- a/dom/canvas/test/webgl-conf/checkout/conformance/more/README.md
+++ b/dom/canvas/test/webgl-conf/checkout/conformance/more/README.md
@@ -22,7 +22,7 @@ Want to contribute?
1. Fork this repo
2. Run gen_tests.rb
- 3. Look into templates/ to see which functions lack tests (also see methods.txt and nsICanvasRenderingContextWebGL.idl):
+ 3. Look into templates/ to see which functions lack tests (also see methods.txt and nsICanvasRenderingContextWebGL.idl):
1. copy methodName.html to functions/methodName.html and write tests that test the results of valid inputs.
2. copy methodNameBadArgs.html to functions/methodNameBadArgs.html and write tests to assert that invalid inputs throw exceptions.
3. If your test causes a segfault, add the following to the top of the script tag: Tests.autorun = false; Tests.message = "Caution: this may crash your browser";
diff --git a/dom/permission/tests/file_framework.js b/dom/permission/tests/file_framework.js
index 9030be02c88d..27624f91e6ed 100644
--- a/dom/permission/tests/file_framework.js
+++ b/dom/permission/tests/file_framework.js
@@ -7,7 +7,7 @@
* Fields in gData object
* perms (required) Array of Strings
* list of permissions that this test will need. See
- * http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/PermissionsTable.jsm
+ * http://dxr.mozilla.org/mozilla-central/source/dom/apps/src/PermissionsTable.jsm
* These permissions are added after a sanity check and removed at
* test conclusion
*
diff --git a/dom/webidl/Document.webidl b/dom/webidl/Document.webidl
index 391109d3d739..028ac336c121 100644
--- a/dom/webidl/Document.webidl
+++ b/dom/webidl/Document.webidl
@@ -3,7 +3,7 @@
* 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/.
*
- * http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/core/nsIDOMDocument.idl
+ * http://dxr.mozilla.org/mozilla-central/source/dom/interfaces/core/nsIDOMDocument.idl
*/
interface WindowProxy;
diff --git a/js/src/tests/README.txt b/js/src/tests/README.txt
index e1b0163e9dc4..2e6774c85eda 100644
--- a/js/src/tests/README.txt
+++ b/js/src/tests/README.txt
@@ -28,7 +28,7 @@ Adjusting when and how a test runs
// |reftest| --
Where is a standard reftest string, as documented by:
- http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/README.txt
+ http://dxr.mozilla.org/mozilla-central/source/layout/tools/reftest/README.txt
Example:
// |reftest| skip-if(!xulRuntime.shell) -- does not always dismiss alert
diff --git a/js/src/vm/make_opcode_doc.py b/js/src/vm/make_opcode_doc.py
index 55bcb26befd7..454d8b8d5e98 100755
--- a/js/src/vm/make_opcode_doc.py
+++ b/js/src/vm/make_opcode_doc.py
@@ -15,7 +15,7 @@ import re
import sys
from xml.sax.saxutils import escape
-SOURCE_BASE = 'http://mxr.mozilla.org/mozilla-central/source'
+SOURCE_BASE = 'http://dxr.mozilla.org/mozilla-central/source'
def error(message):
print("Error: {message}".format(message=message), file=sys.stderr)
diff --git a/layout/base/tests/test_bug386575.xhtml b/layout/base/tests/test_bug386575.xhtml
index fd02634e9bec..d9a278eff9eb 100644
--- a/layout/base/tests/test_bug386575.xhtml
+++ b/layout/base/tests/test_bug386575.xhtml
@@ -13,7 +13,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=386575
-
+
diff --git a/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp b/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp
index b4a3755ed295..dbd5e77c3292 100644
--- a/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp
+++ b/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp
@@ -303,7 +303,7 @@ protected:
break;
default:
// XXX Bug NNNNNNN
- // use http://mxr.mozilla.org/mozilla-central/source/content/media/omx/I420ColorConverterHelper.cpp
+ // use http://dxr.mozilla.org/mozilla-central/source/content/media/omx/I420ColorConverterHelper.cpp
// to convert unknown types (OEM-specific) to I420
MOZ_MTLOG(ML_ERROR, "Un-handled GRALLOC buffer type:" << pixelFormat);
MOZ_CRASH();
diff --git a/mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java b/mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
index 26e7000ce2af..163ed4a51091 100644
--- a/mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
+++ b/mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
@@ -115,7 +115,7 @@ public class ToolbarDisplayLayout extends ThemedLinearLayout {
private int mSecurityImageLevel;
// Security level constants, which map to the icons / levels defined in:
- // http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/resources/drawable/site_security_level.xml
+ // http://dxr.mozilla.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/resources/drawable/site_security_level.xml
// Default level (unverified pages) - globe icon:
private static final int LEVEL_DEFAULT_GLOBE = 0;
// Levels for displaying Mixed Content state icons.
diff --git a/mobile/android/docs/uitelemetry.rst b/mobile/android/docs/uitelemetry.rst
index a4a1a8265b8a..d592acbb6547 100644
--- a/mobile/android/docs/uitelemetry.rst
+++ b/mobile/android/docs/uitelemetry.rst
@@ -82,7 +82,7 @@ Clock
Times are relative to either elapsed realtime (an arbitrary monotonically increasing clock that continues to tick when the device is asleep), or elapsed uptime (which doesn't tick when the device is in deep sleep). We default to elapsed realtime.
-See the documentation in `the source `_ for more details.
+See the documentation in `the source `_ for more details.
Dictionary
==========
diff --git a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
index 52baaeff63c8..a6ca8e4b3dbf 100644
--- a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
@@ -216,7 +216,7 @@ public class GeckoAppShell
/*
* Keep in sync with constants found here:
- * http://mxr.mozilla.org/mozilla-central/source/uriloader/base/nsIWebProgressListener.idl
+ * http://dxr.mozilla.org/mozilla-central/source/uriloader/base/nsIWebProgressListener.idl
*/
static public final int WPL_STATE_START = 0x00000001;
static public final int WPL_STATE_STOP = 0x00000010;
@@ -224,7 +224,7 @@ public class GeckoAppShell
static public final int WPL_STATE_IS_NETWORK = 0x00040000;
/* Keep in sync with constants found here:
- http://mxr.mozilla.org/mozilla-central/source/netwerk/base/nsINetworkLinkService.idl
+ http://dxr.mozilla.org/mozilla-central/source/netwerk/base/nsINetworkLinkService.idl
*/
static public final int LINK_TYPE_UNKNOWN = 0;
static public final int LINK_TYPE_ETHERNET = 1;
diff --git a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoProfile.java b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoProfile.java
index bbc48fbc00c3..1bf91ea9494d 100644
--- a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoProfile.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoProfile.java
@@ -442,7 +442,7 @@ public final class GeckoProfile {
* this code to fail. There are tests in TestGeckoProfile to verify the file format but be
* warned: THIS IS NOT FOOLPROOF.
*
- * [1]: https://mxr.mozilla.org/mozilla-central/source/toolkit/modules/ClientID.jsm
+ * [1]: https://dxr.mozilla.org/mozilla-central/source/toolkit/modules/ClientID.jsm
*
* @throws IOException if the client ID could not be retrieved.
*/
diff --git a/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/domain/FormHistoryRecord.java b/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/domain/FormHistoryRecord.java
index 5c1f10dd21fe..e7ca70cb415f 100644
--- a/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/domain/FormHistoryRecord.java
+++ b/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/domain/FormHistoryRecord.java
@@ -14,7 +14,7 @@ import org.mozilla.gecko.sync.repositories.android.RepoUtils;
*
* I map a fieldName string to a value string.
*
- * @see "http://mxr.mozilla.org/services-central/source/services-central/services/sync/modules/engines/forms.js."
+ * @see "http://dxr.mozilla.org/services-central/source/services-central/services/sync/modules/engines/forms.js."
*/
public class FormHistoryRecord extends Record {
private static final String LOG_TAG = "FormHistoryRecord";
diff --git a/mobile/android/tests/browser/robocop/testTrackingProtection.js b/mobile/android/tests/browser/robocop/testTrackingProtection.js
index 8d5104b77869..d81efd6c663e 100644
--- a/mobile/android/tests/browser/robocop/testTrackingProtection.js
+++ b/mobile/android/tests/browser/robocop/testTrackingProtection.js
@@ -41,7 +41,7 @@ function promiseLoadEvent(browser, url, eventType="load", runBeforeLoad) {
// tracking content is blocked (Bug 1063831)
// Code is mostly stolen from:
-// http://mxr.mozilla.org/mozilla-central/source/browser/base/content/test/general/browser_trackingUI.js
+// http://dxr.mozilla.org/mozilla-central/source/browser/base/content/test/general/browser_trackingUI.js
var TABLE = "urlclassifier.trackingTable";
diff --git a/python/compare-locales/docs/index.rst b/python/compare-locales/docs/index.rst
index cb3ab566ec4a..925ca0f88a86 100644
--- a/python/compare-locales/docs/index.rst
+++ b/python/compare-locales/docs/index.rst
@@ -188,4 +188,4 @@ repositories are on https://hg.mozilla.org/l10n-central/.
You can search inside our localized files on
`Transvision `_ and
-http://mxr.mozilla.org/l10n-mozilla-aurora/.
+http://dxr.mozilla.org/l10n-mozilla-aurora/.
diff --git a/testing/mozbase/mozprofile/mozprofile/permissions.py b/testing/mozbase/mozprofile/mozprofile/permissions.py
index ff3d23bb1b26..0b58cae76e16 100644
--- a/testing/mozbase/mozprofile/mozprofile/permissions.py
+++ b/testing/mozbase/mozprofile/mozprofile/permissions.py
@@ -146,7 +146,7 @@ class ServerLocations(object):
:param filename: in the format of server-locations.txt_
:param check_for_primary: if True, a ``MissingPrimaryLocationError`` exception is raised if no primary is found
- .. _server-locations.txt: http://mxr.mozilla.org/mozilla-central/source/build/pgo/server-locations.txt
+ .. _server-locations.txt: http://dxr.mozilla.org/mozilla-central/source/build/pgo/server-locations.txt
The only exception is that the port, if not defined, defaults to 80 or 443.
@@ -229,7 +229,7 @@ class Permissions(object):
cursor = permDB.cursor();
# SQL copied from
- # http://mxr.mozilla.org/mozilla-central/source/extensions/cookie/nsPermissionManager.cpp
+ # http://dxr.mozilla.org/mozilla-central/source/extensions/cookie/nsPermissionManager.cpp
cursor.execute("""CREATE TABLE IF NOT EXISTS moz_hosts (
id INTEGER PRIMARY KEY
,origin TEXT
@@ -313,7 +313,7 @@ class Permissions(object):
def pac_prefs(self, user_proxy=None):
"""
return preferences for Proxy Auto Config. originally taken from
- http://mxr.mozilla.org/mozilla-central/source/build/automation.py.in
+ http://dxr.mozilla.org/mozilla-central/source/build/automation.py.in
"""
proxy = DEFAULT_PORTS.copy()
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-acceptNode-filter.html b/testing/web-platform/tests/dom/traversal/TreeWalker-acceptNode-filter.html
index fc53b22c3a19..1446f40f68dd 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-acceptNode-filter.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-acceptNode-filter.html
@@ -1,7 +1,7 @@
TreeWalker: acceptNode-filter
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-basic.html b/testing/web-platform/tests/dom/traversal/TreeWalker-basic.html
index 21ab6d62f53a..d1147637b139 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-basic.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-basic.html
@@ -1,7 +1,7 @@
TreeWalker: Basic test
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-currentNode.html b/testing/web-platform/tests/dom/traversal/TreeWalker-currentNode.html
index c512051aef54..8a09940b1e79 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-currentNode.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-currentNode.html
@@ -1,7 +1,7 @@
TreeWalker: currentNode
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html b/testing/web-platform/tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html
index 513476f3d133..236ab803c593 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html
@@ -1,7 +1,7 @@
TreeWalker: previousNodeLastChildReject
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html b/testing/web-platform/tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html
index d582bf16d6e5..17da4d56971b 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html
@@ -1,7 +1,7 @@
TreeWalker: previousSiblingLastChildSkip
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-reject.html b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-reject.html
index f5b2e8ea8332..273b33236f95 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-reject.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-reject.html
@@ -1,7 +1,7 @@
TreeWalker: traversal-reject
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip-most.html b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip-most.html
index a0c16fd08df9..567ef665569e 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip-most.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip-most.html
@@ -1,7 +1,7 @@
TreeWalker: traversal-skip-most
diff --git a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip.html b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip.html
index 4032bde13b24..0e3b81a274f0 100644
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip.html
@@ -1,7 +1,7 @@
TreeWalker: traversal-skip
diff --git a/testing/web-platform/tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html b/testing/web-platform/tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
index 69427b495b07..ba6eec6686a5 100644
--- a/testing/web-platform/tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
+++ b/testing/web-platform/tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
@@ -8,7 +8,7 @@ array, and after the playback has stopped, the contents are compared
to those of a loaded AudioBuffer with the same source.
Somewhat similiar to a test from Mozilla:
-(http://mxr.mozilla.org/mozilla-central/source/content/media/webaudio/test/test_mediaElementAudioSourceNode.html?force=1)
+(http://dxr.mozilla.org/mozilla-central/source/content/media/webaudio/test/test_mediaElementAudioSourceNode.html?force=1)
-->
diff --git a/testing/web-platform/tests/webgl/conformance-1.0.3/conformance/more/README.md b/testing/web-platform/tests/webgl/conformance-1.0.3/conformance/more/README.md
index 01937147f69a..1e1e2406c9fa 100644
--- a/testing/web-platform/tests/webgl/conformance-1.0.3/conformance/more/README.md
+++ b/testing/web-platform/tests/webgl/conformance-1.0.3/conformance/more/README.md
@@ -22,7 +22,7 @@ Want to contribute?
1. Fork this repo
2. Run gen_tests.rb
- 3. Look into templates/ to see which functions lack tests (also see methods.txt and nsICanvasRenderingContextWebGL.idl):
+ 3. Look into templates/ to see which functions lack tests (also see methods.txt and nsICanvasRenderingContextWebGL.idl):
1. copy methodName.html to functions/methodName.html and write tests that test the results of valid inputs.
2. copy methodNameBadArgs.html to functions/methodNameBadArgs.html and write tests to assert that invalid inputs throw exceptions.
3. If your test causes a segfault, add the following to the top of the script tag: Tests.autorun = false; Tests.message = "Caution: this may crash your browser";
diff --git a/toolkit/components/passwordmgr/test/browser/browser_passwordmgr_sort.js b/toolkit/components/passwordmgr/test/browser/browser_passwordmgr_sort.js
index e774f39c44bf..aed8cd375136 100644
--- a/toolkit/components/passwordmgr/test/browser/browser_passwordmgr_sort.js
+++ b/toolkit/components/passwordmgr/test/browser/browser_passwordmgr_sort.js
@@ -19,7 +19,7 @@ function test() {
"http://planet.mozilla.org/",
"https://developer.mozilla.org/",
"http://hg.mozilla.org/",
- "http://mxr.mozilla.org/",
+ "http://dxr.mozilla.org/",
"http://feeds.mozilla.org/",
];
let users = [
diff --git a/toolkit/components/passwordmgr/test/browser/browser_passwordmgrdlg.js b/toolkit/components/passwordmgr/test/browser/browser_passwordmgrdlg.js
index c669954850de..f8dcea16f18a 100644
--- a/toolkit/components/passwordmgr/test/browser/browser_passwordmgrdlg.js
+++ b/toolkit/components/passwordmgr/test/browser/browser_passwordmgrdlg.js
@@ -19,7 +19,7 @@ function test() {
"http://planet.mozilla.org/",
"https://developer.mozilla.org/",
"http://hg.mozilla.org/",
- "http://mxr.mozilla.org/",
+ "http://dxr.mozilla.org/",
"http://feeds.mozilla.org/",
];
let nsLoginInfo = new Components.Constructor("@mozilla.org/login-manager/loginInfo;1",
diff --git a/toolkit/content/license.html b/toolkit/content/license.html
index 0feec371b661..c1af8acf5770 100644
--- a/toolkit/content/license.html
+++ b/toolkit/content/license.html
@@ -5288,7 +5288,7 @@ OTHER DEALINGS IN THE SOFTWARE.
Different parts of the US English dictionary (SCOWL) are subject to the
following licenses as shown below. For additional details, sources, credits,
-and public domain references, see README.txt.
+and public domain references, see README.txt.
The collective work of the Spell Checking Oriented Word Lists (SCOWL) is under
the following copyright:
diff --git a/toolkit/locales/en-US/chrome/global/intl.properties b/toolkit/locales/en-US/chrome/global/intl.properties
index ffa3e0c6b520..0fd8a493f13d 100644
--- a/toolkit/locales/en-US/chrome/global/intl.properties
+++ b/toolkit/locales/en-US/chrome/global/intl.properties
@@ -37,7 +37,7 @@ intl.accept_languages=en-US, en
# in the Content > Fonts & Colors > Advanced preference panel.
#
# Set it to the value of one of the menuitems in the "selectLangs" menulist in
-# http://mxr.mozilla.org/mozilla/source/browser/components/preferences/fonts.xul
+# http://dxr.mozilla.org/mozilla-central/source/browser/components/preferences/fonts.xul
font.language.group=x-western
# LOCALIZATION NOTE (intl.charset.detector):
diff --git a/toolkit/modules/sessionstore/XPathGenerator.jsm b/toolkit/modules/sessionstore/XPathGenerator.jsm
index 7e377aa230c5..33f397cdf3a1 100644
--- a/toolkit/modules/sessionstore/XPathGenerator.jsm
+++ b/toolkit/modules/sessionstore/XPathGenerator.jsm
@@ -92,7 +92,7 @@ this.XPathGenerator = {
*/
get restorableFormNodes() {
// for a comprehensive list of all available types see
- // http://mxr.mozilla.org/mozilla-central/search?string=kInputTypeTable
+ // https://dxr.mozilla.org/mozilla-central/search?q=kInputTypeTable&redirect=false
let ignoreInputs = new Map([
["type", ["password", "hidden", "button", "image", "submit", "reset"]],
["autocomplete", ["off"]]
diff --git a/tools/jprof/leaky.cpp b/tools/jprof/leaky.cpp
index 37445ad94945..d8e5322f5d1d 100644
--- a/tools/jprof/leaky.cpp
+++ b/tools/jprof/leaky.cpp
@@ -639,7 +639,7 @@ void leaky::generateReportHTML(FILE *fp, int *countArray, int count, int thread)
// this loop. Later we can get callers and callees into it like gprof
// does
fprintf(fp,
- "
\n");
diff --git a/xpcom/threads/SharedThreadPool.h b/xpcom/threads/SharedThreadPool.h
index 2d4aeca19f25..747042d14a7c 100644
--- a/xpcom/threads/SharedThreadPool.h
+++ b/xpcom/threads/SharedThreadPool.h
@@ -34,7 +34,7 @@ namespace mozilla {
// cause some functions to fail. So be careful when using Win32 APIs on a
// SharedThreadPool, and avoid sharing objects if at all possible.
//
-// [1] http://mxr.mozilla.org/mozilla-central/search?string=coinitialize
+// [1] https://dxr.mozilla.org/mozilla-central/search?q=coinitialize&redirect=false
class SharedThreadPool : public nsIThreadPool
{
public: