| Index: third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/normalize-with-cdata.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/normalize-with-cdata.js b/third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/normalize-with-cdata.js
|
| deleted file mode 100644
|
| index f15671cb297551893414492c04ee795c8c363b65..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Node/script-tests/normalize-with-cdata.js
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -description('Test of normalize on an XML document with CDATA.');
|
| -
|
| -var parser = new DOMParser();
|
| -var serializer = new XMLSerializer();
|
| -
|
| -var xmlChunk = parser.parseFromString(
|
| - '<foo>' +
|
| - 'This is some text before the CDATA' +
|
| - '<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>' +
|
| - 'This is some text after the CDATA' +
|
| - '</foo>',
|
| - 'application/xml');
|
| -
|
| -debug('Before normalize');
|
| -shouldBe('serializer.serializeToString(xmlChunk)', '"<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>"');
|
| -shouldBe('xmlChunk.documentElement.childNodes.length', '3');
|
| -xmlChunk.documentElement.normalize();
|
| -debug('After normalize');
|
| -shouldBe('serializer.serializeToString(xmlChunk)', '"<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>"');
|
| -shouldBe('xmlChunk.documentElement.childNodes.length', '3');
|
|
|