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

Side by Side Diff: LayoutTests/fast/dom/Document/createCDATASection.html

Issue 22911020: Block "]]>" in createCDataSection (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added trailing whitespace to "expected". Created 7 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/createCDATASection-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8 window.xmlDoc = document.implementation.createDocument(null, "example", null);
9 shouldBe('"createCDATASection" in window.xmlDoc', 'true');
10 shouldBeEqualToString('window.xmlDoc.createCDATASection("Hello").data', "Hello") ;
11 shouldThrow('window.xmlDoc.createCDATASection("Ha]]>o")');
12 shouldBeEqualToString('window.xmlDoc.createCDATASection(null).data', "null");
13 </script>
14 <script src="../../js/resources/js-test-post.js"></script>
15 </body>
16 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/createCDATASection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698