Skip to content

Commit

Permalink
Make all WEBDRIVER2 citations normative
Browse files Browse the repository at this point in the history
Usage so far had been inconsistent, with some places using the `!`
syntax for normative references and others not doing so.
  • Loading branch information
rakuco committed Jun 14, 2024
1 parent 16b08cd commit 93c8265
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1951,7 +1951,7 @@ <h2>
predictable ways.
</p>
<p>
To address this challenge this document defines a [[WEBDRIVER2]] [=extension
To address this challenge this document defines a [[!WEBDRIVER2]] [=extension
commands=] that allows defining and controlling virtual pressure sources that behave
like real ones and which can have particular properties and whose readings can be
entirely defined by users.
Expand Down Expand Up @@ -1991,7 +1991,7 @@ <h2>
</p>
<aside class="note">
<p>
As currently specified, the [[WEBDRIVER2]] integration and the
As currently specified, the [[!WEBDRIVER2]] integration and the
[=extension commands=] below do <em>not</em> have an effect on shared
workers.
</p>
Expand Down Expand Up @@ -2094,7 +2094,7 @@ <h4>
<p>
The [=remote end steps=] given |session|, |URL variables| and |parameters| are:
</p>
<ol class="algorithm" data-cite="WEBDRIVER2">
<ol class="algorithm" data-cite="!WEBDRIVER2">
<li>
Let |virtualPressureSourceType| be the result of invoking
<a data-cite="!WEBDRIVER2#dfn-getting-properties">get a property</a> "type" from |parameters|.
Expand All @@ -2105,7 +2105,7 @@ <h4>
[=error code|WebDriver error code=] [=invalid argument=].
</li>
<li>
Let |topLevelTraversable| be the <a data-cite="webdriver2/#dfn-current-browsing-context">current browsing
Let |topLevelTraversable| be the <a data-cite="!webdriver2/#dfn-current-browsing-context">current browsing
context</a>'s [=browsing context/top-level traversable=].
</li>
<li>
Expand Down Expand Up @@ -2163,7 +2163,7 @@ <h4>
<p>
The [=remote end steps=] given |session|, |URL variables| and |parameters| are:
</p>
<ol class="algorithm" data-cite="WEBDRIVER2">
<ol class="algorithm" data-cite="!WEBDRIVER2">
<li>
Let |virtualPressureSourceType| be the value of the |URL variables|["type"].
</li>
Expand All @@ -2173,7 +2173,7 @@ <h4>
[=error code|WebDriver error code=] [=invalid argument=].
</li>
<li>
Let |topLevelTraversable| be the <a data-cite="webdriver2/#dfn-current-browsing-context">current browsing
Let |topLevelTraversable| be the <a data-cite="!webdriver2/#dfn-current-browsing-context">current browsing
context</a>'s [=browsing context/top-level traversable=].
</li>
<li>
Expand Down Expand Up @@ -2225,12 +2225,12 @@ <h4>
This [=extension command=] allows updating the state of a [=virtual pressure source=] by pushing
a new [=pressure source sample=].
</p>
<aside class="note" data-cite="WEBDRIVER2">
<aside class="note" data-cite="!WEBDRIVER2">
Additionally, the [=extension command=] can be used to check whether a source type is created
via the [[[#create-virtual-pressure-source]]] [=extension command=] by checking the response.
If it has not been created the response will contain the [=error=] with
[=error code|WebDriver error code=]
<a data-cite="webdriver2/#dfn-unsupported-operation">unsupported operation</a>.
<a data-cite="!webdriver2/#dfn-unsupported-operation">unsupported operation</a>.
</aside>
<table class="data">
<caption>
Expand Down Expand Up @@ -2262,7 +2262,7 @@ <h4>
<p>
The [=remote end steps=] given |session|, |URL variables| and |parameters| are:
</p>
<ol class="algorithm" data-cite="WEBDRIVER2">
<ol class="algorithm" data-cite="!WEBDRIVER2">
<li>
Let |virtualPressureSourceType| be the value of the |URL variables|["type"].
</li>
Expand All @@ -2272,7 +2272,7 @@ <h4>
[=error code|WebDriver error code=] [=invalid argument=].
</li>
<li>
Let |topLevelTraversable| be the <a data-cite="webdriver2/#dfn-current-browsing-context">current browsing
Let |topLevelTraversable| be the <a data-cite="!webdriver2/#dfn-current-browsing-context">current browsing
context</a>'s [=browsing context/top-level traversable=].
</li>
<li>
Expand All @@ -2281,7 +2281,7 @@ <h4>
<li>
If |topLevelVirtualPressureSourceMapping| does not [=map/contain=] |virtualPressureSource|,
return [=error=] with [=error code|WebDriver error code=]
<a data-cite="webdriver2/#dfn-unsupported-operation">unsupported operation</a>.
<a data-cite="!webdriver2/#dfn-unsupported-operation">unsupported operation</a>.
</li>
<li>
Let |virtualPressureSource| be |topLevelVirtualPressureSourceMapping|[|virtualPressureSourceType|].
Expand Down

0 comments on commit 93c8265

Please sign in to comment.