blob: dac77924d65fcc7e1c847f3a870c9ddf1b665e15 [file] [log] [blame]
This is a testharness.js-based test.
PASS Test IDL implementation of WakeLock API
PASS Partial interface Navigator: original interface defined
FAIL WakeLock interface: existence and properties of interface object assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface object length assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface object name assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface: existence and properties of interface prototype object assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface: attribute type assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface: attribute active assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface: attribute onactivechange assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock interface: operation createRequest() assert_own_property: self does not have own property "WakeLock" expected property "WakeLock" missing
FAIL WakeLock must be primary interface of wakelock assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: wakelock is not defined"
FAIL Stringification of wakelock assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: wakelock is not defined"
FAIL WakeLock interface: wakelock must inherit property "type" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: wakelock is not defined"
FAIL WakeLock interface: wakelock must inherit property "active" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: wakelock is not defined"
FAIL WakeLock interface: wakelock must inherit property "onactivechange" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: wakelock is not defined"
FAIL WakeLock interface: wakelock must inherit property "createRequest()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: wakelock is not defined"
FAIL WakeLockRequest interface: existence and properties of interface object assert_own_property: self does not have own property "WakeLockRequest" expected property "WakeLockRequest" missing
FAIL WakeLockRequest interface object length assert_own_property: self does not have own property "WakeLockRequest" expected property "WakeLockRequest" missing
FAIL WakeLockRequest interface object name assert_own_property: self does not have own property "WakeLockRequest" expected property "WakeLockRequest" missing
FAIL WakeLockRequest interface: existence and properties of interface prototype object assert_own_property: self does not have own property "WakeLockRequest" expected property "WakeLockRequest" missing
FAIL WakeLockRequest interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "WakeLockRequest" expected property "WakeLockRequest" missing
FAIL WakeLockRequest interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "WakeLockRequest" expected property "WakeLockRequest" missing
FAIL WakeLockRequest interface: operation cancel() assert_own_property: self does not have own property "WakeLockRequest" expected property "WakeLockRequest" missing
FAIL WakeLockRequest must be primary interface of request assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: request is not defined"
FAIL Stringification of request assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: request is not defined"
FAIL WakeLockRequest interface: request must inherit property "cancel()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: request is not defined"
FAIL Navigator interface: operation getWakeLock(WakeLockType) assert_own_property: interface prototype object missing non-static operation expected property "getWakeLock" missing
FAIL Navigator interface: navigator must inherit property "getWakeLock(WakeLockType)" with the proper type assert_inherits: property "getWakeLock" not found in prototype chain
FAIL Navigator interface: calling getWakeLock(WakeLockType) on navigator with too few arguments must throw TypeError assert_inherits: property "getWakeLock" not found in prototype chain
PASS WorkerNavigator interface: existence and properties of interface object
Harness: the test ran to completion.