Re: hasFeature()
Stephen Chenney <[email protected]>
| Newsgroups | gmane.comp.web.dom.general,gmane.comp.web.svg |
|---|---|
| Message-ID | <CAObCcUrTMbGeUqGtCVZ53X5kvPh_3i9xDy3U+8YF_+=J=r5z9A@mail.gmail.com> |
On Thu, Jan 16, 2014 at 11:10 AM, Philip Jägenstedt <[email protected]>wrote: > On Thu, Jan 16, 2014 at 6:39 PM, Anne van Kesteren <[email protected]> > wrote: > > > > Hey, > > > > http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature has a > > weird lifeline basically for SVG and an open issue related to that > > since it's not exactly clear what the details should be. Is SVG moving > > away from the fantastical feature testing world as well? Should we > > just simply always return true? > > If it would help, I could attempt to add use counters to Blink, get > help determine how often hasFeature() is used, and how often it > returns false. Adding a UseCounter for hasFeature in Blink is non-trivial, but I am getting a patch together for it. In doing so, I noticed that SVGTests relies on the same code, so we will also catch uses of the SVGTests requiredFeatures, requiredExtensions and systemLanguage attributes. Stephen.