Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: LayoutTests/fast/events/mouseenter-mouseleave-crash.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698