OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title id="mytitle"></title></title> | 4 <title id="mytitle"></title></title> |
5 <script src="../js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 description("Test parsing of entity-escaped </title> tag for <a href=\"htt
ps://bugs.webkit.org/show_bug.cgi?id=7931\">Bug 7931: Escaped elements within a
textarea block can cause the textarea box to be closed prematurely</a>"); | 9 description("Test parsing of entity-escaped </title> tag for <a href=\"htt
ps://bugs.webkit.org/show_bug.cgi?id=7931\">Bug 7931: Escaped elements within a
textarea block can cause the textarea box to be closed prematurely</a>"); |
10 | 10 |
11 var expectedResult = '<' + '/title>'; | 11 var expectedResult = '<' + '/title>'; |
12 shouldBe('document.getElementById("mytitle").textContent', 'expectedResult'); | 12 shouldBe('document.getElementById("mytitle").textContent', 'expectedResult'); |
13 </script> | 13 </script> |
14 </body> | 14 </body> |
15 </html> | 15 </html> |
OLD | NEW |