File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 240
240
[Exposed=Window, SecureContext]
241
241
interface DigitalCredential : Credential {
242
242
readonly attribute DOMString protocol;
243
- readonly attribute any data;
243
+ readonly attribute object data;
244
244
};
245
245
</ pre >
246
246
< p >
@@ -261,22 +261,10 @@ <h3>
261
261
< h3 >
262
262
The `data` member
263
263
</ h3 >
264
- < aside class ="issue " title ="Why the 'any' data type? ">
265
- < p >
266
- We are currently exploring the use of a more structured data type for
267
- the `data` attribute as we attempt to understand the requirements of
268
- various digital credential formats and protocols. < strong > We expect
269
- this data type to change in the very near future.</ strong >
270
- </ p >
271
- < p >
272
- We are also investigating how [[[webauthn]]] deals with this. See
273
- < a href ="https://github.com/WICG/digital-identities/issues/95 "> issue
274
- #95</ a > .
275
- </ p >
276
- </ aside >
277
264
< p >
278
265
The < dfn data-dfn-for ="DigitalCredential "> data</ dfn > member is the
279
- credential's response data.
266
+ credential's response data. It contains the subset of JSON-parseable
267
+ object types.
280
268
</ p >
281
269
< h3 >
282
270
[[\DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors)
You can’t perform that action at this time.
0 commit comments