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

Side by Side Diff: LayoutTests/fast/events/mouse-moved-remove-frame-crash.html

Issue 9160033: Merge 105212 - Crash in in WebCore::EventHandler::mouseMoved. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/mouse-moved-remove-frame-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <script> 3 <script>
4 if (window.layoutTestController) { 4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText(); 5 layoutTestController.dumpAsText();
6 layoutTestController.waitUntilDone(); 6 layoutTestController.waitUntilDone();
7 } 7 }
8 8
9 function onMouseMove() 9 function onMouseMove()
10 { 10 {
11 document.body.innerHTML = "PASS"; 11 document.body.innerHTML = "PASS";
12 12
13 if (window.layoutTestController) 13 if (window.layoutTestController)
14 layoutTestController.notifyDone(); 14 layoutTestController.notifyDone();
15 } 15 }
16 16
17 function runTest() 17 function runTest()
18 { 18 {
19 root = document.getElementById('root').contentDocument; 19 root = document.getElementById('root').contentDocument;
20 root.addEventListener('mousemove', onMouseMove, 0); 20 root.addEventListener('mousemove', onMouseMove, 0);
21 eventSender.mouseMoveTo(1, 1); 21 eventSender.mouseMoveTo(1, 1);
22 eventSender.mouseMoveTo(0, 0); 22 eventSender.mouseMoveTo(0, 0);
23 } 23 }
24 </script> 24 </script>
25 <style>body { margin: 0px; }</style> 25 <style>body { margin: 0px; }</style>
26 <object data="resources/mouse-move.html" id="root" onload="runTest()"></object> 26 <object data="resources/mouse-move.html" id="root" onload="runTest()"></object>
27 </html> 27 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/mouse-moved-remove-frame-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698