OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script> | 5 <script> |
6 jsTestIsAsync = true; | 6 jsTestIsAsync = true; |
7 | 7 |
8 var numErrors = 0; | 8 var numErrors = 0; |
9 var numErrorsExpected = 3; | 9 var numErrorsExpected = 3; |
10 | 10 |
11 function runTests() | 11 function runTests() |
12 { | 12 { |
13 if (typeof HTMLFormElement.prototype.requestAutocomplete != 'function') { | 13 if (typeof HTMLFormElement.prototype.requestAutocomplete != 'function') { |
14 testFailed('no requestAutocomplete function'); | 14 testFailed('no requestAutocomplete function'); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 window.addEventListener('load', runTests, true); | 96 window.addEventListener('load', runTests, true); |
97 </script> | 97 </script> |
98 </head> | 98 </head> |
99 <body> | 99 <body> |
100 <p> <a href="https://code.google.com/p/chromium/issues/detail?id=159537">HTMLFor
mElement#requestAutocomplete and associated events</a> </p> | 100 <p> <a href="https://code.google.com/p/chromium/issues/detail?id=159537">HTMLFor
mElement#requestAutocomplete and associated events</a> </p> |
101 <p> For this test to pass, you should see all PASSED below. </p> | 101 <p> For this test to pass, you should see all PASSED below. </p> |
102 <form autocomplete="off" onautocompleteerror="onError();"></form> | 102 <form autocomplete="off" onautocompleteerror="onError();"></form> |
103 <p id="console"></p> | 103 <p id="console"></p> |
104 </body> | 104 </body> |
105 </html> | 105 </html> |
OLD | NEW |