From d2b2b8d37a94dbc9aef7e1489d049738c5f41e01 Mon Sep 17 00:00:00 2001 From: Nochum Sossonko Date: Thu, 6 Jan 2011 21:07:35 -0500 Subject: [PATCH] Bug 623447 - ASSERTION: AreDialogsBlocked() called without a top window, r=jst a=jonas --HG-- extra : rebase_source : 76a7871d86d5f84fb0978713b60b4c699298e7a3 --- dom/base/nsGlobalWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index 6db7f765511..16d7a8588cd 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -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; }