Remove assert that fires in normal conditions... I thought we could assert

this, but we can't. Bug 266371
This commit is contained in:
bzbarsky%mit.edu 2006-02-15 15:55:18 +00:00
parent 8b2bf9a6de
commit a070990fb1

View File

@ -1468,9 +1468,6 @@ nsGlobalWindow::SetOpenerWindow(nsIDOMWindowInternal* aOpener,
NS_ASSERTION(!aOriginalOpener || !mSetOpenerWindowCalled,
"aOriginalOpener is true, but not first call to "
"SetOpenerWindow!");
NS_ASSERTION(!aOriginalOpener || !mDocument,
"aOriginalOpener is true, but we already have a document "
"loaded");
mOpener = aOpener;
if (aOriginalOpener) {