| <html> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| function runTest() { | |
| if (document['1'] && document[1]) | |
| document.getElementById('result').innerHTML = 'SUCCESS'; | |
| } | |
| </script> | |
| <body onload='runTest()'> | |
| <iframe name='1'></iframe> | |
| <div>This tests that an iframe with an integer name can be accessed on the document with indexing notation.</div> | |
| <div id='result'>FAILURE</div> | |
| </body> | |
| </html> | |