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 323270 9358470c0416e01e234ebbf43f39d34904130d4e
parent 323269 7fcdd705d184065be7bc5809d9f606579ec19e83
child 323271 48a32fd177a4828744b02189bb7b9f3eba561071
push id21
push usermaklebus@msu.edu
push dateThu, 01 Dec 2016 06:22:08 +0000
reviewersbackout
bugs1147911
milestone53.0a1
backs out960112fbae7844edd5d329b3cbb28bec8c1c34c3
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;