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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/touch/document-create-touch-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/document-create-touch-expected.txt b/third_party/WebKit/LayoutTests/fast/events/touch/document-create-touch-expected.txt
index 9e79ecc7af13c0fd2357989d88ec5522f38b8101..994c8b32e02ae0fd4806347f3c9d743bb4ab1d93 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/document-create-touch-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/document-create-touch-expected.txt
@@ -15,35 +15,37 @@ PASS touch.radiusX is 5
PASS touch.radiusY is 3
PASS touch.rotationAngle is 10
PASS touch.force is 10
-PASS emptyTouch is non-null.
-PASS emptyTouch.target is null
-PASS emptyTouch.identifier is 0
-PASS emptyTouch.pageX is 0
-PASS emptyTouch.pageY is 0
-PASS emptyTouch.screenX is 0
-PASS emptyTouch.screenY is 0
-PASS emptyTouch.radiusX is 0
-PASS emptyTouch.radiusY is 0
-PASS emptyTouch.rotationAngle is 0
-PASS emptyTouch.force is 0
+PASS document.createTouch() threw exception TypeError: Failed to execute 'createTouch' 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 :)
+PASS incompleteTouch is non-null.
+PASS incompleteTouch.target is non-null.
+PASS incompleteTouch.identifier is 1
+PASS incompleteTouch.pageX is 100
+PASS incompleteTouch.pageY is 101
+PASS incompleteTouch.screenX is 102
+PASS incompleteTouch.screenY is 103
+PASS incompleteTouch.radiusX is 0
+PASS incompleteTouch.radiusY is 0
+PASS incompleteTouch.rotationAngle is 0
+PASS incompleteTouch.force is 0
+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..
PASS badParamsTouch is non-null.
PASS badParamsTouch.target is null
PASS badParamsTouch.identifier is 0
-PASS badParamsTouch.pageX is 0
-PASS badParamsTouch.pageY is 0
-PASS badParamsTouch.screenX is 0
-PASS badParamsTouch.screenY is 104
+PASS badParamsTouch.pageX is 100
+PASS badParamsTouch.pageY is 101
+PASS badParamsTouch.screenX is 102
+PASS badParamsTouch.screenY is 103
PASS badParamsTouch.radiusX is 0
PASS badParamsTouch.radiusY is 0
PASS badParamsTouch.rotationAngle is 0
PASS badParamsTouch.force is 0
-PASS detachedTouch = document.implementation.createDocument('a', 'b').createTouch() is non-null.
-PASS detachedTouch.target is null
-PASS detachedTouch.identifier is 0
-PASS detachedTouch.pageX is 0
-PASS detachedTouch.pageY is 0
-PASS detachedTouch.screenX is 0
-PASS detachedTouch.screenY is 0
+PASS detachedTouch = document.implementation.createDocument('a', 'b').createTouch(window, target, 1, 100, 101, 102, 103) is non-null.
+PASS detachedTouch.target is non-null.
+PASS detachedTouch.identifier is 1
+PASS detachedTouch.pageX is 100
+PASS detachedTouch.pageY is 101
+PASS detachedTouch.screenX is 102
+PASS detachedTouch.screenY is 103
PASS detachedTouch.radiusX is 0
PASS detachedTouch.radiusY is 0
PASS detachedTouch.rotationAngle is 0

Powered by Google App Engine
This is Rietveld 408576698