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

Side by Side Diff: third_party/WebKit/LayoutTests/dom/domparsing/domparser-assign-variable.html

Issue 2667303004: Move tests for DOMParser and XMLSerializer to dom/domparsing/. (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html> 3 <html>
4 <head> 4 <head>
5 <script> 5 <script>
6 function debug(str) { 6 function debug(str) {
7 var c = document.getElementById('console') 7 var c = document.getElementById('console')
8 c.appendChild(document.createTextNode(str + '\n')); 8 c.appendChild(document.createTextNode(str + '\n'));
9 } 9 }
10 10
11 function runTests() { 11 function runTests() {
12 if (window.testRunner) testRunner.dumpAsText(); 12 if (window.testRunner) testRunner.dumpAsText();
13 13
14 var parser = new DOMParser(); 14 var parser = new DOMParser();
15 parser.test = "test" 15 parser.test = "test"
16 } 16 }
17 17
18 </script> 18 </script>
19 </head> 19 </head>
20 <body onload="runTests();"> 20 <body onload="runTests();">
21 This creates a DOMParser object and tries to assign it to a variable. If the tes t is successful, it should not crash. 21 This creates a DOMParser object and tries to assign it to a variable. If the tes t is successful, it should not crash.
22 <pre id="console"> 22 <pre id="console">
23 </pre> 23 </pre>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698