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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html b/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
index 12de76a2b005fb9dcbcb9d61246b802f079bdda7..8a72f752b781b0cbfedbb69640be1cb5218fe05c 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
@@ -7,7 +7,7 @@
description('Test that touches created with no target does not crash during dispatch. http://crbug.com/517962');
var event = new TouchEvent('touchstart', {
- touches: [document.createTouch()],
+ touches: [document.createTouch(window, null, 0, 0, 0, 0, 0)],
});
document.body.dispatchEvent(event);

Powered by Google App Engine
This is Rietveld 408576698