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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/touch-events/touch-support.js

Issue 1985353002: Move the touch-events directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Check a Touch object's attributes for existence and correct type 1 // Check a Touch object's attributes for existence and correct type
2 // TA: 1.1.2, 1.1.3 2 // TA: 1.1.2, 1.1.3
3 function check_Touch_object(t) { 3 function check_Touch_object(t) {
4 assert_equals(Object.prototype.toString.call(t), "[object Touch]", "touch is of type Touch"); 4 assert_equals(Object.prototype.toString.call(t), "[object Touch]", "touch is of type Touch");
5 [ 5 [
6 ["long", "identifier"], 6 ["long", "identifier"],
7 ["EventTarget", "target"], 7 ["EventTarget", "target"],
8 ["long", "screenX"], 8 ["long", "screenX"],
9 ["long", "screenY"], 9 ["long", "screenY"],
10 ["long", "clientX"], 10 ["long", "clientX"],
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 assert_equals(typeof ev[name], "boolean", name + " attribute of type boolean"); 97 assert_equals(typeof ev[name], "boolean", name + " attribute of type boolean");
98 break; 98 break;
99 case "TouchList": 99 case "TouchList":
100 assert_equals(Object.prototype.toString.call(ev[name]), "[object TouchList]", name + " attribute of type TouchList"); 100 assert_equals(Object.prototype.toString.call(ev[name]), "[object TouchList]", name + " attribute of type TouchList");
101 break; 101 break;
102 default: 102 default:
103 break; 103 break;
104 } 104 }
105 }); 105 });
106 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698