Re: hasFeature()

"Tab Atkins Jr." <[email protected]>
Newsgroups gmane.comp.web.dom.general,gmane.comp.web.svg
Message-ID <CAAWBYDBZ=MkhfPOkCgBK8t1bTzVkscjFFqwzQ0YWmyyVQ9rB3g@mail.gmail.com>
On Tue, Sep 16, 2014 at 11:11 AM, Anne van Kesteren <[email protected]> wrote:
> On Tue, Sep 16, 2014 at 8:04 PM, Stephen Chenney <[email protected]> wrote:
>> I took another look at the usage data now that it has been in Chrome for a
>> while.
>>
>> hasFeature appears in just over 4% of page views (higher than the initial
>> estimates) but it returns false only 0.0036% of the time.
>>
>> It seems to me that it is entirely safe to remove this from the spec and
>> have it always return true during some deprecation period.
>
> https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature still
> requires that. Hopefully the change sticks this time and we can call
> it a day :-)

That's definitely within Blink's "acceptable to kill" range, so it
seems likely to me that it'll be okay to just have it as a useless
always-returning-true wart.

~TJ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.