Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / DOMParser-assign-variable.html
blob3054bc7289135fd2dd999d553832330e46aa2ab3
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <script>
6 function debug(str) {
7 var c = document.getElementById('console')
8 c.appendChild(document.createTextNode(str + '\n'));
11 function runTests() {
12 if (window.testRunner) testRunner.dumpAsText();
14 var parser = new DOMParser();
15 parser.test = "test"
18 </script>
19 </head>
20 <body onload="runTests();">
21 This creates a DOMParser object and tries to assign it to a variable. If the test is successful, it should not crash.
22 <pre id="console">
23 </pre>
24 </body>
25 </html>