Backed out changeset 4e1474612b64 (bug 1404583) for failing browser-chrome's browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Wed, 11 Oct 2017 16:26:46 +0200
changeset 679097 8b3c3e27958867ff0135adf75be4e8daf4a7d745
parent 679096 49e69b3ad3bac665964c647cc39b59d9f56372a2
child 679098 2f3dd84d4d228a6a52f47164eabd1298ed26ebe9
push id84141
push userbmo:schien@mozilla.com
push dateThu, 12 Oct 2017 11:13:04 +0000
reviewersbackout
bugs1404583
milestone58.0a1
backs out4e1474612b6402a3cbc70f9e5fcc449d37be018c
Backed out changeset 4e1474612b64 (bug 1404583) for failing browser-chrome's browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js. r=backout
browser/base/content/utilityOverlay.js
--- a/browser/base/content/utilityOverlay.js
+++ b/browser/base/content/utilityOverlay.js
@@ -443,21 +443,16 @@ function openLinkIn(url, where, params) 
     targetBrowser.loadURIWithFlags(url, {
       triggeringPrincipal: aTriggeringPrincipal,
       flags,
       referrerURI: aNoReferrer ? null : aReferrerURI,
       referrerPolicy: aReferrerPolicy,
       postData: aPostData,
       userContextId: aUserContextId
     });
-
-    // Don't focus the content area if focus is in the address bar and we're
-    // loading the New Tab page.
-    focusUrlBar = document.activeElement == gURLBar.inputField &&
-                  w.isBlankPageURL(url);
     break;
   case "tabshifted":
     loadInBackground = !loadInBackground;
     // fall through
   case "tab":
     focusUrlBar = !loadInBackground && w.isBlankPageURL(url);
 
     let tabUsedForLoad = w.gBrowser.loadOneTab(url, {