mirror of
https://github.com/servo/servo.git
synced 2025-08-27 08:08:19 +01:00
Update web-platform-tests to revision c26470dac73f2df9d4822a0d3482f7eb1ebf57d9
This commit is contained in:
parent
7de87c487b
commit
4d3c932c47
648 changed files with 9014 additions and 4821 deletions
|
@ -6,6 +6,22 @@
|
|||
<script src="touch-support.js"></script>
|
||||
<body>
|
||||
<script>
|
||||
[
|
||||
"webkitRadiusX",
|
||||
"webkitRadiusY",
|
||||
"webkitRotationAngle",
|
||||
"webkitForce",
|
||||
].forEach(function(name) {
|
||||
test(function() {
|
||||
assert_false(name in Touch.prototype,
|
||||
"Should not be supported on the prototype");
|
||||
|
||||
var touch = document.createTouch(window, window, 0, 0, 0, 0, 0);
|
||||
assert_false(name in touch,
|
||||
"Should not be supported on the instance");
|
||||
}, "Touch::" + name);
|
||||
});
|
||||
|
||||
test(function() {
|
||||
assert_false("identifiedTouch" in TouchList.prototype,
|
||||
"Should not be supported on the prototype");
|
||||
|
@ -14,4 +30,13 @@ test(function() {
|
|||
assert_false("identifiedTouch" in touchList,
|
||||
"Should not be supported on the instance");
|
||||
}, "TouchList::identifiedTouch");
|
||||
|
||||
test(function() {
|
||||
assert_false("initTouchEvent" in TouchEvent.prototype,
|
||||
"Should not be supported on the prototype");
|
||||
|
||||
var touchEvent = document.createEvent("touchevent");
|
||||
assert_false("initTouchEvent" in touchEvent,
|
||||
"Should not be supported on the instance");
|
||||
}, "TouchEvent::initTouchEvent");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue