mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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:
parent
b98d93ada9
commit
722366ddf3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user