W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2014

Re: hasFeature()

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 17 Mar 2014 17:36:05 +0000
Message-ID: <CADnb78iJhDFc_3G=PudEsWDkryQfkiGgOR5fh4QTXKxqvjYkuw@mail.gmail.com>
To: Philip J├Ągenstedt <philipj@opera.com>
Cc: Stephen Chenney <schenney@chromium.org>, www-svg <www-svg@w3.org>, "www-dom@w3.org" <www-dom@w3.org>
On Mon, Mar 17, 2014 at 5:13 PM, Philip J├Ągenstedt <philipj@opera.com> 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/
Received on Monday, 17 March 2014 17:36:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:22 UTC