Re: hasFeature()

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