Bug 1261842 - Stop sending the window name to ContentParent when opening a new window. r=smaug

By the time that the parent is being asked to create a new window, the name
really doesn't matter anymore.

MozReview-Commit-ID: 4IKrEEylaLY

--HG--
extra : rebase_source : de7fd2a3b9a6f5841ae0cec54474a2129f8d8a96
This commit is contained in:
Mike Conley 2016-06-08 15:31:01 -04:00
parent 45326e6d87
commit 55f3d91910
4 changed files with 1 additions and 4 deletions

View File

@ -862,7 +862,7 @@ ContentChild::ProvideWindowCommon(TabChild* aTabOpener,
if (!SendCreateWindow(aTabOpener, newChild, renderFrame,
aChromeFlags, aCalledFromJS, aPositionSpecified,
aSizeSpecified,
name, features,
features,
baseURIString,
openerDocShell
? openerDocShell->GetOriginAttributes()

View File

@ -5286,7 +5286,6 @@ ContentParent::RecvCreateWindow(PBrowserParent* aThisTab,
const bool& aCalledFromJS,
const bool& aPositionSpecified,
const bool& aSizeSpecified,
const nsString& aName,
const nsCString& aFeatures,
const nsCString& aBaseURI,
const DocShellOriginAttributes& aOpenerOriginAttributes,

View File

@ -560,7 +560,6 @@ public:
const bool& aCalledFromJS,
const bool& aPositionSpecified,
const bool& aSizeSpecified,
const nsString& aName,
const nsCString& aFeatures,
const nsCString& aBaseURI,
const DocShellOriginAttributes& aOpenerOriginAttributes,

View File

@ -1142,7 +1142,6 @@ parent:
bool aCalledFromJS,
bool aPositionSpecified,
bool aSizeSpecified,
nsString aName,
nsCString aFeatures,
nsCString aBaseURI,
DocShellOriginAttributes aOpenerOriginAttributes,