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

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: Tweak style 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-event-cancelable-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698