Backed out changeset c47a46c92dff (bug 860941)
This commit is contained in:
@@ -11452,7 +11452,7 @@ nsDocShell::EnsureScriptEnvironment()
|
||||
browserChrome->GetChromeFlags(&chromeFlags);
|
||||
|
||||
bool isModalContentWindow = (mItemType == typeContent) &&
|
||||
(chromeFlags & nsIWebBrowserChrome::CHROME_MODAL_CONTENT_WINDOW);
|
||||
(chromeFlags & nsIWebBrowserChrome::CHROME_MODAL);
|
||||
// There can be various other content docshells associated with the
|
||||
// top-level window, like sidebars. Make sure that we only create an
|
||||
// nsGlobalModalWindow for the primary content shell.
|
||||
|
||||
Reference in New Issue
Block a user