- From: Boris Zbarsky <notifications@github.com>
- Date: Sun, 22 Nov 2015 06:19:49 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Sunday, 22 November 2015 14:20:19 UTC
Which long term are you thinking of? Note that one issue with the boolean setup that was raised is what happens if a list with no supported tokens changes to one with supported tokens. Suddenly you have no way to trust return values until everyone updates, and you can't even do the `!== undefined` trick. Hence the desire for a tristate return value to start with. But also, what experience we have with the `!== undefined` thing shows that people won't get it right. At least the one person I saw try to handle it so far got it wrong, and that was a browser engineer... --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/114#issuecomment-158762685
Received on Sunday, 22 November 2015 14:20:19 UTC