OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script> | 5 <script> |
6 window.jsTestIsAsync = true; | 6 window.jsTestIsAsync = true; |
7 | 7 |
8 document.addEventListener('DOMContentLoaded', function () { | 8 document.addEventListener('DOMContentLoaded', function () { |
9 document.querySelector('#inner3').addEventListener('mouseenter', fun
ction () { | 9 document.querySelector('#inner3').addEventListener('mouseenter', fun
ction () { |
10 document.write("Please don't crash under ASAN."); | 10 document.write("Please don't crash under ASAN."); |
| 11 document.close(); |
11 }); | 12 }); |
12 | 13 |
13 if (window.testRunner) { | 14 if (window.testRunner) { |
14 eventSender.mouseMoveTo(1, 1); | 15 eventSender.mouseMoveTo(1, 1); |
15 debug("// Entering #inner3 (and therefore also #inner2)"); | 16 debug("// Entering #inner3 (and therefore also #inner2)"); |
16 eventSender.mouseMoveTo(170,140); | 17 eventSender.mouseMoveTo(170,140); |
17 } | 18 } |
18 | 19 |
19 setTimeout(finishJSTest, 0); | 20 setTimeout(finishJSTest, 0); |
20 }); | 21 }); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 </head> | 60 </head> |
60 <body> | 61 <body> |
61 <div id="outer"> | 62 <div id="outer"> |
62 <div id="inner1"></div> | 63 <div id="inner1"></div> |
63 <div id="inner2"> | 64 <div id="inner2"> |
64 <div id="inner3"></div> | 65 <div id="inner3"></div> |
65 </div> | 66 </div> |
66 </div> | 67 </div> |
67 </body> | 68 </body> |
68 </html> | 69 </html> |
OLD | NEW |