global system thermals and the central [=processing unit=], also known as the CPU.
Future levels of this specification MAY introduce additional [=source types=].
-
- If a [=virtual pressure source=] exists, the [=supported source types=] is equal to the
- [=source types=] [=map/keys=] in the [=virtual pressure source mapping=] [=ordered map=].
-
enum PressureSource { "thermals", "cpu" };
@@ -1098,10 +1094,10 @@
Data Collection and Delivery
- The data collection steps given |relevantGlobal| as input, is run when
+ The data collection steps given |relevantGlobal| as input, are run when
the |relevantGlobal| associated [=platform collector=] needs to obtain new |data|
for a [=source type=] |source:PressureSource| and are as follows:
@@ -1730,17 +1726,6 @@
yes
-
-
- samples
-
-
- Array of strings
-
-
- yes
-
-
The [=remote end steps=] given |session|, |URL variables| and |parameters| are:
@@ -1760,24 +1745,6 @@
If |sampleInterval| is not an Number, return [=error=] with [=error code|WebDriver error code=] [=invalid argument=].
-
- Let |samples| be the result of invoking
- get a property "samples" from |parameters|.
-
-
- If |samples| is not an Array, return [=error=] with [=error code|WebDriver error code=] [=invalid argument=].
-
-
- For each |sample| in |samples|:
-
-
- If |sample| is not a [=string=] and a valid {{PressureState}}, return [=error=] with [=error code|WebDriver error code=] [=invalid argument=].
-
-
- [=queue/Enqueue=] |sample| to |virtualPressureSource|'s [=pending samples=].
-
-
-
Let |topLevelTraversable| be the current browsing
context's [=browsing context/top-level traversable=].
@@ -1832,8 +1799,8 @@
- This [=extension command=] deletes a given [=source type=] of [=virtual pressure source=] and returns
- pressure source updates back to hardware.
+ This [=extension command=] deletes a given [=source type=] of [=virtual pressure source=], meaning that,
+ if available, data will be delivered the regular way, by non-virtual means.
The [=remote end steps=] given |session|, |URL variables| and |parameters| are:
@@ -1842,6 +1809,9 @@
Let |virtualPressureSourceType| be the value of the |URL variables|["type"].
+
+ If |virtualPressureSourceType| is not a [=valid source type=], return [=error=] with [=error code|WebDriver error code=] [=invalid argument=].
+
Let |topLevelTraversable| be the current browsing
context's [=browsing context/top-level traversable=].
@@ -1850,8 +1820,7 @@
Let |topLevelVirtualPressureSourceMapping| be the |topLevelTraversable|'s [=virtual pressure source mapping=].
- Remove |topLevelVirtualPressureSourceMapping|[|virtualPressureSourceType|] and any data associated with its
- [=virtual pressure source=].
+ [map/Remove] |topLevelVirtualPressureSourceMapping|[|virtualPressureSourceType|].
Return [=success=] with data null.
@@ -1925,7 +1894,7 @@
Let |virtualPressureSourceType| be the value of the |URL variables|["type"].
- If |virtualPressureSourceType| is not a [=string=], return [=error=] with [=error code|WebDriver error code=] [=invalid argument=].
+ If |virtualPressureSourceType| is not a [=valid source type=], return [=error=] with [=error code|WebDriver error code=] [=invalid argument=].