Bug 1837963 - Disallow opening file pickers from background tabs; r=geckoview-reviewers,emilio,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D230087
This commit is contained in:
@@ -441,6 +441,11 @@ interface CanonicalBrowsingContext : BrowsingContext {
|
||||
* visibility, or no frame.
|
||||
*/
|
||||
readonly attribute boolean isUnderHiddenEmbedderElement;
|
||||
|
||||
/**
|
||||
* Indicates whether opening a modal picker is permitted.
|
||||
*/
|
||||
readonly attribute boolean canOpenModalPicker;
|
||||
};
|
||||
|
||||
[Exposed=Window, ChromeOnly]
|
||||
|
||||
Reference in New Issue
Block a user