Re: [whatwg/webidl] Is a function signature with a parameter type `(DOMString or Interface)` a footgun? (Issue #1604)

annevk left a comment (whatwg/webidl#1604)

I think we should do the inverse although it will be a little bit more involved. Add `[LegacyCoercion]` to all places that perform coercion today. That will make it vastly more likely new APIs will never run into this issue.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1604#issuecomment-5010208532
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1604/5010208532@github.com>

Received on Saturday, 18 July 2026 06:18:01 UTC