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 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <iframe id="myiframe"></iframe></iframe> | 7 <iframe id="myiframe"></iframe></iframe> |
8 <p id="description"></p> | 8 <p id="description"></p> |
9 <div id="console"></div> | 9 <div id="console"></div> |
10 <script> | 10 <script> |
11 description("Test parsing of entity-escaped </iframe> tag for <a href=\"ht
tps://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>"); | 11 description("Test parsing of entity-escaped </iframe> tag for <a href=\"ht
tps://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>"); |
12 | 12 |
13 var expectedResult = '<' + '/iframe>'; | 13 var expectedResult = '<' + '/iframe>'; |
14 shouldBe('document.getElementById("myiframe").textContent', 'expectedResult'); | 14 shouldBe('document.getElementById("myiframe").textContent', 'expectedResult'); |
15 </script> | 15 </script> |
16 </body> | 16 </body> |
17 </html> | 17 </html> |
OLD | NEW |