Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML> | |
| 2 <html> | |
|
philipj_slow
2015/07/20 12:14:38
It's OK to omit the <html> tag:
https://www.chromi
shiva.jm
2015/07/21 05:02:05
Done.
| |
| 3 <script src="../../resources/testharness.js"></script> | |
| 4 <script src="../../resources/testharnessreport.js"></script> | |
| 5 <script> | |
| 6 | |
| 7 test(function() { | |
| 8 var element = document.createElement('content'); | |
| 9 assert_equals(element.select, ''); | |
| 10 element.select = 'null' | |
|
philipj_slow
2015/07/20 12:14:38
This should set null, not the string 'null', in or
shiva.jm
2015/07/21 05:02:05
Done.
| |
| 11 assert_equals(element.select, 'null'); | |
| 12 element.select = '' | |
|
philipj_slow
2015/07/20 12:14:38
Testing the empty string isn't needed, I think. Th
shiva.jm
2015/07/21 05:02:05
Done.
| |
| 13 assert_equals(element.select, ''); | |
| 14 element.select = 'undefined' | |
|
philipj_slow
2015/07/20 12:14:38
Similarly, this should not be the string 'undefine
shiva.jm
2015/07/21 05:02:05
Done.
| |
| 15 assert_equals(element.select, 'undefined'); | |
| 16 }, ' content element test for select attribute, null and undefined arguments.'); | |
| 17 | |
| 18 </script> | |
| 19 </html> | |
| OLD | NEW |