mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Temporary fix for bug 43390, allow modal dialogs/windows to be raised from script. r:vidur
This commit is contained in:
parent
3d919ad0cb
commit
db9bd6ac20
@ -3041,7 +3041,9 @@ PRUint32 GlobalWindowImpl::CalculateChromeFlags(char* aFeatures, PRBool aDialog)
|
||||
chromeFlags |= nsIWebBrowserChrome::titlebarOn;
|
||||
chromeFlags &= ~nsIWebBrowserChrome::windowLowered;
|
||||
chromeFlags &= ~nsIWebBrowserChrome::windowRaised;
|
||||
chromeFlags &= ~nsIWebBrowserChrome::modal;
|
||||
//XXX Temporarily removing this check to allow modal dialogs to be
|
||||
//raised from script. A more complete security based fix is needed.
|
||||
//chromeFlags &= ~nsIWebBrowserChrome::modal;
|
||||
}
|
||||
|
||||
return chromeFlags;
|
||||
|
Loading…
x
Reference in New Issue
Block a user