| This is a testharness.js-based test. |
| PASS idl_test setup |
| PASS WakeLock interface: existence and properties of interface object |
| FAIL WakeLock interface object length assert_equals: wrong value for WakeLock.length expected 1 but got 0 |
| PASS WakeLock interface object name |
| PASS WakeLock interface: existence and properties of interface prototype object |
| PASS WakeLock interface: existence and properties of interface prototype object's "constructor" property |
| PASS WakeLock interface: existence and properties of interface prototype object's @@unscopables property |
| PASS WakeLock interface: attribute type |
| PASS WakeLock interface: attribute active |
| PASS WakeLock interface: attribute onactivechange |
| FAIL WakeLock interface: operation request(WakeLockRequestOptions) assert_own_property: interface prototype object missing non-static operation expected property "request" missing |
| FAIL WakeLock must be primary interface of new WakeLock("screen") assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor" |
| FAIL Stringification of new WakeLock("screen") assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor" |
| FAIL WakeLock interface: new WakeLock("screen") must inherit property "type" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor" |
| FAIL WakeLock interface: new WakeLock("screen") must inherit property "active" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor" |
| FAIL WakeLock interface: new WakeLock("screen") must inherit property "onactivechange" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor" |
| FAIL WakeLock interface: new WakeLock("screen") must inherit property "request(WakeLockRequestOptions)" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor" |
| FAIL WakeLock interface: calling request(WakeLockRequestOptions) on new WakeLock("screen") with too few arguments must throw TypeError assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: Illegal constructor" |
| Harness: the test ran to completion. |
| |