Still present in Firefox 4.0 RC, and still a bug per the current DOM Core spec: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createcomment All other browsers tested (IE 9 RC, Chrome 11 dev, Opera 11) create the comment successfully.
Yeah, we should probably undo the createComment change from bug 352728.
Same for CDATASection, I think.
Created attachment 633110 [details] [diff] [review] Patch v1 This might well still cause test failures, but they should be simple to fix. Try: https://tbpl.mozilla.org/?tree=Try&rev=3ea71ee9f5c5
Comment on attachment 633110 [details] [diff] [review] Patch v1 r=me
should https://hg.mozilla.org/integration/mozilla-inbound/rev/bc241a81c6a5#l2.65 read "should" rather than "shouldn't"?
(In reply to Mike "Pomax" Kamermans from comment #8) > should > https://hg.mozilla.org/integration/mozilla-inbound/rev/bc241a81c6a5#l2.65 > read "should" rather than "shouldn't"? Oops -- thanks! https://hg.mozilla.org/integration/mozilla-inbound/rev/4795650d4153