- From: ArkadiuszMichalski <notifications@github.com>
- Date: Sat, 02 Apr 2016 11:07:09 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Saturday, 2 April 2016 18:07:47 UTC
Both this methods don't modificate tokens so probably should have similar behavior when `token` argument has empty string and ASCII whitespace. Currently `contains()` throw (like all other DOMTokenList methods) and `supports()` doesn't throw. So there is two solution: - change `supports()` to throwing, this method is new so compatibility should not be a problem. - change `contains()` to not throwing because in this scenerio it's unnecessary (we don't change tokens) so we get little simplification. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/202
Received on Saturday, 2 April 2016 18:07:47 UTC