Backed out changeset 960112fbae78 (bug 1147911) for T-e10s(o) permafail. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 18 Nov 2016 00:58:52 +0100
changeset 323125 9358470c0416e01e234ebbf43f39d34904130d4e
parent 323124 7fcdd705d184065be7bc5809d9f606579ec19e83
child 323126 48a32fd177a4828744b02189bb7b9f3eba561071
push id84058
push userarchaeopteryx@coole-files.de
push dateThu, 17 Nov 2016 23:59:12 +0000
treeherdermozilla-inbound@9358470c0416 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1147911
milestone53.0a1
backs out960112fbae7844edd5d329b3cbb28bec8c1c34c3
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
Backed out changeset 960112fbae78 (bug 1147911) for T-e10s(o) permafail. r=backout
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -5020,18 +5020,17 @@ nsBrowserAccess.prototype = {
 
     var isExternal = !!(aFlags & Ci.nsIBrowserDOMWindow.OPEN_EXTERNAL);
 
     var userContextId = aParams.openerOriginAttributes &&
                         ("userContextId" in aParams.openerOriginAttributes)
                           ? aParams.openerOriginAttributes.userContextId
                           : Ci.nsIScriptSecurityManager.DEFAULT_USER_CONTEXT_ID
 
-    let referrer = aParams.referrer ? makeURI(aParams.referrer) : null;
-    let browser = this._openURIInNewTab(aURI, referrer,
+    let browser = this._openURIInNewTab(aURI, aParams.referrer,
                                         aParams.referrerPolicy,
                                         aParams.isPrivate,
                                         isExternal, false,
                                         userContextId);
     if (browser)
       return browser.QueryInterface(Ci.nsIFrameLoaderOwner);
 
     return null;