@@ -2195,53 +2195,51 @@ <h3>
21952195 < p >
21962196 When < a data-cite ="webdriver#dfn-validate-capabilities "> validating
21972197 capabilities</ a > , the extension-specific substeps to validate
2198- `digital-credentials:virtualWallet` with
2199- `value` are the following:
2198+ `digital-credentials:virtualWallet` with `value` are the following:
22002199 </ p >
22012200 < ol class ="algorithm ">
2202- < li > If `value` is not a [=boolean=], return a
2203- [= error|WebDriver error =] with a [=error code|WebDriver error code=]
2204- [=invalid argument=].
2201+ < li > If `value` is not a [=boolean=], return a [=error|WebDriver
2202+ error=] with a [=error code|WebDriver error code=] [=invalid
2203+ argument=].
22052204 </ li >
2206- < li > Otherwise, let `deserialized` be set to
2207- `value`.
2205+ < li > Otherwise, let `deserialized` be set to `value`.
22082206 </ li >
22092207 </ ol >
22102208 < p >
22112209 When < a data-cite ="webdriver#dfn-matching-capabilities "> matching
22122210 capabilities</ a > , the extension-specific steps to match
2213- `digital-credentials:virtualWallet` with
2214- `value` are the following:
2211+ `digital-credentials:virtualWallet` with `value` are the following:
22152212 </ p >
22162213 < ol class ="algorithm ">
2217- < li > If `value</ code > is < code > true` and the
2218- < a data-cite ="webdriver#dfn-endpoint-node "> endpoint node</ a > does
2219- not support any of the Virtual Wallet commands, the match is
2220- unsuccessful.
2214+ < li > If `value is < code > true` and the < a data-cite =
2215+ "webdriver#dfn-endpoint-node "> endpoint node</ a > does not support any
2216+ of the Virtual Wallet commands, the match is unsuccessful.</ code >
22212217 </ li >
2222- < li > Otherwise, the match is successful.
2218+ < li >
2219+ < code > Otherwise, the match is successful.</ code >
22232220 </ li >
22242221 </ ol >
22252222 </ section >
22262223 < section id ="virtual-wallet-commands ">
22272224 < h3 >
2228- Virtual Wallet Commands
2225+ < code > Virtual Wallet Commands</ code >
22292226 </ h3 >
22302227 < p >
2231- The following commands allow controlling the behavior of a virtual
2232- wallet for testing purposes. These commands affect the < dfn > next
2233- wallet behavior</ dfn > of the next
2228+ < code > The following commands allow controlling the behavior of a
2229+ virtual wallet for testing purposes. These commands affect the
2230+ < dfn > next wallet behavior</ dfn > of the next
22342231 `navigator.credentials.get({digital: ...})` or
2235- `navigator.credentials.create({digital: ...})` call.
2232+ `navigator.credentials.create({digital: ...})` call.</ code >
22362233 </ p >
22372234 < section id ="set-wallet-response ">
22382235 < h4 >
2239- < dfn > Set Wallet Response</ dfn >
2236+ < code > < dfn > Set Wallet Response</ dfn > </ code >
22402237 </ h4 >
22412238 < p >
2242- The [=Set Wallet Response=] [[WebDriver]] [=extension command=]
2243- configures the virtual wallet to respond with a specific data
2244- payload, simulating a user successfully completing the flow.
2239+ < code > The [=Set Wallet Response=] [[WebDriver]] [=extension
2240+ command=] configures the virtual wallet to respond with a specific
2241+ data payload, simulating a user successfully completing the
2242+ flow.</ code >
22452243 </ p >
22462244 < table class ="data ">
22472245 < thead >
@@ -2304,9 +2302,8 @@ <h4>
23042302 < ol class ="algorithm ">
23052303 < li > If `parameters` is not a JSON < a data-cite =
23062304 "webdriver#dfn-object "> Object</ a > , or if it does not contain a
2307- `data` property of type string, return a
2308- [=error|WebDriver error=] with [=error code|WebDriver error code=]
2309- [=invalid argument=].
2305+ `data` property of type string, return a [=error|WebDriver error=]
2306+ with [=error code|WebDriver error code=] [=invalid argument=].
23102307 </ li >
23112308 < li > Set the session's [=next wallet behavior=] to < code > { "mode":
23122309 "respond", "data": parameters.data }</ code > .
0 commit comments