Re: [heycam/webidl] Drop stringifier operation longhand (#941)

I'm a little tempted to keep the spec as is. Though the longhand syntax is not used right now, I like the consistency we currently have between `stringifier` and `getter`/`setter`. Also, without the longhand notation we can't exactly express "this stringifier always returns a USVString", which would be desirable if we make `URL`'s [stringifier](https://url.spec.whatwg.org/#URL-stringification-behavior) an actual operation rather than attribute – though it does look like the spec only allows DOMString return type on long-form stringifiers. Hmm…

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/941#issuecomment-878821652

Received on Tuesday, 13 July 2021 06:41:21 UTC