blob: 3ec6ae342e384544bfad2c504f02e6e3f58daa54 [file] [log] [blame]
This is a testharness.js-based test.
Found 115 tests; 99 PASS, 16 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS Test IDL implementation of touch-events API
PASS Partial interface GlobalEventHandlers: original interface defined
PASS Partial interface Document: original interface defined
PASS Touch interface: existence and properties of interface object
PASS Touch interface object length
PASS Touch interface object name
PASS Touch interface: existence and properties of interface prototype object
PASS Touch interface: existence and properties of interface prototype object's "constructor" property
PASS Touch interface: existence and properties of interface prototype object's @@unscopables property
PASS Touch interface: attribute identifier
PASS Unscopable handled correctly for identifier property on Touch
PASS Touch interface: attribute target
PASS Unscopable handled correctly for target property on Touch
PASS Touch interface: attribute screenX
PASS Unscopable handled correctly for screenX property on Touch
PASS Touch interface: attribute screenY
PASS Unscopable handled correctly for screenY property on Touch
PASS Touch interface: attribute clientX
PASS Unscopable handled correctly for clientX property on Touch
PASS Touch interface: attribute clientY
PASS Unscopable handled correctly for clientY property on Touch
PASS Touch interface: attribute pageX
PASS Unscopable handled correctly for pageX property on Touch
PASS Touch interface: attribute pageY
PASS Unscopable handled correctly for pageY property on Touch
PASS Touch interface: attribute radiusX
PASS Unscopable handled correctly for radiusX property on Touch
PASS Touch interface: attribute radiusY
PASS Unscopable handled correctly for radiusY property on Touch
PASS Touch interface: attribute rotationAngle
PASS Unscopable handled correctly for rotationAngle property on Touch
PASS Touch interface: attribute force
PASS Unscopable handled correctly for force property on Touch
FAIL Touch interface: attribute altitudeAngle assert_true: The prototype object must have a property "altitudeAngle" expected true got false
PASS Unscopable handled correctly for altitudeAngle property on Touch
FAIL Touch interface: attribute azimuthAngle assert_true: The prototype object must have a property "azimuthAngle" expected true got false
PASS Unscopable handled correctly for azimuthAngle property on Touch
FAIL Touch interface: attribute touchType assert_true: The prototype object must have a property "touchType" expected true got false
PASS Unscopable handled correctly for touchType property on Touch
PASS Touch must be primary interface of new Touch({identifier: 1, target: document})
PASS Stringification of new Touch({identifier: 1, target: document})
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "identifier" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "target" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "screenX" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "screenY" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "clientX" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "clientY" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "pageX" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "pageY" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "radiusX" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "radiusY" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "rotationAngle" with the proper type
PASS Touch interface: new Touch({identifier: 1, target: document}) must inherit property "force" with the proper type
FAIL Touch interface: new Touch({identifier: 1, target: document}) must inherit property "altitudeAngle" with the proper type assert_inherits: property "altitudeAngle" not found in prototype chain
FAIL Touch interface: new Touch({identifier: 1, target: document}) must inherit property "azimuthAngle" with the proper type assert_inherits: property "azimuthAngle" not found in prototype chain
FAIL Touch interface: new Touch({identifier: 1, target: document}) must inherit property "touchType" with the proper type assert_inherits: property "touchType" not found in prototype chain
PASS TouchList interface: existence and properties of interface object
PASS TouchList interface object length
PASS TouchList interface object name
PASS TouchList interface: existence and properties of interface prototype object
PASS TouchList interface: existence and properties of interface prototype object's "constructor" property
PASS TouchList interface: existence and properties of interface prototype object's @@unscopables property
PASS TouchList interface: attribute length
PASS Unscopable handled correctly for length property on TouchList
PASS TouchList interface: operation item(unsigned long)
PASS Unscopable handled correctly for item(unsigned long) on TouchList
PASS TouchEvent interface: existence and properties of interface object
PASS TouchEvent interface object length
PASS TouchEvent interface object name
PASS TouchEvent interface: existence and properties of interface prototype object
PASS TouchEvent interface: existence and properties of interface prototype object's "constructor" property
PASS TouchEvent interface: existence and properties of interface prototype object's @@unscopables property
PASS TouchEvent interface: attribute touches
PASS Unscopable handled correctly for touches property on TouchEvent
PASS TouchEvent interface: attribute targetTouches
PASS Unscopable handled correctly for targetTouches property on TouchEvent
PASS TouchEvent interface: attribute changedTouches
PASS Unscopable handled correctly for changedTouches property on TouchEvent
PASS TouchEvent interface: attribute altKey
PASS Unscopable handled correctly for altKey property on TouchEvent
PASS TouchEvent interface: attribute metaKey
PASS Unscopable handled correctly for metaKey property on TouchEvent
PASS TouchEvent interface: attribute ctrlKey
PASS Unscopable handled correctly for ctrlKey property on TouchEvent
PASS TouchEvent interface: attribute shiftKey
PASS Unscopable handled correctly for shiftKey property on TouchEvent
PASS TouchEvent must be primary interface of new TouchEvent("name")
PASS Stringification of new TouchEvent("name")
PASS TouchEvent interface: new TouchEvent("name") must inherit property "touches" with the proper type
PASS TouchEvent interface: new TouchEvent("name") must inherit property "targetTouches" with the proper type
PASS TouchEvent interface: new TouchEvent("name") must inherit property "changedTouches" with the proper type
PASS TouchEvent interface: new TouchEvent("name") must inherit property "altKey" with the proper type
PASS TouchEvent interface: new TouchEvent("name") must inherit property "metaKey" with the proper type
PASS TouchEvent interface: new TouchEvent("name") must inherit property "ctrlKey" with the proper type
PASS TouchEvent interface: new TouchEvent("name") must inherit property "shiftKey" with the proper type
FAIL Document interface: operation createTouch(WindowProxy, EventTarget, long, double, double, double, double) assert_own_property: interface prototype object missing non-static operation expected property "createTouch" missing
PASS Unscopable handled correctly for createTouch(WindowProxy, EventTarget, long, double, double, double, double) on Document
FAIL Document interface: operation createTouchList(Touch) assert_own_property: interface prototype object missing non-static operation expected property "createTouchList" missing
PASS Unscopable handled correctly for createTouchList(Touch) on Document
FAIL Document interface: document must inherit property "createTouch(WindowProxy, EventTarget, long, double, double, double, double)" with the proper type assert_inherits: property "createTouch" not found in prototype chain
FAIL Document interface: calling createTouch(WindowProxy, EventTarget, long, double, double, double, double) on document with too few arguments must throw TypeError assert_inherits: property "createTouch" not found in prototype chain
FAIL Document interface: document must inherit property "createTouchList(Touch)" with the proper type assert_inherits: property "createTouchList" not found in prototype chain
FAIL Document interface: calling createTouchList(Touch) on document with too few arguments must throw TypeError assert_inherits: property "createTouchList" not found in prototype chain
FAIL GlobalEventHandlers interface: window must inherit property "ontouchstart" with the proper type assert_inherits: property "ontouchstart" found on object expected in prototype chain
FAIL GlobalEventHandlers interface: window must inherit property "ontouchend" with the proper type assert_inherits: property "ontouchend" found on object expected in prototype chain
FAIL GlobalEventHandlers interface: window must inherit property "ontouchmove" with the proper type assert_inherits: property "ontouchmove" found on object expected in prototype chain
FAIL GlobalEventHandlers interface: window must inherit property "ontouchcancel" with the proper type assert_inherits: property "ontouchcancel" found on object expected in prototype chain
PASS GlobalEventHandlers interface: document must inherit property "ontouchstart" with the proper type
PASS GlobalEventHandlers interface: document must inherit property "ontouchend" with the proper type
PASS GlobalEventHandlers interface: document must inherit property "ontouchmove" with the proper type
PASS GlobalEventHandlers interface: document must inherit property "ontouchcancel" with the proper type
PASS GlobalEventHandlers interface: document.body must inherit property "ontouchstart" with the proper type
PASS GlobalEventHandlers interface: document.body must inherit property "ontouchend" with the proper type
PASS GlobalEventHandlers interface: document.body must inherit property "ontouchmove" with the proper type
PASS GlobalEventHandlers interface: document.body must inherit property "ontouchcancel" with the proper type
Harness: the test ran to completion.