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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html

Issue 2747333003: Make Document.createTouch arguments non-optional (Closed)
Patch Set: Codereview: update tests as suggested Created 3 years, 9 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 3
4 <p id="description"></p> 4 <p id="description"></p>
5 <div id="console"></div> 5 <div id="console"></div>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 description('Test that touches created with no target does not crash during disp atch. http://crbug.com/517962'); 7 description('Test that touches created with no target does not crash during disp atch. http://crbug.com/517962');
8 8
9 var event = new TouchEvent('touchstart', { 9 var event = new TouchEvent('touchstart', {
10 touches: [document.createTouch()], 10 touches: [document.createTouch(window, null, 0, 0, 0, 0, 0)],
11 }); 11 });
12 document.body.dispatchEvent(event); 12 document.body.dispatchEvent(event);
13 13
14 </script> 14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698