Skip to content

Commit 8300b5c

Browse files
committed
Reverting updates to the algorithms
1 parent deaa4c6 commit 8300b5c

File tree

1 file changed

+17
-49
lines changed

1 file changed

+17
-49
lines changed

index.html

Lines changed: 17 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -856,22 +856,6 @@ <h3>
856856
</li>
857857
</ol>
858858
</li>
859-
<li>If the session's [=next wallet behavior=] is set:
860-
<ol>
861-
<li>If the mode is "respond", resolve the promise with a new
862-
`DigitalCredential` object whose `data` member is set to the stored
863-
`data`.
864-
</li>
865-
<li>If the mode is "wait", the promise never resolves.
866-
</li>
867-
<li>If the mode is "decline", reject the promise with a
868-
"NotAllowedError" `DOMException`.
869-
</li>
870-
</ol>
871-
</li>
872-
<li>Otherwise (if [=next wallet behavior=] is not set), proceed with the
873-
normal user-interactive flow to select and use a digital credential.
874-
</li>
875859
<li>
876860
<aside class="issue">
877861
Details of how to actually get the [=digital credential=] are
@@ -933,22 +917,6 @@ <h3>
933917
</li>
934918
</ol>
935919
</li>
936-
<li>If the session's [=next wallet behavior=] is set:
937-
<ol>
938-
<li>If the mode is "respond", resolve the promise with a new
939-
`DigitalCredential` object whose `data` member is set to the stored
940-
`data`.
941-
</li>
942-
<li>If the mode is "wait", the promise never resolves.
943-
</li>
944-
<li>If the mode is "decline", reject the promise with a
945-
"NotAllowedError" `DOMException`.
946-
</li>
947-
</ol>
948-
</li>
949-
<li>Otherwise (if [=next wallet behavior=] is not set), proceed with the
950-
normal user-interactive flow to select and use a digital credential.
951-
</li>
952920
<li>
953921
<aside class="issue">
954922
Details of how to actually issue the [=digital credential=] are
@@ -2212,7 +2180,7 @@ <h3>
22122180
Virtual Wallet Support
22132181
</td>
22142182
<td>
2215-
<code>digital-credentials:virtualWallet</code>
2183+
`digital-credentials:virtualWallet`
22162184
</td>
22172185
<td>
22182186
[=boolean=]
@@ -2227,26 +2195,26 @@ <h3>
22272195
<p>
22282196
When <a data-cite="webdriver#dfn-validate-capabilities">validating
22292197
capabilities</a>, the extension-specific substeps to validate
2230-
<code>digital-credentials:virtualWallet</code> with
2231-
<code>value</code> are the following:
2198+
`digital-credentials:virtualWallet` with
2199+
`value` are the following:
22322200
</p>
22332201
<ol class="algorithm">
2234-
<li>If <code>value</code> is not a [=boolean=], return a
2202+
<li>If `value` is not a [=boolean=], return a
22352203
[=error|WebDriver error=] with a [=error code|WebDriver error code=]
22362204
[=invalid argument=].
22372205
</li>
2238-
<li>Otherwise, let <code>deserialized</code> be set to
2239-
<code>value</code>.
2206+
<li>Otherwise, let `deserialized` be set to
2207+
`value`.
22402208
</li>
22412209
</ol>
22422210
<p>
22432211
When <a data-cite="webdriver#dfn-matching-capabilities">matching
22442212
capabilities</a>, the extension-specific steps to match
2245-
<code>digital-credentials:virtualWallet</code> with
2246-
<code>value</code> are the following:
2213+
`digital-credentials:virtualWallet` with
2214+
`value` are the following:
22472215
</p>
22482216
<ol class="algorithm">
2249-
<li>If <code>value</code> is <code>true</code> and the
2217+
<li>If `value</code> is <code>true` and the
22502218
<a data-cite="webdriver#dfn-endpoint-node">endpoint node</a> does
22512219
not support any of the Virtual Wallet commands, the match is
22522220
unsuccessful.
@@ -2263,8 +2231,8 @@ <h3>
22632231
The following commands allow controlling the behavior of a virtual
22642232
wallet for testing purposes. These commands affect the <dfn>next
22652233
wallet behavior</dfn> of the next
2266-
<code>navigator.credentials.get({digital: ...})</code> or
2267-
<code>navigator.credentials.create({digital: ...})</code> call.
2234+
`navigator.credentials.get({digital: ...})` or
2235+
`navigator.credentials.create({digital: ...})` call.
22682236
</p>
22692237
<section id="set-wallet-response">
22702238
<h4>
@@ -2289,7 +2257,7 @@ <h4>
22892257
<tbody>
22902258
<tr>
22912259
<td>
2292-
<code>POST</code>
2260+
`POST`
22932261
</td>
22942262
<td>
22952263
<code>/session/{session
@@ -2319,7 +2287,7 @@ <h4>
23192287
<tbody>
23202288
<tr>
23212289
<td>
2322-
<code>data</code>
2290+
`data`
23232291
</td>
23242292
<td>
23252293
string
@@ -2334,9 +2302,9 @@ <h4>
23342302
The [=remote end steps=] are:
23352303
</p>
23362304
<ol class="algorithm">
2337-
<li>If <code>parameters</code> is not a JSON <a data-cite=
2305+
<li>If `parameters` is not a JSON <a data-cite=
23382306
"webdriver#dfn-object">Object</a>, or if it does not contain a
2339-
<code>data</code> property of type string, return a
2307+
`data` property of type string, return a
23402308
[=error|WebDriver error=] with [=error code|WebDriver error code=]
23412309
[=invalid argument=].
23422310
</li>
@@ -2370,7 +2338,7 @@ <h4>
23702338
<tbody>
23712339
<tr>
23722340
<td>
2373-
<code>POST</code>
2341+
`POST`
23742342
</td>
23752343
<td>
23762344
<code>/session/{session
@@ -2413,7 +2381,7 @@ <h4>
24132381
<tbody>
24142382
<tr>
24152383
<td>
2416-
<code>POST</code>
2384+
`POST`
24172385
</td>
24182386
<td>
24192387
<code>/session/{session

0 commit comments

Comments
 (0)