{"action":"closed","issue":{"url":"https://api.github.com/repos/whatwg/dom/issues/111","labels_url":"https://api.github.com/repos/whatwg/dom/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/111/comments","events_url":"https://api.github.com/repos/whatwg/dom/issues/111/events","html_url":"https://github.com/whatwg/dom/issues/111","id":118012286,"number":111,"title":"Let DOMTokenList.prototype.add() return false if there are no supported tokens","user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-20T10:39:30Z","updated_at":"2015-12-15T10:42:15Z","closed_at":"2015-12-15T10:42:15Z","body":"This is to deal with an issue raised on blink-dev, discussed briefly on IRC:\r\nhttps://groups.google.com/a/chromium.org/d/msg/blink-dev/xEoWkGEd_g4/ybkKf0GyAwAJ\r\nhttp://krijnhoetmer.nl/irc-logs/whatwg/20151120#l-239\r\n\r\nTo summarize, it would be really bad if an attribute that currently isn't defined in terms of supported tokens is later \"upgraded\" to something like the rel attribute. Then it would be harder to reliably detect that a token is *really* supported, one might have to resort to e.g. `supported = !list.add('tokenthatwillneverbesupported') && list.add('tokentotest')` plus `list.remove('tokenthatwillneverbesupported')` as cleanup."}}