[Bug 27386] Removing createCDATASection() unlikely to be successful

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27386

--- Comment #14 from Philip Jägenstedt <philipj@opera.com> ---
I experimented with the parser change today, and the resulting test failures
were illuminating.

First, any code that looks for a CDATASection (nodeType 4) is obviously going
to break.

A more problematic case is innerHTML. Before, innerHTML would return something
very similar to the source, including the "<![CDATA[" and "]]>". After the
change, those were of course gone, and any "<" characters in the source will be
serialized as "&lt;" instead. There was one test case which accidentally
depended on this.

This makes me a bit worried. Counting instance where a CDATASection node is
serialized could be useful, but finding the cases where there's an actual
problem is very, very hard without actually making the change.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 27 November 2014 21:47:27 UTC