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)

It is, `XMLHttpRequest`'s `send()` has this problem as well.

Perhaps we should make the coercion fallback explicit and opt new APIs out of it. But also in this case I think there's only one shipping implementation so maybe we can still change the shape of the API?

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

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

Received on Monday, 15 June 2026 11:20:09 UTC