Bug 1095236 - Disable dialog=1 support for windows opened from content. r=mrbkap

--HG--
extra : commitid : 4m7AvvB7uNQ
extra : rebase_source : 071e0e0aad76a7f08899591cb2efcc04bd5f2223
extra : histedit_source : d4db8a83cd507d05be0c166542fbdeca0212c76d
This commit is contained in:
Mike Conley 2015-10-02 19:00:54 -04:00
parent b98d93ada9
commit 722366ddf3

View File

@ -1651,9 +1651,9 @@ nsWindowWatcher::CalculateChromeFlags(nsIDOMWindow* aParent,
if (aParent) {
aParent->GetFullScreen(&isFullScreen);
}
if (isFullScreen && openedFromContentScript) {
// If the parent window is in fullscreen & the caller context is content,
// dialog feature is disabled. (see bug 803675)
if (openedFromContentScript) {
// If the caller context is content, we do not support the
// dialog feature. See bug 1095236.
disableDialogFeature = true;
}