W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOMCore] Non-nullable objects

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 24 May 2011 10:59:51 +1200
To: Ms2ger <ms2ger@gmail.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <20110523225951.GG18297@wok.mcc.id.au>
> As Cameron has made objects non-nullable by default [1], I've
> updated DOM Core accordingly. [2] I probably got some changes wrong,
> and would appreciate review of this change.

The detail argument of CustomEvent.initCustomEvent() should be

I’m assuming that EventTarget.{add,remove}EventListener need to do
nothing when passed null for their EventListener because existing
content assumes it?  If not, I’d say it doesn’t make sense to allow
null to be passed, and make the type “EventListener”.

The doctype argument to DOMImplementation.createDocument() should be

Looks good otherwise.

Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 23 May 2011 23:00:21 UTC

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