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

Side by Side Diff: LayoutTests/fast/events/touch/document-create-touch-list-expected.txt

Issue 23522051: Get rid of custom code for Document::createTouchList() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing references Created 7 years, 3 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
OLDNEW
1 This tests support for the document.createTouchList API. 1 This tests support for the document.createTouchList API.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS "createTouchList" in document is true 6 PASS "createTouchList" in document is true
7 PASS touchList is non-null. 7 PASS touchList is non-null.
8 PASS touchList.length is 0 8 PASS touchList.length is 0
9 PASS touchList.item(0) is null 9 PASS touchList.item(0) is null
10 PASS touchList.item(1) is null 10 PASS touchList.item(1) is null
11 PASS touchList.item() threw exception TypeError: Not enough arguments. 11 PASS touchList.item() threw exception TypeError: Not enough arguments.
12 PASS ts instanceof TouchEvent is true 12 PASS ts instanceof TouchEvent is true
13 PASS ts.touches instanceof TouchList is true 13 PASS ts.touches instanceof TouchList is true
14 PASS ts.touches.length is 2 14 PASS ts.touches.length is 2
15 PASS ts.touches[0] instanceof Touch is true 15 PASS ts.touches[0] instanceof Touch is true
16 PASS ts.touches[0].identifier is 12341 16 PASS ts.touches[0].identifier is 12341
17 PASS ts.touches[0].clientX is 60 17 PASS ts.touches[0].clientX is 60
18 PASS ts.touches[1].screenY is 120 18 PASS ts.touches[1].screenY is 120
19 PASS ts.ctrlKey is true 19 PASS ts.ctrlKey is true
20 PASS An exception was thrown: Type error
20 PASS successfullyParsed is true 21 PASS successfullyParsed is true
21 22
22 TEST COMPLETE 23 TEST COMPLETE
23 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698