Skip to content

Commit

Permalink
Add the device memory api
Browse files Browse the repository at this point in the history
  • Loading branch information
autonome committed Dec 18, 2024
1 parent 41f8c6e commit 2e743fd
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
7 changes: 7 additions & 0 deletions features/device-memory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Device memory
description: The `Navigator.deviceMemory` API exposes the approximate amount of device memory available, in gigabytes.
spec: https://www.w3.org/TR/device-memory/
compat_features:
- api.Navigator.deviceMemory
- api.WorkerNavigator.deviceMemory
- http.headers.Device-Memory
31 changes: 31 additions & 0 deletions features/device-memory.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated from: device-memory.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "65"
chrome_android: "65"
edge: "79"
compat_features:
# baseline: false
# support:
# chrome: "61"
# chrome_android: "61"
# edge: ≤79
- http.headers.Device-Memory

# baseline: false
# support:
# chrome: "63"
# chrome_android: "63"
# edge: "79"
- api.Navigator.deviceMemory

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "65"
# chrome_android: "65"
# edge: "79"
- api.WorkerNavigator.deviceMemory

0 comments on commit 2e743fd

Please sign in to comment.