| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | |
| 5 <script src="resources/microdata-common.js"></script> | |
| 6 </head> | |
| 7 <body> | |
| 8 <p>PropertyNodeList.getValues() method test.</p> | |
| 9 <div itemscope id="item"> | |
| 10 <div itemprop="foo"></div> | |
| 11 </div> | |
| 12 <div id="console"></div> | |
| 13 <script> | |
| 14 var element = document.getElementById('item'); | |
| 15 debug("PropertyNodeList.getValues() method must return an array."); | |
| 16 shouldBeTrue("element.properties.namedItem('foo').getValues() instanceof Array")
; | |
| 17 shouldBeTrue("element.properties['foo'].getValues() instanceof Array"); | |
| 18 | |
| 19 </script> | |
| 20 <script src="../../js/resources/js-test-post.js"></script> | |
| 21 </body> | |
| 22 </html> | |
| OLD | NEW |