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

Stringifier attributes vs methods are treated differently #1656

Open
tabatkins opened this issue Apr 26, 2020 · 1 comment
Open

Stringifier attributes vs methods are treated differently #1656

tabatkins opened this issue Apr 26, 2020 · 1 comment
Labels

Comments

@tabatkins
Copy link
Collaborator

In whatwg/url#288 (comment), Anne said:

@tabatkins so the weird thing is that in stringifier attribute USVString href; href is seen as an attribute but in stringifier USVString toJSON () toJSON() is seen as a stringifier instead of a method. Why is that?

@tabatkins tabatkins added the bug label Apr 26, 2020
@annevk
Copy link
Collaborator

annevk commented Dec 9, 2022

It would be nice to make some progress here although I suppose one solution might be to remove toJSON() for now.

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

No branches or pull requests

2 participants