Skip to content

Commit 2173cf9

Browse files
samuelgotoSam Goto
andauthored
Address issue #119 (#141)
Co-authored-by: Sam Goto <goto@chromium.org>
1 parent 4a4a43b commit 2173cf9

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

index.html

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ <h2>
240240
[Exposed=Window, SecureContext]
241241
interface DigitalCredential : Credential {
242242
readonly attribute DOMString protocol;
243-
readonly attribute any data;
243+
readonly attribute object data;
244244
};
245245
</pre>
246246
<p>
@@ -261,22 +261,10 @@ <h3>
261261
<h3>
262262
The `data` member
263263
</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>
277264
<p>
278265
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.
280268
</p>
281269
<h3>
282270
[[\DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors)

0 commit comments

Comments
 (0)