| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <html> |
| <head> |
| <script> |
| function runTests() { |
| if (window.testRunner) testRunner.dumpAsText(); |
| |
| var parser = new DOMParser(); |
| parser.parseFromString("<marquee></marquee>", "text/html"); |
| } |
| </script> |
| </head> |
| <body onload="runTests();"> |
| This creates a DOMParser object and tries to parse a document containing a marquee element (implemented in Private JS). |
| If the test is successful, it should not crash. |
| <pre id="console"> |
| </pre> |
| </body> |
| </html> |