зеркало из https://github.com/mozilla/gecko-dev.git
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 : bcb7e316534c522a5ff8d7be336c940eccffbe3e extra : source : e91913cd64b8bebe80c661935adee644f24c6055
This commit is contained in:
Родитель
688f1f9516
Коммит
3216b9ba06
|
@ -862,7 +862,7 @@ ContentChild::ProvideWindowCommon(TabChild* aTabOpener,
|
|||
if (!SendCreateWindow(aTabOpener, newChild, renderFrame,
|
||||
aChromeFlags, aCalledFromJS, aPositionSpecified,
|
||||
aSizeSpecified,
|
||||
name, features,
|
||||
features,
|
||||
baseURIString,
|
||||
openerDocShell
|
||||
? openerDocShell->GetOriginAttributes()
|
||||
|
|
|
@ -5282,7 +5282,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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1142,7 +1142,6 @@ parent:
|
|||
bool aCalledFromJS,
|
||||
bool aPositionSpecified,
|
||||
bool aSizeSpecified,
|
||||
nsString aName,
|
||||
nsCString aFeatures,
|
||||
nsCString aBaseURI,
|
||||
DocShellOriginAttributes aOpenerOriginAttributes,
|
||||
|
|
Загрузка…
Ссылка в новой задаче