W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

Re: Read-only and removeChild/replaceChild

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Thu, 5 Jul 2001 09:26:55 -0400
To: www-dom@w3.org
Message-ID: <OF44B76BD2.02B637A7-ON85256A80.004958C5@pok.ibm.com>

Please keep the discussion on the mailing list rather than private
e-mail... thanks...

>what does document.removeChild(document.documentElement) do?

The definition of NO_MODIFICATION_ALLOWED says it's thrown "If an attempt
is made to modify an object where modifications are  not allowed."  I
believe this qualifies. You're right, this could be made clearer.

______________________________________
Joe Kesselman  / IBM Research
Received on Thursday, 5 July 2001 09:27:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT