[Bug 23532] Dealing with undefined

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23532

--- Comment #20 from Domenic Denicola <domenic@domenicdenicola.com> ---
> Clearly at least Domenic disagrees...  but yes, that would be the sane approach to API design.

I'm sorry if I've given any impression to the contrary. I thought we were
discussing WebIDL rules, not what specific APIs should do. Specific APIs are
constrained by web-compat; nobody is arguing that.

That said, we can still make fixes in the name of increased consistency where
possible, and I'd argue that if setAttribute doesn't throw for undefined, it
should not throw for missing argument. From what I can tell you believe this is
still web compatible?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 23 October 2013 20:33:57 UTC