Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLDocument / get-iframe-with-integer-name.html
blob7bac68b18657ace007e23e78cbd088039ecbeb73
1 <html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 function runTest() {
7 if (document['1'] && document[1])
8 document.getElementById('result').innerHTML = 'SUCCESS';
10 </script>
11 <body onload='runTest()'>
12 <iframe name='1'></iframe>
13 <div>This tests that an iframe with an integer name can be accessed on the document with indexing notation.</div>
14 <div id='result'>FAILURE</div>
15 </body>
16 </html>