Re: hasFeature()
Anne van Kesteren <[email protected]>
| Newsgroups | gmane.comp.web.dom.general,gmane.comp.web.svg |
|---|---|
| Message-ID | <CADnb78iJhDFc_3G=PudEsWDkryQfkiGgOR5fh4QTXKxqvjYkuw@mail.gmail.com> |
On Mon, Mar 17, 2014 at 5:13 PM, Philip Jägenstedt <[email protected]> wrote: > Cool! For extra points I would also remove all the arguments, since > extra arguments are ignored anyway. WebKit already treats the argument > as optional and returns true for > "document.implementation.hasFeature()" so it ought to be Web > compatible. Yeah, that would mean less throwing but that seems fine. https://github.com/whatwg/dom/commit/19a325fd7a2a5313c9956bc1df20ca1f2499b3c7 -- http://annevankesteren.nl/