- From: smaug---- <notifications@github.com>
- Date: Fri, 20 Nov 2015 05:41:27 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Friday, 20 November 2015 13:41:57 UTC
So if pages start to use if (link.relList && link.relList.add("preload")) { that breaks preload on browsers which don't have TokenList implementation updated. (because .add returning void is false) This feature feels odd "feature testing" and "actual feature usage" merged together. Not much different to node.isSupported("foo") + using the feature, except that .add() forces one to actually try to use the feature in order to know whether browser claims to support it. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/103#issuecomment-158405803
Received on Friday, 20 November 2015 13:41:57 UTC