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(); | |
12 }); | 11 }); |
13 | 12 |
14 if (window.testRunner) { | 13 if (window.testRunner) { |
15 eventSender.mouseMoveTo(1, 1); | 14 eventSender.mouseMoveTo(1, 1); |
16 debug("// Entering #inner3 (and therefore also #inner2)"); | 15 debug("// Entering #inner3 (and therefore also #inner2)"); |
17 eventSender.mouseMoveTo(170,140); | 16 eventSender.mouseMoveTo(170,140); |
18 } | 17 } |
19 | 18 |
20 setTimeout(finishJSTest, 0); | 19 setTimeout(finishJSTest, 0); |
21 }); | 20 }); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 </head> | 59 </head> |
61 <body> | 60 <body> |
62 <div id="outer"> | 61 <div id="outer"> |
63 <div id="inner1"></div> | 62 <div id="inner1"></div> |
64 <div id="inner2"> | 63 <div id="inner2"> |
65 <div id="inner3"></div> | 64 <div id="inner3"></div> |
66 </div> | 65 </div> |
67 </div> | 66 </div> |
68 </body> | 67 </body> |
69 </html> | 68 </html> |
OLD | NEW |