diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 96535b5a9..6a016d5da 100644 --- a/baselines/dom.generated.d.ts +++ b/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; } +/** Available only in secure contexts. */ +interface NavigatorLocks { + readonly locks: LockManager; +} + interface NavigatorNetworkInformation { readonly connection: NetworkInformation; } diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index 85f7c21e8..93bd3c8ca 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -2202,6 +2202,11 @@ interface NavigatorLanguage { readonly languages: ReadonlyArray; } +/** 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; } diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index b4eb7153d..512830d97 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -2121,6 +2121,11 @@ interface NavigatorLanguage { readonly languages: ReadonlyArray; } +/** 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; } diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 7d7bf6bff..8d4aa1978 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -2277,6 +2277,11 @@ interface NavigatorLanguage { readonly languages: ReadonlyArray; } +/** 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; } diff --git a/inputfiles/removedTypes.jsonc b/inputfiles/removedTypes.jsonc index 5ea257bd8..3d1279780 100644 --- a/inputfiles/removedTypes.jsonc +++ b/inputfiles/removedTypes.jsonc @@ -78,7 +78,6 @@ "NavigatorDeviceMemory", "NavigatorFonts", "NavigatorGPU", - "NavigatorLocks", "NavigatorML", "NavigatorUA" ] @@ -180,7 +179,6 @@ "NavigatorDeviceMemory", "NavigatorFonts", "NavigatorGPU", - "NavigatorLocks", "NavigatorML", "NavigatorUA" ]