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

Side by Side Diff: LayoutTests/fast/events/keyboardevent-mousedown-crash.html

Issue 4065007: Merge 70473 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/keyboardevent-mousedown-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 <html> 1 <html>
2 <body> 2 <body>
3 <div id="test"></div> 3 <div id="test"></div>
4 <div id="result"></div> 4 <div id="result"></div>
5 <script> 5 <script>
6 if (window.layoutTestController) 6 if (window.layoutTestController)
7 { 7 {
8 layoutTestController.dumpAsText(); 8 layoutTestController.dumpAsText();
9 layoutTestController.waitUntilDone(); 9 layoutTestController.waitUntilDone();
10 } 10 }
11 11
12 var event = document.createEvent('KeyboardEvent'); 12 var event = document.createEvent('KeyboardEvent');
13 event.initEvent('mousedown', true, true); 13 event.initEvent('mousedown', true, true);
14 document.getElementById('test').dispatchEvent(event); 14 document.getElementById('test').dispatchEvent(event);
15 15
16 document.getElementById('result').innerHTML = "PASS"; 16 document.getElementById('result').innerHTML = "PASS";
17 if (window.layoutTestController) 17 if (window.layoutTestController)
18 layoutTestController.notifyDone(); 18 layoutTestController.notifyDone();
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/keyboardevent-mousedown-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698