Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / form-invalid-url.html
blobb6dfce765181a6a0efeda622b64f3dff774a3488
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script>
5 function performTest()
7 var x=document.getElementsByTagName('select')[0];
8 x.options[2].selected=true;
9 var evt = document.createEvent("HTMLEvents");
10 evt.initEvent("change", true, true);
11 x.dispatchEvent(evt);
12 testPassed('Test passes if there is no crash');
14 </script>
15 </head>
16 <body onload="performTest()">
17 <form action="http://%T%Ae">
18 <select onChange="submit();">
19 <option >A</option>
20 <option >B</option>
21 <option >C</option>
22 </select>
23 </form>
24 </body>
25 </html>