Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more Caniuse keys #2476

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add caniuse matches
  • Loading branch information
jamesnw committed Dec 19, 2024
commit 821b7dcb0d60952e5b312af7985bd269c8fdad59
1 change: 1 addition & 0 deletions features/ambient-light.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Ambient light sensor
description: The `AmbientLightSensor` interface returns the current light level in lux of the ambient light level around the device.
spec: https://w3c.github.io/ambient-light/
caniuse: ambient-light
group: sensors
compat_features:
- api.AmbientLightSensor
Expand Down
1 change: 1 addition & 0 deletions features/array-includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description: The `includes()` method of arrays and typed arrays returns whether
spec:
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.includes
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.includes
caniuse: array-includes
snapshot: ecmascript-2016
group:
- arrays
Expand Down
1 change: 1 addition & 0 deletions features/beacons.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Beacons
description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request with a limited amount of data, typically for app state, events, and analytics data. The one-way beacon is guaranteed to be initiated before the browser unloads the page, but the sender does not get to handle the response.
spec: https://w3c.github.io/beacon/
caniuse: beacon
compat_features:
- api.Navigator.sendBeacon
1 change: 1 addition & 0 deletions features/ch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ name: ch unit
description: The `ch` CSS length unit is a font-relative length based on the width of the zero (0) character.
spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths
group: units
caniuse: ch-unit
compat_features:
- css.types.length.ch
1 change: 1 addition & 0 deletions features/console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Console
description: The `console` API logs debugging messages to the browser development tools' console.
spec: https://console.spec.whatwg.org/#console-namespace
group: html-elements
caniuse: console-basic
status:
compute_from: api.console
compat_features:
Expand Down
1 change: 1 addition & 0 deletions features/cors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CORS
description: Cross-Origin Resource Sharing is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. Also known as CORS.
spec: https://fetch.spec.whatwg.org/#http-cors-protocol
group: security
caniuse: cors
status:
compute_from: http.headers.Access-Control-Allow-Origin
compat_features:
Expand Down