| Index: LayoutTests/fast/dom/Document/createCDATASection.html
|
| diff --git a/LayoutTests/fast/dom/Document/createCDATASection.html b/LayoutTests/fast/dom/Document/createCDATASection.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..735ee073bdc23ae7a5cf3676f61b8b827b3a9728
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/Document/createCDATASection.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../js/resources/js-test-pre.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +window.xmlDoc = document.implementation.createDocument(null, "example", null);
|
| +shouldBe('"createCDATASection" in window.xmlDoc', 'true');
|
| +shouldBeEqualToString('window.xmlDoc.createCDATASection("Hello").data', "Hello");
|
| +shouldThrow('window.xmlDoc.createCDATASection("Ha]]>o")');
|
| +shouldBeEqualToString('window.xmlDoc.createCDATASection(null).data', "null");
|
| +</script>
|
| +<script src="../../js/resources/js-test-post.js"></script>
|
| +</body>
|
| +</html>
|
|
|