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

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

Issue 2747333003: Make Document.createTouch arguments non-optional (Closed)
Patch Set: Updated layout tests for document-create-touch 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 unified diff | Download patch
OLDNEW
1 This tests support for the document.createTouch API. 1 This tests support for the document.createTouch 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 "createTouch" in document is true 6 PASS "createTouch" in document is true
7 PASS touch is non-null. 7 PASS touch is non-null.
8 PASS touch.target is box 8 PASS touch.target is box
9 PASS touch.identifier is 1 9 PASS touch.identifier is 1
10 PASS touch.pageX is 100 10 PASS touch.pageX is 100
11 PASS touch.pageY is 101 11 PASS touch.pageY is 101
12 PASS touch.screenX is 102 12 PASS touch.screenX is 102
13 PASS touch.screenY is 103 13 PASS touch.screenY is 103
14 PASS touch.radiusX is 5 14 PASS touch.radiusX is 5
15 PASS touch.radiusY is 3 15 PASS touch.radiusY is 3
16 PASS touch.rotationAngle is 10 16 PASS touch.rotationAngle is 10
17 PASS touch.force is 10 17 PASS touch.force is 10
18 PASS emptyTouch is non-null. 18 PASS document.createTouch() threw exception TypeError: Failed to execute 'create Touch' on 'Document': 7 arguments required, but only 0 present..
foolip 2017/03/21 08:01:13 If there aren't any failing tests left, can you tr
lunalu1 2017/03/21 19:19:27 Somehow even though there are all PASS'es, the bot
foolip 2017/03/22 05:16:24 Oh right, this isn't a testharness.js test :)
19 PASS emptyTouch.target is null 19 PASS incompleteTouch is non-null.
20 PASS emptyTouch.identifier is 0 20 PASS incompleteTouch.target is non-null.
21 PASS emptyTouch.pageX is 0 21 PASS incompleteTouch.identifier is 1
22 PASS emptyTouch.pageY is 0 22 PASS incompleteTouch.pageX is 100
23 PASS emptyTouch.screenX is 0 23 PASS incompleteTouch.pageY is 101
24 PASS emptyTouch.screenY is 0 24 PASS incompleteTouch.screenX is 102
25 PASS emptyTouch.radiusX is 0 25 PASS incompleteTouch.screenY is 103
26 PASS emptyTouch.radiusY is 0 26 PASS incompleteTouch.radiusX is 0
27 PASS emptyTouch.rotationAngle is 0 27 PASS incompleteTouch.radiusY is 0
28 PASS emptyTouch.force is 0 28 PASS incompleteTouch.rotationAngle is 0
29 PASS incompleteTouch.force is 0
30 PASS document.createTouch(function(x) { return x; }, 12, 'a', 'b', 101, 102, 103 , function(x) { return x; }, 'a', 'b', 'c') threw exception TypeError: Failed to execute 'createTouch' on 'Document': The provided double value is non-finite..
29 PASS badParamsTouch is non-null. 31 PASS badParamsTouch is non-null.
30 PASS badParamsTouch.target is null 32 PASS badParamsTouch.target is null
31 PASS badParamsTouch.identifier is 0 33 PASS badParamsTouch.identifier is 0
32 PASS badParamsTouch.pageX is 0 34 PASS badParamsTouch.pageX is 100
33 PASS badParamsTouch.pageY is 0 35 PASS badParamsTouch.pageY is 101
34 PASS badParamsTouch.screenX is 0 36 PASS badParamsTouch.screenX is 102
35 PASS badParamsTouch.screenY is 104 37 PASS badParamsTouch.screenY is 103
36 PASS badParamsTouch.radiusX is 0 38 PASS badParamsTouch.radiusX is 0
37 PASS badParamsTouch.radiusY is 0 39 PASS badParamsTouch.radiusY is 0
38 PASS badParamsTouch.rotationAngle is 0 40 PASS badParamsTouch.rotationAngle is 0
39 PASS badParamsTouch.force is 0 41 PASS badParamsTouch.force is 0
40 PASS detachedTouch = document.implementation.createDocument('a', 'b').createTouc h() is non-null. 42 PASS detachedTouch = document.implementation.createDocument('a', 'b').createTouc h(window, target, 1, 100, 101, 102, 103) is non-null.
41 PASS detachedTouch.target is null 43 PASS detachedTouch.target is non-null.
42 PASS detachedTouch.identifier is 0 44 PASS detachedTouch.identifier is 1
43 PASS detachedTouch.pageX is 0 45 PASS detachedTouch.pageX is 100
44 PASS detachedTouch.pageY is 0 46 PASS detachedTouch.pageY is 101
45 PASS detachedTouch.screenX is 0 47 PASS detachedTouch.screenX is 102
46 PASS detachedTouch.screenY is 0 48 PASS detachedTouch.screenY is 103
47 PASS detachedTouch.radiusX is 0 49 PASS detachedTouch.radiusX is 0
48 PASS detachedTouch.radiusY is 0 50 PASS detachedTouch.radiusY is 0
49 PASS detachedTouch.rotationAngle is 0 51 PASS detachedTouch.rotationAngle is 0
50 PASS detachedTouch.force is 0 52 PASS detachedTouch.force is 0
51 PASS successfullyParsed is true 53 PASS successfullyParsed is true
52 54
53 TEST COMPLETE 55 TEST COMPLETE
54 PASS successfullyParsed is true 56 PASS successfullyParsed is true
55 57
56 TEST COMPLETE 58 TEST COMPLETE
57 59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698