| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 <script> | 5 <script> |
| 6 description("Test for <a href='https://code.google.com/p/chromium/is
sues/detail?id=259339'>[259339] NamedFlowCollection getters should follow the sa
me pattern as HTMLCollection</a>"); | 6 description("Test for <a href='https://code.google.com/p/chromium/is
sues/detail?id=259339'>[259339] NamedFlowCollection getters should follow the sa
me pattern as HTMLCollection</a>"); |
| 7 | 7 |
| 8 var namedFlowCollection = document.webkitGetNamedFlows(); | 8 var namedFlowCollection = document.webkitGetNamedFlows(); |
| 9 shouldBeUndefined("namedFlowCollection[0]"); | 9 shouldBeUndefined("namedFlowCollection[0]"); |
| 10 shouldBeUndefined("namedFlowCollection['flow']"); | 10 shouldBeUndefined("namedFlowCollection['flow']"); |
| 11 shouldBeNull("namedFlowCollection.item(0)"); | 11 shouldBeNull("namedFlowCollection.item(0)"); |
| 12 shouldBeNull("namedFlowCollection.namedItem('flow')"); | 12 shouldBeNull("namedFlowCollection.namedItem('flow')"); |
| 13 </script> | 13 </script> |
| 14 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 15 </body> | 14 </body> |
| 16 </html> | 15 </html> |
| OLD | NEW |