Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / option-index.html
blobc0fbda8218bcdd4671c5d49ed30882a05de907d4
1 <html>
2 <head>
3 <script>
4 function Crash() {
5 var x = new Option('t','v');
6 document.getElementById('result').innerHTML = "Test Passed. <BR/> Index for option element with no corresponding select is: " + x.index;
8 </script>
9 </head>
10 <body onload="Crash()">
11 This test makes sure we don't crash when trying to get the index of an option element that has no corresponding select element.
12 <div id="result">Test Failed</div>
13 </body>
14 </html>