Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: third_party/WebKit/LayoutTests/dom/domparsing/serialize-cdata.html

Issue 2667303004: Move tests for DOMParser and XMLSerializer to dom/domparsing/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=11772">bug 11772</a> : 1 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=11772">bug 11772</a> :
2 XMLSerializer.serializeToString incorrect value for CDATA nodes.</p> 2 XMLSerializer.serializeToString incorrect value for CDATA nodes.</p>
3 <p>Should say PASS below.</p> 3 <p>Should say PASS below.</p>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 var d = window.document.implementation.createDocument("", "", null); 8 var d = window.document.implementation.createDocument("", "", null);
9 var n = d.createCDATASection("-- <cdata> --"); 9 var n = d.createCDATASection("-- <cdata> --");
10 var s = (new XMLSerializer()).serializeToString(n); 10 var s = (new XMLSerializer()).serializeToString(n);
11 if (s == "<![CDATA[-- <cdata> --]]>") 11 if (s == "<![CDATA[-- <cdata> --]]>")
12 document.write("PASS"); 12 document.write("PASS");
13 else 13 else
14 document.write("FAIL"); 14 document.write("FAIL");
15 </script> 15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698