This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
level3/core/nodeinsertbefore05 level4/core/getdoctype01 Implementations are not required to support doctype replacement through childNode access, so either of these could raise NOT_SUPPORTED_ERR. Also in the case of nodeinsertbefore05, the doctype node to be inserted is already owned by another document, so the attempt can generate a WRONG_DOCUMENT_ERR.
Created attachment 121 [details] Used try block to allow NOT_SUPPORTED_ERR