Skip to content

Commit

Permalink
Synchronize with BCD v5.5.18
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Mar 30, 2024
1 parent e80268c commit 7b84afd
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 49 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/gpucommandencoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ A `GPUCommandEncoder` object instance is created via the {{domxref("GPUDevice.cr

- {{domxref("GPUCommandEncoder.resolveQuerySet", "resolveQuerySet()")}} {{Experimental_Inline}}
- : Encodes a command that resolves a {{domxref("GPUQuerySet")}}, copying the results into a specified {{domxref("GPUBuffer")}}.
- {{domxref("GPUCommandEncoder.writeTimestamp", "writeTimestamp()")}} {{Experimental_Inline}}
- {{domxref("GPUCommandEncoder.writeTimestamp", "writeTimestamp()")}} {{deprecated_inline}}
- : Encodes a command that writes a timestamp into a {{domxref("GPUQuerySet")}} once the previous commands recorded into the same queued {{domxref("GPUCommandBuffer")}} have been executed by the GPU.

## Examples
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/gpucommandencoder/writetimestamp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ short-title: writeTimestamp()
slug: Web/API/GPUCommandEncoder/writeTimestamp
page-type: web-api-instance-method
status:
- experimental
- deprecated
browser-compat: api.GPUCommandEncoder.writeTimestamp
---

{{APIRef("WebGPU API")}}{{SeeCompatTable}}
{{APIRef("WebGPU API")}}{{deprecated_header}}

The **`writeTimestamp()`** method of the
{{domxref("GPUCommandEncoder")}} interface encodes a command that writes a timestamp into a {{domxref("GPUQuerySet")}} once the previous commands recorded into the same queued {{domxref("GPUCommandBuffer")}} have been executed by the GPU.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/navigator/connection/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "Navigator: connection property"
short-title: connection
slug: Web/API/Navigator/connection
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.Navigator.connection
---

{{APIRef("Network Information API")}}{{SeeCompatTable}}
{{APIRef("Network Information API")}}

The **`connection`** read-only property of the {{domxref("Navigator")}} interface returns a {{domxref("NetworkInformation")}} object containing information about the system's connection, such as the current bandwidth of the user's device or whether the connection is metered.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ _Doesn't inherit any properties._
- : Returns a {{domxref("Bluetooth")}} object for the current document, providing access to [Web Bluetooth API](/en-US/docs/Web/API/Web_Bluetooth_API) functionality.
- {{domxref("Navigator.clipboard")}} {{ReadOnlyInline}} {{securecontext_inline}}
- : Returns a {{domxref("Clipboard")}} object that provides read and write access to the system clipboard.
- {{domxref("Navigator.connection")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("Navigator.connection")}} {{ReadOnlyInline}}
- : Returns a {{domxref("NetworkInformation")}} object containing information about the network connection of a device.
- {{domxref("Navigator.contacts")}} {{ReadOnlyInline}} {{Experimental_Inline}} {{SecureContext_Inline}}
- : Returns a {{domxref('ContactsManager')}} interface which allows users to select entries from their contact list and share limited details of the selected entries with a website or application.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/network_information_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
title: Network Information API
slug: Web/API/Network_Information_API
page-type: web-api-overview
status:
- experimental
browser-compat:
- api.NetworkInformation
- api.Navigator.connection
spec-urls: https://wicg.github.io/netinfo/
---

{{DefaultAPISidebar("Network Information API")}}{{SeeCompatTable}} {{AvailableInWorkers}}
{{DefaultAPISidebar("Network Information API")}} {{AvailableInWorkers}}

The **Network Information API** provides information about the system's connection in terms of general connection type (e.g., 'wifi, 'cellular', etc.).
This can be used to select high definition content or low definition content based on the user's connection.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/networkinformation/change_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "NetworkInformation: change event"
short-title: change
slug: Web/API/NetworkInformation/change_event
page-type: web-api-event
status:
- experimental
browser-compat: api.NetworkInformation.change_event
---

{{apiref("Network Information API")}}{{SeeCompatTable}}
{{apiref("Network Information API")}}

The **`change`** event of the {{domxref("NetworkInformation")}} interface fires when connection information changes, and the event is received by the {{domxref("NetworkInformation")}} object.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/networkinformation/downlink/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "NetworkInformation: downlink property"
short-title: downlink
slug: Web/API/NetworkInformation/downlink
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.NetworkInformation.downlink
---

{{SeeCompatTable}}{{APIRef("Network Information API")}}
{{APIRef("Network Information API")}}

The **`downlink`** read-only property of the
{{domxref("NetworkInformation")}} interface returns the effective bandwidth estimate in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "NetworkInformation: effectiveType property"
short-title: effectiveType
slug: Web/API/NetworkInformation/effectiveType
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.NetworkInformation.effectiveType
---

{{SeeCompatTable}}{{APIRef("Network Information API")}}
{{APIRef("Network Information API")}}

The **`effectiveType`** read-only property of the
{{domxref("NetworkInformation")}} interface returns the effective type of the connection
Expand Down
14 changes: 6 additions & 8 deletions files/en-us/web/api/networkinformation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
title: NetworkInformation
slug: Web/API/NetworkInformation
page-type: web-api-interface
status:
- experimental
browser-compat: api.NetworkInformation
---

{{APIRef("Network Information API")}}{{SeeCompatTable}} {{AvailableInWorkers}}
{{APIRef("Network Information API")}} {{AvailableInWorkers}}

The **`NetworkInformation`** interface of the [Network Information API](/en-US/docs/Web/API/Network_Information_API) provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes.
The `NetworkInformation` interface cannot be instantiated. It is instead accessed through the `connection` property of the {{domxref("Navigator")}} interface or the {{domxref("WorkerNavigator")}} interface.
Expand All @@ -18,15 +16,15 @@ The `NetworkInformation` interface cannot be instantiated. It is instead accesse

_This interface also inherits properties of its parent, {{domxref("EventTarget")}}._

- {{domxref("NetworkInformation.downlink")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("NetworkInformation.downlink")}} {{ReadOnlyInline}}
- : Returns the effective bandwidth estimate in megabits per second, rounded to the nearest multiple of 25 kilobits per seconds.
- {{domxref("NetworkInformation.downlinkMax")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : Returns the maximum downlink speed, in megabits per second (Mbps), for the underlying connection technology.
- {{domxref("NetworkInformation.effectiveType")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("NetworkInformation.effectiveType")}} {{ReadOnlyInline}}
- : Returns the effective type of the connection meaning one of 'slow-2g', '2g', '3g', or '4g'. This value is determined using a combination of recently observed round-trip time and downlink values.
- {{domxref("NetworkInformation.rtt")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("NetworkInformation.rtt")}} {{ReadOnlyInline}}
- : Returns the estimated effective round-trip time of the current connection, rounded to the nearest multiple of 25 milliseconds.
- {{domxref("NetworkInformation.saveData")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("NetworkInformation.saveData")}} {{ReadOnlyInline}}
- : Returns `true` if the user has set a reduced data usage option on the user agent.
- {{domxref("NetworkInformation.type")}} {{ReadOnlyInline}} {{Experimental_Inline}}

Expand All @@ -47,7 +45,7 @@ _This interface also inherits methods of its parent, {{domxref("EventTarget")}}.

## Events

- {{domxref("NetworkInformation.change_event", "change")}} {{Experimental_Inline}}
- {{domxref("NetworkInformation.change_event", "change")}}
- : The event that's fired when connection information changes.

## Specifications
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/networkinformation/rtt/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "NetworkInformation: rtt property"
short-title: rtt
slug: Web/API/NetworkInformation/rtt
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.NetworkInformation.rtt
---

{{apiref("Network Information API")}}{{SeeCompatTable}} {{AvailableInWorkers}}
{{apiref("Network Information API")}} {{AvailableInWorkers}}

The **`rtt`** read-only property of the {{domxref("NetworkInformation")}} interface returns the estimated effective round-trip time of the current connection, rounded to the nearest multiple of 25 milliseconds.
This value is based on recently observed application-layer RTT measurements across recently active connections.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/networkinformation/savedata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "NetworkInformation: saveData property"
short-title: saveData
slug: Web/API/NetworkInformation/saveData
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.NetworkInformation.saveData
---

{{APIRef("Network Information API")}}{{SeeCompatTable}}
{{APIRef("Network Information API")}}

The **`saveData`** read-only
property of the {{domxref("NetworkInformation")}} interface returns `true` if the user has set a reduced data usage option on the user agent.
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/syncevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ This interface inherits from the {{domxref("ExtendableEvent")}} interface.

_Inherits properties from its parent, {{domxref("ExtendableEvent")}} and {{domxref("Event")}}_.

- {{domxref("SyncEvent.tag")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("SyncEvent.tag")}} {{ReadOnlyInline}}
- : Returns the developer-defined identifier for this `SyncEvent`.
- {{domxref("SyncEvent.lastChance")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("SyncEvent.lastChance")}} {{ReadOnlyInline}}
- : Returns `true` if the user agent will not make further synchronization attempts after the current attempt.

## Instance methods
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/syncevent/lastchance/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "SyncEvent: lastChance property"
short-title: lastChance
slug: Web/API/SyncEvent/lastChance
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.SyncEvent.lastChance
---

{{APIRef("Background Sync")}}{{SeeCompatTable}}
{{APIRef("Background Sync")}}

The **`lastChance`** read-only property of the
{{domxref("SyncEvent")}} interface returns `true` if the user agent will not
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/syncevent/tag/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "SyncEvent: tag property"
short-title: tag
slug: Web/API/SyncEvent/tag
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.SyncEvent.tag
---

{{APIRef("Background Sync")}}{{SeeCompatTable}}
{{APIRef("Background Sync")}}

The **`tag`** read-only property of the
{{domxref("SyncEvent")}} interface returns the developer-defined identifier for
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/syncmanager/gettags/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "SyncManager: getTags() method"
short-title: getTags()
slug: Web/API/SyncManager/getTags
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.SyncManager.getTags
---

{{APIRef("Background Sync")}}{{SeeCompatTable}}
{{APIRef("Background Sync")}}

The **`getTags()`** method of the
{{domxref("SyncManager")}} interface returns a list of developer-defined identifiers for
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/syncmanager/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ None.

## Instance methods

- {{domxref("SyncManager.register()")}} {{Experimental_Inline}}
- {{domxref("SyncManager.register()")}}
- : Create a new sync registration and return a {{jsxref("Promise")}}.
- {{domxref("SyncManager.getTags()")}} {{Experimental_Inline}}
- {{domxref("SyncManager.getTags()")}}
- : Return a list of developer-defined identifiers for `SyncManager` registrations.

## Specifications
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/syncmanager/register/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "SyncManager: register() method"
short-title: register()
slug: Web/API/SyncManager/register
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.SyncManager.register
---

{{APIRef("Background Sync")}}{{SeeCompatTable}}
{{APIRef("Background Sync")}}

The **`register()`** method of the {{domxref("SyncManager")}} interface registers a synchronization event, triggering a {{domxref("ServiceWorkerGlobalScope.sync_event", "sync")}} event inside the associated service worker as soon as network connectivity is available.

Expand Down

0 comments on commit 7b84afd

Please sign in to comment.