Bug 764414 - Let <iframe mozapp> content open popups even when it's in the background. r=bz

This commit is contained in:
Etienne Segonzac 2012-06-15 07:48:15 +02:00
parent 0b4e496ec1
commit 3be58ec2e7

View File

@ -8641,7 +8641,7 @@ nsGlobalWindow::OpenInternal(const nsAString& aUrl, const nsAString& aName,
NS_ASSERTION(mDocShell, "Must have docshell here");
const bool checkForPopup = !nsContentUtils::IsCallerChrome() &&
!aDialog && !WindowExists(aName, !aCalledNoScript);
!IsPartOfApp() && !aDialog && !WindowExists(aName, !aCalledNoScript);
// Note: it's very important that this be an nsXPIDLCString, since we want
// .get() on it to return nsnull until we write stuff to it. The window