diff --git a/features/compute-pressure.yml b/features/compute-pressure.yml index a4818e2201d..8cca4c73b02 100644 --- a/features/compute-pressure.yml +++ b/features/compute-pressure.yml @@ -1,3 +1,4 @@ name: CPU compute pressure description: The `PressureObserver` API monitors CPU load, allowing you to adjust workloads in response to available computing resources. Also known as the Compute Pressure API. spec: https://w3c.github.io/compute-pressure/ +group: compute-pressure diff --git a/features/draft/spec/compute-pressure.yml b/features/draft/spec/compute-pressure.yml deleted file mode 100644 index 41f954883fb..00000000000 --- a/features/draft/spec/compute-pressure.yml +++ /dev/null @@ -1,25 +0,0 @@ -draft_date: 2024-09-09 -name: Compute Pressure Level 1 -description: TODO -spec: https://w3c.github.io/compute-pressure/ -compat_features: - - webdriver.commands.CreateVirtualPressureSource - - webdriver.commands.DeleteVirtualPressureSource - - webdriver.commands.UpdateVirtualPressureSource - -# The following features in the spec are already part of web-features: -# - CPU compute pressure: -# - api.Permissions.permission_compute-pressure -# - api.PressureObserver -# - api.PressureObserver.PressureObserver -# - api.PressureObserver.disconnect -# - api.PressureObserver.knownSources_static -# - api.PressureObserver.observe -# - api.PressureObserver.takeRecords -# - api.PressureObserver.unobserve -# - api.PressureRecord -# - api.PressureRecord.source -# - api.PressureRecord.state -# - api.PressureRecord.time -# - api.PressureRecord.toJSON -# - http.headers.Permissions-Policy.compute-pressure diff --git a/features/virtual-pressure-sources.yml b/features/virtual-pressure-sources.yml new file mode 100644 index 00000000000..dfd406b86f0 --- /dev/null +++ b/features/virtual-pressure-sources.yml @@ -0,0 +1,10 @@ +name: Virtual pressure sources +description: The `CreateVirtualPressureSource` WebDriver command creates artificial sources of compute pressure for testing without the need real device sources of compute pressure. +spec: https://w3c.github.io/compute-pressure/ +group: + - compute-pressure + - webdriver +compat_features: + - webdriver.commands.CreateVirtualPressureSource + - webdriver.commands.DeleteVirtualPressureSource + - webdriver.commands.UpdateVirtualPressureSource diff --git a/features/draft/spec/compute-pressure.yml.dist b/features/virtual-pressure-sources.yml.dist similarity index 87% rename from features/draft/spec/compute-pressure.yml.dist rename to features/virtual-pressure-sources.yml.dist index e02d219f4e7..a7ad6b63d03 100644 --- a/features/draft/spec/compute-pressure.yml.dist +++ b/features/virtual-pressure-sources.yml.dist @@ -1,4 +1,4 @@ -# Generated from: compute-pressure.yml +# Generated from: virtual-pressure-sources.yml # Do not edit this file by hand. Edit the source file instead! status: diff --git a/features/draft/webdriver-sensors.yml b/features/virtual-sensors.yml similarity index 51% rename from features/draft/webdriver-sensors.yml rename to features/virtual-sensors.yml index 00e87266c55..d1c85ab69f2 100644 --- a/features/draft/webdriver-sensors.yml +++ b/features/virtual-sensors.yml @@ -1,6 +1,5 @@ -draft_date: 2024-08-27 -name: WebDriver Sensors -description: WebDriver Sensors are WebDriver extension commands for creating, deleting, getting, and setting readings for virtual sensors (sensors that do not depend on underlying hardware or operating system support). +name: Virtual sensors +description: The `CreateVirtualSensor` WebDriver command creates a virtual sensor for testing applications that use sensor APIs, without the need for real device sensors. spec: https://w3c.github.io/sensors/#automation group: - sensors diff --git a/features/draft/webdriver-sensors.yml.dist b/features/virtual-sensors.yml.dist similarity index 90% rename from features/draft/webdriver-sensors.yml.dist rename to features/virtual-sensors.yml.dist index 117830e5143..fa68a0776f3 100644 --- a/features/draft/webdriver-sensors.yml.dist +++ b/features/virtual-sensors.yml.dist @@ -1,4 +1,4 @@ -# Generated from: webdriver-sensors.yml +# Generated from: virtual-sensors.yml # Do not edit this file by hand. Edit the source file instead! status: diff --git a/groups/compute-pressure.yml b/groups/compute-pressure.yml new file mode 100644 index 00000000000..6e3ef1f5d6a --- /dev/null +++ b/groups/compute-pressure.yml @@ -0,0 +1 @@ +name: Compute pressure