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

Side by Side Diff: LayoutTests/fast/events/touch/touch-event-cancelable-expected.txt

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/events/touch/touch-event-cancelable.html ('k') | Source/core/events/Event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE MESSAGE: line 16: Calling preventDefault on TouchEvent with cancelable=t rue
2 CONSOLE MESSAGE: line 16: Calling preventDefault on TouchEvent with cancelable=f alse
3 CONSOLE WARNING: Ignored attempt to cancel a touchmove event with cancelable=fal se, for example because scrolling is in progress and cannot be interrupted.
1 Test that touch events may or may not be marked cancelable. http://crbug.com/365 681 4 Test that touch events may or may not be marked cancelable. http://crbug.com/365 681
2 5
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 7
5 8
6 Sending cancelable touchmove 9 Sending cancelable touchmove
7 PASS gotTouchMove is false 10 PASS gotTouchMove is false
8 PASS touchEvent.defaultPrevented is false 11 PASS touchEvent.defaultPrevented is false
9 PASS gotTouchMove is true 12 PASS gotTouchMove is true
10 PASS touchEvent.cancelable is true 13 PASS touchEvent.cancelable is true
11 PASS touchEvent.defaultPrevented is true 14 PASS touchEvent.defaultPrevented is true
12 15
13 Sending uncancelable touchmove 16 Sending uncancelable touchmove
14 PASS gotTouchMove is false 17 PASS gotTouchMove is false
15 PASS touchEvent.defaultPrevented is false 18 PASS touchEvent.defaultPrevented is false
16 PASS gotTouchMove is true 19 PASS gotTouchMove is true
17 PASS touchEvent.cancelable is false 20 PASS touchEvent.cancelable is false
18 PASS touchEvent.defaultPrevented is false 21 PASS touchEvent.defaultPrevented is false
19 PASS successfullyParsed is true 22 PASS successfullyParsed is true
20 23
21 TEST COMPLETE 24 TEST COMPLETE
22 25
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/touch/touch-event-cancelable.html ('k') | Source/core/events/Event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698