Re: appendChild exception missing from standard

* Hallvord R. M. Steen wrote:
>http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-184E7107
>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
cases.
-- 
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