Closed Bug 1535899 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 15800 - [wake-lock] Adapted IDL tests to latest spec

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15800 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15800
Details from upstream follow.

Wanming Lin <wanming.lin@intel.com> wrote:

[wake-lock] Adapted IDL tests to latest spec

Ran 2 tests and 36 subtests OK : 2 PASS : 2 FAIL : 34 New tests that have failures or other problems: /wake-lock/idlharness.https.any.html Stringification of new WakeLock("screen"): FAIL WakeLock interface object length: FAIL WakeLock interface object name: FAIL WakeLock interface: attribute active: FAIL WakeLock interface: attribute onactivechange: FAIL WakeLock interface: attribute type: FAIL WakeLock interface: calling request(WakeLockRequestOptions) on new WakeLock("screen") with too few arguments must throw TypeError: FAIL WakeLock interface: existence and properties of interface object: FAIL WakeLock interface: existence and properties of interface prototype object: FAIL WakeLock interface: existence and properties of interface prototype object's "constructor" property: FAIL WakeLock interface: existence and properties of interface prototype object's @@unscopables property: FAIL WakeLock interface: new WakeLock("screen") must inherit property "active" with the proper type: FAIL WakeLock interface: new WakeLock("screen") must inherit property "onactivechange" with the proper type: FAIL WakeLock interface: new WakeLock("screen") must inherit property "request(WakeLockRequestOptions)" with the proper type: FAIL WakeLock interface: new WakeLock("screen") must inherit property "type" with the proper type: FAIL WakeLock interface: operation request(WakeLockRequestOptions): FAIL WakeLock must be primary interface of new WakeLock("screen"): FAIL /wake-lock/idlharness.https.any.worker.html Stringification of new WakeLock("screen"): FAIL WakeLock interface object length: FAIL WakeLock interface object name: FAIL WakeLock interface: attribute active: FAIL WakeLock interface: attribute onactivechange: FAIL WakeLock interface: attribute type: FAIL WakeLock interface: calling request(WakeLockRequestOptions) on new WakeLock("screen") with too few arguments must throw TypeError: FAIL WakeLock interface: existence and properties of interface object: FAIL WakeLock interface: existence and properties of interface prototype object: FAIL WakeLock interface: existence and properties of interface prototype object's "constructor" property: FAIL WakeLock interface: existence and properties of interface prototype object's @@unscopables property: FAIL WakeLock interface: new WakeLock("screen") must inherit property "active" with the proper type: FAIL WakeLock interface: new WakeLock("screen") must inherit property "onactivechange" with the proper type: FAIL WakeLock interface: new WakeLock("screen") must inherit property "request(WakeLockRequestOptions)" with the proper type: FAIL WakeLock interface: new WakeLock("screen") must inherit property "type" with the proper type: FAIL WakeLock interface: operation request(WakeLockRequestOptions): FAIL WakeLock must be primary interface of new WakeLock("screen"): FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/71ccd6345570 [wpt PR 15800] - [wake-lock] Adapted IDL tests to latest spec, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/02d4c49bd2e0 [wpt PR 15800] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.