OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <script src="../js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <input id=target type=text value=""> | 8 <input id=target type=text value=""> |
9 <script> | 9 <script> |
10 description("An event's 'stop propagation', 'stop immediate propagation' and 'ca
nceled' flags should be unset in initEvent"); | 10 description("An event's 'stop propagation', 'stop immediate propagation' and 'ca
nceled' flags should be unset in initEvent"); |
11 | 11 |
12 window.jsTestIsAsync = true; | 12 window.jsTestIsAsync = true; |
13 | 13 |
14 var e = document.createEvent("Event"); | 14 var e = document.createEvent("Event"); |
15 e.initEvent("foo", true, true); | 15 e.initEvent("foo", true, true); |
(...skipping 15 matching lines...) Expand all Loading... |
31 finishJSTest(); | 31 finishJSTest(); |
32 }, false); | 32 }, false); |
33 | 33 |
34 target.dispatchEvent(e); | 34 target.dispatchEvent(e); |
35 | 35 |
36 target.parentNode.removeChild(target); | 36 target.parentNode.removeChild(target); |
37 | 37 |
38 </script> | 38 </script> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |