@@ -43,6 +43,8 @@ Markup Shorthands: css off, markdown on
43
43
spec: ECMAScript; urlPrefix: https://tc39.github.io/ecma262/#
44
44
type: method
45
45
for: JSON; text: stringify; url: sec-json.stringify
46
+ type: dfn
47
+ text: %ArrayBuffer%; url: sec-arraybuffer-constructor
46
48
47
49
<!-- spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/ -->
48
50
spec: HTML52; urlPrefix: https://w3c.github.io/html/
@@ -184,6 +186,9 @@ below and in [[#index-defined-elsewhere]].
184
186
: DOM
185
187
:: {{DOMException}} and the DOMException values used in this specification are defined in [[!DOM4]] .
186
188
189
+ : ECMAScript
190
+ :: [=%ArrayBuffer%=] is defined in [[!ECMAScript]] .
191
+
187
192
: HTML
188
193
:: The concepts of [=relevant settings object=] , [=origin=] ,
189
194
[=opaque origin=] , [=is a registrable domain suffix of or is equal to=] , and the {{Navigator}} interface are
@@ -531,12 +536,12 @@ When this method is invoked, the user agent MUST execute the following algorithm
531
536
<dt> If any |authenticator| indicates success,</dt>
532
537
<dd>
533
538
1. [=set/Remove=] |authenticator| from |issuedRequests|.
534
- 2. Using |global|, let | value| be a new {{ScopedCredentialInfo}} object whose fields are:
539
+ 2. Let | value| be a new {{ScopedCredentialInfo}} object associated with |global| whose fields are:
535
540
: {{ScopedCredentialInfo/clientDataJSON}}
536
- :: A new {{ArrayBuffer}} containing the bytes of |clientDataJSON|.
541
+ :: A new {{ArrayBuffer}} , created using |global|'s [=%ArrayBuffer%=] , containing the bytes of |clientDataJSON|.
537
542
: {{ScopedCredentialInfo/attestationObject}}
538
- :: A new {{ArrayBuffer}} containing the bytes of the value returned from the successful
539
- [=authenticatorMakeCredential=] operation
543
+ :: A new {{ArrayBuffer}} , created using |global|'s [=%ArrayBuffer%=] , containing the bytes of the value returned
544
+ from the successful [=authenticatorMakeCredential=] operation
540
545
3. [=set/For each=] remaining |authenticator| in |issuedRequests| invoke the [=authenticatorCancel=] operation on
541
546
|authenticator| and [=set/remove=] it from |issuedRequests|.
542
547
4. [=Resolve=] |promise| with |value| and terminate this algorithm.
@@ -670,19 +675,22 @@ When this method is invoked, the user agent MUST execute the following algorithm
670
675
<dt> If any |authenticator| indicates success,</dt>
671
676
<dd>
672
677
1. [=set/Remove=] |authenticator| from |issuedRequests|.
673
- 2. Using |global|, let | value| be a new {{AuthenticationAssertion}} object whose fields are:
678
+ 2. Let | value| be a new {{AuthenticationAssertion}} object associated with |global| whose fields are:
674
679
: {{AuthenticationAssertion/credential}}
675
- :: A new {{ScopedCredential}} object whose fields are:
680
+ :: A new {{ScopedCredential}} object associated with |global| whose fields are:
676
681
1. {{ScopedCredential/type}} whose value is the {{ScopedCredentialType}} representing this [=scoped
677
682
credential=] 's type.
678
- 1. {{ScopedCredential/id}} whose value is a new {{ArrayBuffer}} containing the bytes of the credential ID
679
- returned from the successful [=authenticatorGetAssertion=] operation.
683
+ 1. {{ScopedCredential/id}} whose value is a new {{ArrayBuffer}} , created using |global|'s [=%ArrayBuffer%=] ,
684
+ containing the bytes of the credential ID returned from the successful [=authenticatorGetAssertion=]
685
+ operation.
680
686
: {{AuthenticationAssertion/clientDataJSON}}
681
- :: A new {{ArrayBuffer}} containing the bytes of |clientDataJSON|
687
+ :: A new {{ArrayBuffer}} , created using |global|'s [=%ArrayBuffer%=] , containing the bytes of |clientDataJSON|
682
688
: {{AuthenticationAssertion/authenticatorData}}
683
- :: A new {{ArrayBuffer}} containing the bytes of the returned {{authenticatorData}}
689
+ :: A new {{ArrayBuffer}} , created using |global|'s [=%ArrayBuffer%=] , containing the bytes of the returned
690
+ {{authenticatorData}}
684
691
: {{AuthenticationAssertion/signature}}
685
- :: A new {{ArrayBuffer}} containing the bytes of the returned {{signature}}
692
+ :: A new {{ArrayBuffer}} , created using |global|'s [=%ArrayBuffer%=] , containing the bytes of the returned
693
+ {{signature}}
686
694
3. [=set/For each=] remaining |authenticator| in |issuedRequests| invoke the [=authenticatorCancel=] operation on
687
695
|authenticator| and [=set/remove=] it from |issuedRequests|.
688
696
4. [=Resolve=] |promise| with |value| and terminate this algorithm.
0 commit comments