Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the [SameObject] attribute from PublicKeyCredential::authenticatorAttachment #1977

Closed
jschanck opened this issue Sep 27, 2023 · 1 comment · Fixed by #1981
Closed

Comments

@jschanck
Copy link

The WebIDL standard says

The [SameObject] extended attribute must not be used on anything other than a read only attribute whose type is an interface type or object.

The authenticatorAttachment field of PublicKeyCredential is a nullable DOMString which is neither an interface type nor an object.

Proposed Change

Remove [SameObject] from

webauthn/index.bs

Line 1524 in baf774a

[SameObject] readonly attribute DOMString? authenticatorAttachment;

@emlun
Copy link
Member

emlun commented Oct 2, 2023

Good catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants