W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2006

Re: appendChild exception missing from standard

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 06 Oct 2006 13:26:20 +0200
To: "Hallvord R. M. Steen" <hallvord@opera.com>
Cc: www-dom@w3.org
Message-ID: <steci2ho9ak9pq40g3k8o5fr31qqqnofbo@hive.bjoern.hoehrmann.de>

* Hallvord R. M. Steen wrote:
>doesn't say what exception appendChild should throw on invalid input
>(such as null or a string). A while ago we at Opera realised that pretty  
>much everyone else throws an exception that isn't in the spec, (learnt the
>hard way since not doing so broke Google Reader..) so I suggest the spec is
>updated to cover exceptions due to arguments that are not nodes or document
>fragments. (This is also relevant for other DOM functions like replaceChild)

The Web API Working Group is working on a specification that defines the
ECMAScript bindings of the DOM and Web API specifications in more detail
than is currently the case. This specification is expected to cover such
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 6 October 2006 11:33:21 UTC

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