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

Unified Diff: LayoutTests/fast/events/touch/touch-event-cancelable.html

Issue 273503004: Add console warning for canceling uncancelable TouchEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include event type in log message for added clarity Created 6 years, 7 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: LayoutTests/fast/events/touch/touch-event-cancelable.html
diff --git a/LayoutTests/fast/events/touch/touch-event-cancelable.html b/LayoutTests/fast/events/touch/touch-event-cancelable.html
index 314824312b03dd34c8bd5586beec2332f980b7ca..5586e6055d01e8188ee0f4e110e6546394244210 100644
--- a/LayoutTests/fast/events/touch/touch-event-cancelable.html
+++ b/LayoutTests/fast/events/touch/touch-event-cancelable.html
@@ -13,6 +13,7 @@ document.addEventListener('touchmove', function(event) {
gotTouchMove = true;
touchEvent = event;
shouldBeFalse('touchEvent.defaultPrevented');
+ console.log('Calling preventDefault on TouchEvent with cancelable=' + event.cancelable);
touchEvent.preventDefault();
}, false);
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-event-cancelable-expected.txt » ('j') | Source/core/events/TouchEvent.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698