Bug 623447 - ASSERTION: AreDialogsBlocked() called without a top window, r=jst a=jonas

--HG--
extra : rebase_source : 76a7871d86d5f84fb0978713b60b4c699298e7a3
This commit is contained in:
Nochum Sossonko 2011-01-06 21:07:35 -05:00
parent fc5ace8d13
commit d2b2b8d37a

View File

@ -2554,7 +2554,7 @@ nsGlobalWindow::AreDialogsBlocked()
{
nsGlobalWindow *topWindow = GetTop();
if (!topWindow) {
NS_ERROR("AreDialogsBlocked() called without a top window?");
NS_ASSERTION(!mDocShell, "AreDialogsBlocked() called without a top window?");
return true;
}