Bug 1774641 - Expose isInProcess and windowGlobalChild on the WindowContext webidl r=nika

Differential Revision: https://phabricator.services.mozilla.com/D149839
This commit is contained in:
Tomislav Jovanovic 2022-06-23 21:07:35 +00:00
Родитель 9a39766c82
Коммит 3473166a7d
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -14,12 +14,16 @@ interface nsIDOMProcessParent;
interface WindowContext {
readonly attribute BrowsingContext? browsingContext;
readonly attribute WindowGlobalChild? windowGlobalChild; // in-process only
readonly attribute unsigned long long innerWindowId;
readonly attribute WindowContext? parentWindowContext;
readonly attribute WindowContext topWindowContext;
readonly attribute boolean isInProcess;
// True if this WindowContext is currently frozen in the BFCache.
readonly attribute boolean isInBFCache;
@ -54,7 +58,6 @@ enum PermitUnloadAction {
[Exposed=Window, ChromeOnly]
interface WindowGlobalParent : WindowContext {
readonly attribute boolean isClosed;
readonly attribute boolean isInProcess;
readonly attribute boolean isCurrentGlobal;