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="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description('Ensures that assertion failures don\'t occur on updating the value
of <output> elements.'); | 10 description('Ensures that assertion failures don\'t occur on updating the value
of <output> elements.'); |
11 | 11 |
12 debug('- A test in the value is set twice.'); | 12 debug('- A test in the value is set twice.'); |
13 var output = document.createElement('output'); | 13 var output = document.createElement('output'); |
14 document.body.appendChild(output); | 14 document.body.appendChild(output); |
(...skipping 30 matching lines...) Expand all Loading... |
45 output.defaultValue = 'foo'; | 45 output.defaultValue = 'foo'; |
46 output.value = 'foo'; | 46 output.value = 'foo'; |
47 form.appendChild(output); | 47 form.appendChild(output); |
48 form.reset(); | 48 form.reset(); |
49 form.reset(); | 49 form.reset(); |
50 testPassed('Not crashed'); | 50 testPassed('Not crashed'); |
51 document.body.removeChild(form); | 51 document.body.removeChild(form); |
52 </script> | 52 </script> |
53 </body> | 53 </body> |
54 </html> | 54 </html> |
OLD | NEW |