Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
authorTowkir Ahmed <3ugzilla@gmail.com>
Mon, 15 Aug 2016 17:28:05 -0700
changeset 309584 4af6ac9ead4a07edb29d287bb1ca17773045695e
parent 309583 e1e30e96ea5a5aca494f90159ba86edb7683556d
child 309585 03bd46e4cf1d15ddc18cfc0662ce480790d5c3a4
push id30565
push userkwierso@gmail.com
push dateWed, 17 Aug 2016 00:07:29 +0000
treeherdermozilla-central@1a0e253638fe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske
bugs1284887
milestone51.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 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
addon-sdk/source/app-extension/bootstrap.js
addon-sdk/source/lib/sdk/keyboard/hotkeys.js
addon-sdk/source/lib/sdk/keyboard/utils.js
addon-sdk/source/lib/sdk/l10n/locale.js
addon-sdk/source/lib/sdk/system.js
addon-sdk/source/python-lib/cuddlefish/prefs.py
addon-sdk/source/python-lib/cuddlefish/version_comparator.py
addon-sdk/source/test/addons/l10n-properties/app-extension/bootstrap.js
addon-sdk/source/test/addons/simple-prefs-regression/app-extension/bootstrap.js
b2g/graphene/graphene.js
browser/installer/windows/nsis/installer.nsi
browser/installer/windows/nsis/uninstaller.nsi
devtools/client/shared/widgets/MdnDocsWidget.js
devtools/shared/jsbeautify/src/beautify-js.js
devtools/shared/protocol.js
dom/canvas/test/webgl-conf/checkout/conformance/more/README.md
dom/permission/tests/file_framework.js
dom/webidl/Document.webidl
js/src/tests/README.txt
js/src/vm/make_opcode_doc.py
layout/base/tests/test_bug386575.xhtml
media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp
mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
mobile/android/docs/uitelemetry.rst
mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoProfile.java
mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/domain/FormHistoryRecord.java
mobile/android/tests/browser/robocop/testTrackingProtection.js
python/compare-locales/docs/index.rst
testing/mozbase/mozprofile/mozprofile/permissions.py
testing/web-platform/tests/dom/traversal/TreeWalker-acceptNode-filter.html
testing/web-platform/tests/dom/traversal/TreeWalker-basic.html
testing/web-platform/tests/dom/traversal/TreeWalker-currentNode.html
testing/web-platform/tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html
testing/web-platform/tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html
testing/web-platform/tests/dom/traversal/TreeWalker-traversal-reject.html
testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip-most.html
testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip.html
testing/web-platform/tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
testing/web-platform/tests/webgl/conformance-1.0.3/conformance/more/README.md
toolkit/components/passwordmgr/test/browser/browser_passwordmgr_sort.js
toolkit/components/passwordmgr/test/browser/browser_passwordmgrdlg.js
toolkit/content/license.html
toolkit/locales/en-US/chrome/global/intl.properties
toolkit/modules/sessionstore/XPathGenerator.jsm
tools/jprof/leaky.cpp
xpcom/threads/SharedThreadPool.h
--- a/addon-sdk/source/app-extension/bootstrap.js
+++ b/addon-sdk/source/app-extension/bootstrap.js
@@ -1,13 +1,13 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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';
 
 // IMPORTANT: Avoid adding any initialization tasks here, if you need to do
 // something before add-on is loaded consider addon/runner module instead!
 
 const { classes: Cc, Constructor: CC, interfaces: Ci, utils: Cu,
         results: Cr, manager: Cm } = Components;
--- a/addon-sdk/source/lib/sdk/keyboard/hotkeys.js
+++ b/addon-sdk/source/lib/sdk/keyboard/hotkeys.js
@@ -79,17 +79,17 @@ keyboardObserver.on("keydown", function 
     modifiers.push("alt");
   if ("ctrlKey" in event && event.ctrlKey)
     modifiers.push("control");
   if ("metaKey" in event && event.metaKey)
     modifiers.push("meta");
 
   // 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
   // have a valid combination so we return immediately (Also, sometimes
   // `keyCode` may be one for the modifier which means we do not have a
   // modifier).
   if (!key || (!isFunctionKey(key) && !modifiers.length) || key in MODIFIERS)
     return;
--- a/addon-sdk/source/lib/sdk/keyboard/utils.js
+++ b/addon-sdk/source/lib/sdk/keyboard/utils.js
@@ -28,17 +28,17 @@ const MODIFIERS = exports.MODIFIERS = {
   'option': 'alt',
   'command': 'meta',
   'alt': 'alt',
   'shift': 'shift'
 };
 
 // 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.
   let aliases = {
     'subtract':     '-',
     'add':          '+',
     'equals':       '=',
     'slash':        '/',
--- a/addon-sdk/source/lib/sdk/l10n/locale.js
+++ b/addon-sdk/source/lib/sdk/l10n/locale.js
@@ -72,17 +72,17 @@ exports.getPreferedLocales = getPrefered
  * @param  aLocales
  *         An array of available locales
  * @param  aMatchLocales
  *         An array of prefered locales, ordered by priority. Most wanted first.
  *         Locales have to be in lowercase.
  *         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();
 
   // Holds the best matching localized resource
   let bestmatch = null;
   // The number of locale parts it matched with
   let bestmatchcount = 0;
--- a/addon-sdk/source/lib/sdk/system.js
+++ b/addon-sdk/source/lib/sdk/system.js
@@ -94,17 +94,17 @@ exports.exit = function exit(code) {
 var stdout = Object.freeze({ write: dump, end: dump });
 exports.stdout = stdout;
 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
  *    let profilePath = require('system').pathFor('ProfD');
  *    // get OS temp files directory (/tmp)
  *    let temps = require('system').pathFor('TmpD');
  *    // get OS desktop path for an active user (~/Desktop on linux
  *    // or C:\Documents and Settings\username\Desktop on windows).
--- a/addon-sdk/source/python-lib/cuddlefish/prefs.py
+++ b/addon-sdk/source/python-lib/cuddlefish/prefs.py
@@ -119,17 +119,17 @@ DEFAULT_FIREFOX_PREFS = {
     'browser.safebrowsing.provider.google.gethashURL' : 'http://localhost/safebrowsing-dummy/gethash',
     'browser.safebrowsing.provider.google.updateURL' : 'http://localhost/safebrowsing-dummy/update',
     'browser.safebrowsing.provider.mozilla.gethashURL': 'http://localhost/safebrowsing-dummy/gethash',
     'browser.safebrowsing.provider.mozilla.updateURL': 'http://localhost/safebrowsing-dummy/update',
 }
 
 # 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,
     'dom.max_script_run_time': 0,
     # do not ask about being the default mail client
     'mail.shell.checkDefaultClient': False,
     # disable non-gloda indexing daemons
     'mail.winsearch.enable': False,
--- a/addon-sdk/source/python-lib/cuddlefish/version_comparator.py
+++ b/addon-sdk/source/python-lib/cuddlefish/version_comparator.py
@@ -5,17 +5,17 @@
 '''
     This is a really crummy, slow Python implementation of the Mozilla
     platform's nsIVersionComparator interface:
 
       https://developer.mozilla.org/En/NsIVersionComparator
 
     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
 import sys
 
 class VersionPart(object):
     '''
     Examples:
--- a/addon-sdk/source/test/addons/l10n-properties/app-extension/bootstrap.js
+++ b/addon-sdk/source/test/addons/l10n-properties/app-extension/bootstrap.js
@@ -1,13 +1,13 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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';
 
 // IMPORTANT: Avoid adding any initialization tasks here, if you need to do
 // something before add-on is loaded consider addon/runner module instead!
 
 const { classes: Cc, Constructor: CC, interfaces: Ci, utils: Cu,
         results: Cr, manager: Cm } = Components;
--- 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
@@ -1,13 +1,13 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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';
 
 // IMPORTANT: Avoid adding any initialization tasks here, if you need to do
 // something before add-on is loaded consider addon/runner module instead!
 
 const { classes: Cc, Constructor: CC, interfaces: Ci, utils: Cu,
         results: Cr, manager: Cm } = Components;
--- a/b2g/graphene/graphene.js
+++ b/b2g/graphene/graphene.js
@@ -1,9 +1,9 @@
-// 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 }');
 
 #ifdef MOZ_HORIZON
 pref("b2g.default.start_manifest_url", "https://mozvr.github.io/horizon/web/manifest.webapp");
 pref("dom.vr.enabled", true);
 pref("dom.ipc.tabs.disabled", true);
--- a/browser/installer/windows/nsis/installer.nsi
+++ b/browser/installer/windows/nsis/installer.nsi
@@ -1,16 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # 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/.
 
 # 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
 
 ; Set verbosity to 3 (e.g. no script) to lessen the noise in the build logs
 !verbose 3
 
 ; 7-Zip provides better compression than the lzma from NSIS so we add the files
--- a/browser/installer/windows/nsis/uninstaller.nsi
+++ b/browser/installer/windows/nsis/uninstaller.nsi
@@ -1,15 +1,15 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # 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/.
 
 # 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
 
 ; Set verbosity to 3 (e.g. no script) to lessen the noise in the build logs
 !verbose 3
 
 ; 7-Zip provides better compression than the lzma from NSIS so we add the files
 ; uncompressed and use 7-Zip to create a SFX archive of it
--- a/devtools/client/shared/widgets/MdnDocsWidget.js
+++ b/devtools/client/shared/widgets/MdnDocsWidget.js
@@ -51,17 +51,17 @@ const PROPERTY_VALUE_COLOR = "theme-fg-c
 const COMMENT_COLOR = "theme-comment";
 
 /**
  * Turns a string containing a series of CSS declarations into
  * a series of DOM nodes, with classes applied to provide syntax
  * 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,
  * and will inherit the default style for text.
  *
  * - "ident" tokens that we think are property names are considered to be
  * a property name, and are appended as SPAN nodes with a distinct color class.
  *
--- a/devtools/shared/jsbeautify/src/beautify-js.js
+++ b/devtools/shared/jsbeautify/src/beautify-js.js
@@ -967,17 +967,17 @@ function Beautifier(js_source_text, opti
                 }
                 return [trim(resulting_string) + '\n', 'TK_UNKNOWN'];
             }
 
 
 
             // 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 {
                     c = input.charAt(parser_pos);
                     sharp += c;
                     parser_pos += 1;
                 } while (parser_pos < input_length && c !== '#' && c !== '=');
                 if (c === '#') {
--- a/devtools/shared/protocol.js
+++ b/devtools/shared/protocol.js
@@ -1249,17 +1249,17 @@ var Front = Class({
       console.error(err);
       throw err;
     }
 
     let { deferred, stack } = this._requests.shift();
     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;
         } else {
           message = packet.error;
         }
         deferred.reject(message);
       } else {
--- a/dom/canvas/test/webgl-conf/checkout/conformance/more/README.md
+++ b/dom/canvas/test/webgl-conf/checkout/conformance/more/README.md
@@ -17,17 +17,17 @@ Running the tests
   4. Open all_tests.html in your browser.
 
 
 Want to contribute?
 -------------------
 
   1. Fork this repo
   2. Run <code>gen_tests.rb</code>
-  3. Look into templates/ to see which functions lack tests (also see <a href="../raw/master/methods.txt">methods.txt</a> and <a href="http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl">nsICanvasRenderingContextWebGL.idl</a>):
+  3. Look into templates/ to see which functions lack tests (also see <a href="../raw/master/methods.txt">methods.txt</a> and <a href="http://dxr.mozilla.org/mozilla-central/source/dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl">nsICanvasRenderingContextWebGL.idl</a>):
     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: <code>Tests.autorun = false; Tests.message = "Caution: this may crash your browser";</code>
   4. For each performance test:
     1. Write a performance/myTestName.html and set <code>Tests.autorun = false;</code>
   5. If you have a test that you would like to run over the whole API or want to generate tests programmatically, add them to gen_tests.rb or write your own script.
   6. Create a commit for each file. (E.g. <code>for f in $(git status | grep -e "^#\\s*functions/\\S*$" | sed "s/^#\s*//"); do git add $f; git commit -m $f; done</code>)
   7. Send me a pull request.
--- a/dom/permission/tests/file_framework.js
+++ b/dom/permission/tests/file_framework.js
@@ -2,17 +2,17 @@
 /*
  * gData is an array of object that tests using this framework must pass in
  * The current tests only pass in a single element array. Each test in
  * gData is executed by the framework for a given file
  *
  * 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
  *
  * obj     (required for default verifier) String
  *         The name of the window.navigator object used for accessing the
  *         WebAPI during the tests
  *
  * webidl  (required for default verifier) String
--- a/dom/webidl/Document.webidl
+++ b/dom/webidl/Document.webidl
@@ -1,14 +1,14 @@
 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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;
 interface nsISupports;
 interface URI;
 interface nsIDocShell;
 interface nsILoadGroup;
 
--- a/js/src/tests/README.txt
+++ b/js/src/tests/README.txt
@@ -23,17 +23,17 @@ Adding a test
         </fineprint>
 
 Adjusting when and how a test runs
 ----------------------------------
     Put a comment at the top of the header matching the format:
         // |reftest| <failure-type> -- <comment>
 
     Where <failure-type> is a standard reftest <failure-type> 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
 
         <fineprint> Either // or /* */ style comments may be used. The entire
         comment must appear in the first 512 bytes of the file. The control
         string must be in its own comment block. </fineprint>
 
--- a/js/src/vm/make_opcode_doc.py
+++ b/js/src/vm/make_opcode_doc.py
@@ -10,17 +10,17 @@
     https://developer.mozilla.org/en-US/docs/SpiderMonkey/Internals/Bytecode
 """
 
 from __future__ import print_function
 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)
     sys.exit(1)
 
 quoted_pat = re.compile(r"([^A-Za-z0-9]|^)'([^']+)'")
 js_pat = re.compile(r"([^A-Za-z0-9]|^)(JS[A-Z0-9_\*]+)")
 def codify(text):
--- a/layout/base/tests/test_bug386575.xhtml
+++ b/layout/base/tests/test_bug386575.xhtml
@@ -8,17 +8,17 @@ https://bugzilla.mozilla.org/show_bug.cg
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
 </head>
 <body>
 
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=386575">Mozilla Bug 386575</a>
 <p id="display">
 
 
-<!-- the image is http://mxr.mozilla.org/mozilla/source/layout/reftests/bugs/solidblue.png -->
+<!-- the image is http://dxr.mozilla.org/mozilla-central/source/layout/reftests/bugs/solidblue.png -->
 <!-- solidblue.png is a 16x16 image -->
 <table>
   <tbody>
     <div style="height:20px; min-height:100%">
       <img src="data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%10%00%00%00%10%08%06%00%00%00%1F%F3%FFa%00%00%00%01sRGB%00%AE%CE%1C%E9%00%00%00%04gAMA%00%00%B1%8F%0B%FCa%05%00%00%00%20cHRM%00%00z%26%00%00%80%84%00%00%FA%00%00%00%80%E8%00%00u0%00%00%EA%60%00%00%3A%98%00%00%17p%9C%BAQ%3C%00%00%00%18tEXtSoftware%00Paint.NET%20v3.01%1C%AE%24E%00%00%00'IDAT8Ocd%10%AE%FF%CF%40%11%00%19%40%09%A6H3%D8%F5%94%D8%3Ej%00%24%F6F%03q4%0C%80%E9%00%00%D6%11y%92%15%8F%DC%CE%00%00%00%00IEND%AEB%60%82" style="height: 80%" />
     </div>
   </tbody>
 </table>
--- a/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp
+++ b/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp
@@ -298,17 +298,17 @@ protected:
         case GrallocImage::HAL_PIXEL_FORMAT_YCbCr_420_SP:
           destFormat = mozilla::kVideoNV21;
           break;
         case GrallocImage::HAL_PIXEL_FORMAT_YCbCr_420_P:
           destFormat = mozilla::kVideoI420;
           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();
       }
       void *basePtr;
       graphicBuffer->lock(android::GraphicBuffer::USAGE_SW_READ_MASK, &basePtr);
       uint32_t width = graphicBuffer->getWidth();
       uint32_t height = graphicBuffer->getHeight();
--- a/mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
+++ b/mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
@@ -110,17 +110,17 @@ public class ToolbarDisplayLayout extend
     private OnStopListener mStopListener;
 
     private final PageActionLayout mPageActionLayout;
 
     private final SiteIdentityPopup mSiteIdentityPopup;
     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.
     private static final int LEVEL_WARNING_MINOR = 3;
     private static final int LEVEL_LOCK_DISABLED = 4;
     // Levels for displaying Tracking Protection state icons.
     private static final int LEVEL_SHIELD_ENABLED = 5;
     private static final int LEVEL_SHIELD_DISABLED = 6;
--- a/mobile/android/docs/uitelemetry.rst
+++ b/mobile/android/docs/uitelemetry.rst
@@ -77,17 +77,17 @@ Versioning
 As a we improve on our Telemetry methods, it is foreseeable that our probes will change over time. Different versions of a probe could carry different data or have different interpretations on the server-side. To make it easier for the server to handle these changes, you should add version numbers to your event and session names. An example of a versioned session is ``homepanel.1``; this is version 1 of the ``homepanel`` session. This approach should also be applied to event names, an example being: ``panel.enable.1`` and ``panel.enable.2``.
 
 
 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 <http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/Telemetry.java>`_ for more details.
+See the documentation in `the source <http://dxr.mozilla.org/mozilla-central/source/mobile/android/base/Telemetry.java>`_ for more details.
 
 Dictionary
 ==========
 
 Events
 ------
 ``action.1``
   Generic action, usually for tracking menu and toolbar actions.
--- a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
@@ -211,25 +211,25 @@ public class GeckoAppShell
     private static Sensor gRotationVectorSensor;
     private static Sensor gGameRotationVectorSensor;
 
     private static final String GECKOREQUEST_RESPONSE_KEY = "response";
     private static final String GECKOREQUEST_ERROR_KEY = "error";
 
     /*
      * 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;
     static public final int WPL_STATE_IS_DOCUMENT = 0x00020000;
     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;
     static public final int LINK_TYPE_USB = 2;
     static public final int LINK_TYPE_WIFI = 3;
     static public final int LINK_TYPE_WIMAX = 4;
     static public final int LINK_TYPE_2G = 5;
     static public final int LINK_TYPE_3G = 6;
--- a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoProfile.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoProfile.java
@@ -437,17 +437,17 @@ public final class GeckoProfile {
      *
      * WARNING: the platform provides a JSM to retrieve the client ID [1] and this would be a
      * robust way to access it. However, we don't want to rely on Gecko running in order to get
      * the client ID so instead we access the file this module accesses directly. However, it's
      * possible the format of this file (and the access calls in the jsm) will change, leaving
      * 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.
      */
     // Mimics ClientID.jsm – _doLoadClientID.
     @WorkerThread
     public String getClientId() throws IOException {
         try {
             return getValidClientIdFromDisk(CLIENT_ID_FILE_PATH);
--- 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
@@ -9,17 +9,17 @@ import org.mozilla.gecko.sync.ExtendedJS
 import org.mozilla.gecko.sync.Utils;
 import org.mozilla.gecko.sync.repositories.android.RepoUtils;
 
 /**
  * A FormHistoryRecord represents a saved form element.
  *
  * I map a <code>fieldName</code> string to a <code>value</code> string.
  *
- * @see "<a href='http://mxr.mozilla.org/services-central/source/services-central/services/sync/modules/engines/forms.js'>http://mxr.mozilla.org/services-central/source/services-central/services/sync/modules/engines/forms.js</a>."
+ * @see "<a href='http://dxr.mozilla.org/services-central/source/services-central/services/sync/modules/engines/forms.js'>http://dxr.mozilla.org/services-central/source/services-central/services/sync/modules/engines/forms.js</a>."
  */
 public class FormHistoryRecord extends Record {
   private static final String LOG_TAG = "FormHistoryRecord";
 
   public static final String  COLLECTION_NAME = "forms";
   private static final String PAYLOAD_NAME    = "name";
   private static final String PAYLOAD_VALUE   = "value";
   public static final long FORMS_TTL = 3 * 365 * 24 * 60 * 60;   // Three years in seconds.
--- a/mobile/android/tests/browser/robocop/testTrackingProtection.js
+++ b/mobile/android/tests/browser/robocop/testTrackingProtection.js
@@ -36,17 +36,17 @@ function promiseLoadEvent(browser, url, 
     }
   });
 }
 
 // Test that the Tracking Protection is active and has the correct state when
 // 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";
 
 // Update tracking database
 function doUpdate() {
   // Add some URLs to the tracking database (to be blocked)
   var testData = "tracking.example.com/";
   var testUpdate =
--- a/python/compare-locales/docs/index.rst
+++ b/python/compare-locales/docs/index.rst
@@ -183,9 +183,9 @@ where are the localizations?
 We host a mercurial repository per locale and per branch. Most of our
 localizations only work starting with aurora, so the bulk of the localizations
 is found on https://hg.mozilla.org/releases/l10n/mozilla-aurora/. We have
 several localizations continuously working with mozilla-central, those
 repositories are on https://hg.mozilla.org/l10n-central/.
 
 You can search inside our localized files on
 `Transvision <https://transvision.mozfr.org/>`_ and
-http://mxr.mozilla.org/l10n-mozilla-aurora/.
+http://dxr.mozilla.org/l10n-mozilla-aurora/.
--- a/testing/mozbase/mozprofile/mozprofile/permissions.py
+++ b/testing/mozbase/mozprofile/mozprofile/permissions.py
@@ -141,17 +141,17 @@ class ServerLocations(object):
 
     def read(self, filename, check_for_primary=True):
         """
         Reads the file and adds all valid locations to the ``self._locations`` array.
 
         :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.
 
         FIXME: Shouldn't this default to the protocol-appropriate port?  Is
         there any reason to have defaults at all?
         """
 
         locationFile = codecs.open(filename, "r", "UTF-8")
@@ -224,17 +224,17 @@ class Permissions(object):
     def write_db(self, locations):
         """write permissions to the sqlite database"""
 
         # Open database and create table
         permDB = sqlite3.connect(os.path.join(self._profileDir, "permissions.sqlite"))
         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
              ,type TEXT
              ,permission INTEGER
              ,expireType INTEGER
              ,expireTime INTEGER
              ,modificationTime INTEGER
@@ -308,17 +308,17 @@ class Permissions(object):
         else:
             user_prefs = []
 
         return prefs, user_prefs
 
     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()
 
         # We need to proxy every server but the primary one.
         origins = ["'%s'" % l.url()
                    for l in self._locations]
         origins = ", ".join(origins)
         proxy["origins"] = origins
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-acceptNode-filter.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-acceptNode-filter.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/acceptNode-filter.js
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/acceptNode-filter.js
 -->
 <head>
 <title>TreeWalker: acceptNode-filter</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-basic.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-basic.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html
 -->
 <head>
 <title>TreeWalker: Basic test</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-currentNode.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-currentNode.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/resources/TreeWalker-currentNode.js
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/resources/TreeWalker-currentNode.js
 -->
 <head>
 <title>TreeWalker: currentNode</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousNodeLastChildReject.js
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousNodeLastChildReject.js
 -->
 <head>
 <title>TreeWalker: previousNodeLastChildReject</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousSiblingLastChildSkip.js
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousSiblingLastChildSkip.js
 -->
 <head>
 <title>TreeWalker: previousSiblingLastChildSkip</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-reject.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-reject.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-reject.js
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-reject.js
 -->
 <head>
 <title>TreeWalker: traversal-reject</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- 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,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip-most.js
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip-most.js
 -->
 <head>
 <title>TreeWalker: traversal-skip-most</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- a/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip.html
+++ b/testing/web-platform/tests/dom/traversal/TreeWalker-traversal-skip.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!--
-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip.js
+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip.js
 -->
 <head>
 <title>TreeWalker: traversal-skip</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="traversal-support.js"></script>
 <div id=log></div>
 </head>
--- 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
@@ -3,17 +3,17 @@
 <!--
 Tests that a create MediaElementSourceNode that is passed through
 a script processor passes the stream data.
 The the script processor saves the input buffers it gets to a temporary
 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)
 -->
 
 <html class="a">
  <head>
   <title>MediaElementAudioSource interface test (to scriptProcessor)</title>
   <script src="/resources/testharness.js"></script>
   <script src="/resources/testharnessreport.js"></script>
   <script src="/webaudio/js/lodash.js"></script>
--- 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
@@ -17,17 +17,17 @@ Running the tests
   4. Open all_tests.html in your browser.
 
 
 Want to contribute?
 -------------------
 
   1. Fork this repo
   2. Run <code>gen_tests.rb</code>
-  3. Look into templates/ to see which functions lack tests (also see <a href="../raw/master/methods.txt">methods.txt</a> and <a href="http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl">nsICanvasRenderingContextWebGL.idl</a>):
+  3. Look into templates/ to see which functions lack tests (also see <a href="../raw/master/methods.txt">methods.txt</a> and <a href="http://dxr.mozilla.org/mozilla-central/source/dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl">nsICanvasRenderingContextWebGL.idl</a>):
     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: <code>Tests.autorun = false; Tests.message = "Caution: this may crash your browser";</code>
   4. For each performance test:
     1. Write a performance/myTestName.html and set <code>Tests.autorun = false;</code>
   5. If you have a test that you would like to run over the whole API or want to generate tests programmatically, add them to gen_tests.rb or write your own script.
   6. Create a commit for each file. (E.g. <code>for f in $(git status | grep -e "^#\\s*functions/\\S*$" | sed "s/^#\s*//"); do git add $f; git commit -m $f; done</code>)
   7. Send me a pull request.
--- a/toolkit/components/passwordmgr/test/browser/browser_passwordmgr_sort.js
+++ b/toolkit/components/passwordmgr/test/browser/browser_passwordmgr_sort.js
@@ -14,17 +14,17 @@ function test() {
         "http://example.com/",
         "http://example.org/",
         "http://mozilla.com/",
         "http://mozilla.org/",
         "http://spreadfirefox.com/",
         "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 = [
         "user",
         "username",
         "ehsan",
         "ehsan",
         "john",
--- a/toolkit/components/passwordmgr/test/browser/browser_passwordmgrdlg.js
+++ b/toolkit/components/passwordmgr/test/browser/browser_passwordmgrdlg.js
@@ -14,17 +14,17 @@ function test() {
         "http://example.com/",
         "http://example.org/",
         "http://mozilla.com/",
         "http://mozilla.org/",
         "http://spreadfirefox.com/",
         "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",
                                                  Ci.nsILoginInfo, "init");
     let logins = [
         new nsLoginInfo(urls[0], urls[0], null, "user", "password", "u1", "p1"),
         new nsLoginInfo(urls[1], urls[1], null, "username", "password", "u2", "p2"),
         new nsLoginInfo(urls[2], urls[2], null, "ehsan", "mypass", "u3", "p3"),
--- a/toolkit/content/license.html
+++ b/toolkit/content/license.html
@@ -5283,17 +5283,17 @@ OTHER DEALINGS IN THE SOFTWARE.
 
     <p>These licenses apply to certain files in the directory
       <span class="path">extensions/spellcheck/locales/en-US/hunspell/</span>. (This
       code only ships in some localized versions of this product.)</p>
 
 <pre>
 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 <a href="http://mxr.mozilla.org/mozilla/source/extensions/spellcheck/locales/en-US/hunspell/README.txt?raw=1">README.txt</a>.
+and public domain references, see <a href="https://dxr.mozilla.org/mozilla-central/source/extensions/spellcheck/locales/en-US/hunspell/README_en_US.txt">README.txt</a>.
 
 The collective work of the Spell Checking Oriented Word Lists (SCOWL) is under
 the  following copyright:
 
 Copyright 2000-2007 by Kevin Atkinson
 Permission to use, copy, modify, distribute and sell these word lists, the
 associated scripts, the output created from the scripts, and its documentation
 for any purpose is hereby granted without fee, provided that the above
--- a/toolkit/locales/en-US/chrome/global/intl.properties
+++ b/toolkit/locales/en-US/chrome/global/intl.properties
@@ -32,17 +32,17 @@ general.useragent.locale=en-US
 # intl.accept_languages=br, fr-FR, fr, en-GB, en
 intl.accept_languages=en-US, en
 
 # LOCALIZATION NOTE (font.language.group):
 # This preference controls the initial setting of the language drop-down menu
 # 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):
 # This preference controls the initial setting for the character encoding
 # detector. Valid values are ja_parallel_state_machine for Japanese, ruprob
 # for Russian and ukprob for Ukrainian and the empty string to turn detection
 # off. The value must be empty for locales other than Japanese, Russian and
 # Ukrainian.
--- a/toolkit/modules/sessionstore/XPathGenerator.jsm
+++ b/toolkit/modules/sessionstore/XPathGenerator.jsm
@@ -87,17 +87,17 @@ this.XPathGenerator = {
     return "concat('" + aArg.replace(/'+/g, "',\"$&\",'") + "')";
   },
 
   /**
    * @returns an XPath query to all savable form field nodes
    */
   get restorableFormNodes() {
     // for a comprehensive list of all available <INPUT> 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"]]
     ]);
     // XXXzeniko work-around until lower-case has been implemented (bug 398389)
     let toLowerCase = '"ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz"';
     let ignores = [];
     for (let [attrName, attrValues] of ignoreInputs) {
--- a/tools/jprof/leaky.cpp
+++ b/tools/jprof/leaky.cpp
@@ -634,17 +634,17 @@ void leaky::generateReportHTML(FILE *fp,
     }
   }
 
   // Ok, We are sorted now.  Let's go through the table until we get to
   // functions that were never called.  Right now we don't do much inside
   // this loop.  Later we can get callers and callees into it like gprof
   // does
   fprintf(fp,
-          "<h2><A NAME=hier_%d></A><center><a href=\"http://mxr.mozilla.org/mozilla-central/source/tools/jprof/README.html#hier\">Hierarchical Profile</a></center></h2><hr>\n",
+          "<h2><A NAME=hier_%d></A><center><a href=\"http://dxr.mozilla.org/mozilla-central/source/tools/jprof/README.html#hier\">Hierarchical Profile</a></center></h2><hr>\n",
           thread);
   fprintf(fp, "<pre>\n");
   fprintf(fp, "%6s %6s         %4s      %s\n",
           "index", "Count", "Hits", "Function Name");
 
   for(i=0; i<usefulSymbols && countArray[rankingTable[i]]>0; i++) {
     Symbol **sp=&externalSymbols[rankingTable[i]];
     
@@ -697,17 +697,17 @@ void leaky::generateReportHTML(FILE *fp,
   }
   if (totalTimerHits == 0)
     totalTimerHits = 1;
 
   if (totalTimerHits != count)
     fprintf(stderr,"Hit count mismatch: count=%d; totalTimerHits=%d",
             count,totalTimerHits);
 
-  fprintf(fp,"<h2><A NAME=flat_%d></A><center><a href=\"http://mxr.mozilla.org/mozilla-central/source/tools/jprof/README.html#flat\">Flat Profile</a></center></h2><br>\n",
+  fprintf(fp,"<h2><A NAME=flat_%d></A><center><a href=\"http://dxr.mozilla.org/mozilla-central/source/tools/jprof/README.html#flat\">Flat Profile</a></center></h2><br>\n",
           thread);
   fprintf(fp, "<pre>\n");
 
   fprintf(fp, "Total hit count: %d\n", totalTimerHits);
   fprintf(fp, "Count %%Total  Function Name\n");
   // Now loop for as long as we have timer hits
   for(i=0;
       i<usefulSymbols && externalSymbols[rankingTable[i]]->timerHit>0; i++) {
--- a/xpcom/threads/SharedThreadPool.h
+++ b/xpcom/threads/SharedThreadPool.h
@@ -29,17 +29,17 @@ namespace mozilla {
 // to worry about joining and tearing it down.
 //
 // On Windows all threads in the pool have MSCOM initialized with
 // COINIT_MULTITHREADED. Note that not all users of MSCOM use this mode see [1],
 // and mixing MSCOM objects between the two is terrible for performance, and can
 // 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:
 
   // Gets (possibly creating) the shared thread pool singleton instance with
   // thread pool named aName.
   static already_AddRefed<SharedThreadPool> Get(const nsCString& aName,
                                             uint32_t aThreadLimit = 4);