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 UTC

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