Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
This commit is contained in:
Sebastian Krüger 2022-03-15 21:13:25 +01:00 коммит произвёл GitHub
Родитель ede332177b
Коммит e963a34362
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 24 добавлений и 6 удалений

7
baselines/dom.generated.d.ts поставляемый
Просмотреть файл

@ -9767,7 +9767,7 @@ declare var NavigationPreloadManager: {
};
/** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */
interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorNetworkInformation, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorNetworkInformation, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
/** Available only in secure contexts. */
readonly clipboard: Clipboard;
/** Available only in secure contexts. */
@ -9839,6 +9839,11 @@ interface NavigatorLanguage {
readonly languages: ReadonlyArray<string>;
}
/** Available only in secure contexts. */
interface NavigatorLocks {
readonly locks: LockManager;
}
interface NavigatorNetworkInformation {
readonly connection: NetworkInformation;
}

7
baselines/serviceworker.generated.d.ts поставляемый
Просмотреть файл

@ -2202,6 +2202,11 @@ interface NavigatorLanguage {
readonly languages: ReadonlyArray<string>;
}
/** Available only in secure contexts. */
interface NavigatorLocks {
readonly locks: LockManager;
}
interface NavigatorNetworkInformation {
readonly connection: NetworkInformation;
}
@ -5192,7 +5197,7 @@ declare var WorkerLocation: {
};
/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorNetworkInformation, NavigatorOnLine, NavigatorStorage {
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorNetworkInformation, NavigatorOnLine, NavigatorStorage {
readonly mediaCapabilities: MediaCapabilities;
}

7
baselines/sharedworker.generated.d.ts поставляемый
Просмотреть файл

@ -2121,6 +2121,11 @@ interface NavigatorLanguage {
readonly languages: ReadonlyArray<string>;
}
/** Available only in secure contexts. */
interface NavigatorLocks {
readonly locks: LockManager;
}
interface NavigatorNetworkInformation {
readonly connection: NetworkInformation;
}
@ -5071,7 +5076,7 @@ declare var WorkerLocation: {
};
/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorNetworkInformation, NavigatorOnLine, NavigatorStorage {
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorNetworkInformation, NavigatorOnLine, NavigatorStorage {
readonly mediaCapabilities: MediaCapabilities;
}

7
baselines/webworker.generated.d.ts поставляемый
Просмотреть файл

@ -2277,6 +2277,11 @@ interface NavigatorLanguage {
readonly languages: ReadonlyArray<string>;
}
/** Available only in secure contexts. */
interface NavigatorLocks {
readonly locks: LockManager;
}
interface NavigatorNetworkInformation {
readonly connection: NetworkInformation;
}
@ -5351,7 +5356,7 @@ declare var WorkerLocation: {
};
/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorNetworkInformation, NavigatorOnLine, NavigatorStorage {
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorNetworkInformation, NavigatorOnLine, NavigatorStorage {
readonly mediaCapabilities: MediaCapabilities;
}

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

@ -78,7 +78,6 @@
"NavigatorDeviceMemory",
"NavigatorFonts",
"NavigatorGPU",
"NavigatorLocks",
"NavigatorML",
"NavigatorUA"
]
@ -180,7 +179,6 @@
"NavigatorDeviceMemory",
"NavigatorFonts",
"NavigatorGPU",
"NavigatorLocks",
"NavigatorML",
"NavigatorUA"
]