Re: [dom] Change DOMTokenList's add() return value. (#114)

> We cannot pretend to predict the future, so some kind of a feature detection for having supported tokens is needed. Either a new interface, or a hasSupportedTokens attribute and a supports method on DOMTokenList (I think I prefer the attribute and method approach).

This just seems wrong. No feature detection for having supported tokens is needed. We can easily decide which DOMTokenLists have supported tokens once and for all and never have to worry about "feature detection for having supported tokens".

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/114#issuecomment-159920017

Received on Thursday, 26 November 2015 13:47:45 UTC