Closed Bug 1477363 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12105 - Simplify the mediasession IDL test

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12105 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12105 Details from upstream follow. Luke Bjerring <lukebjerring@google.com> wrote: > Simplify the mediasession IDL test > > Also adds some cases for the `MediaSession` interface.
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 44 subtests OK : 1 PASS : 11 FAIL : 33 New tests that have failures or other problems: /mediasession/idlharness.window.html MediaMetadata interface object length: FAIL MediaMetadata interface object name: FAIL MediaMetadata interface: attribute album: FAIL MediaMetadata interface: attribute artist: FAIL MediaMetadata interface: attribute artwork: FAIL MediaMetadata interface: attribute title: FAIL MediaMetadata interface: existence and properties of interface object: FAIL MediaMetadata interface: existence and properties of interface prototype object: FAIL MediaMetadata interface: existence and properties of interface prototype object's "constructor" property: FAIL MediaMetadata interface: existence and properties of interface prototype object's @@unscopables property: FAIL MediaMetadata interface: new MediaMetadata() must inherit property "album" with the proper type: FAIL MediaMetadata interface: new MediaMetadata() must inherit property "artist" with the proper type: FAIL MediaMetadata interface: new MediaMetadata() must inherit property "artwork" with the proper type: FAIL MediaMetadata interface: new MediaMetadata() must inherit property "title" with the proper type: FAIL MediaMetadata must be primary interface of new MediaMetadata(): FAIL MediaSession interface object length: FAIL MediaSession interface object name: FAIL MediaSession interface: attribute metadata: FAIL MediaSession interface: attribute playbackState: FAIL MediaSession interface: calling setActionHandler(MediaSessionAction, MediaSessionActionHandler) on navigator.mediaSession with too few arguments must throw TypeError: FAIL MediaSession interface: existence and properties of interface object: FAIL MediaSession interface: existence and properties of interface prototype object: FAIL MediaSession interface: existence and properties of interface prototype object's "constructor" property: FAIL MediaSession interface: existence and properties of interface prototype object's @@unscopables property: FAIL MediaSession interface: navigator.mediaSession must inherit property "metadata" with the proper type: FAIL MediaSession interface: navigator.mediaSession must inherit property "playbackState" with the proper type: FAIL MediaSession interface: navigator.mediaSession must inherit property "setActionHandler(MediaSessionAction, MediaSessionActionHandler)" with the proper type: FAIL MediaSession interface: operation setActionHandler(MediaSessionAction, MediaSessionActionHandler): FAIL MediaSession must be primary interface of navigator.mediaSession: FAIL Navigator interface: attribute mediaSession: FAIL Navigator interface: navigator must inherit property "mediaSession" with the proper type: FAIL Stringification of navigator.mediaSession: FAIL Stringification of new MediaMetadata(): FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/944315aa7167 [wpt PR 12105] - Simplify the mediasession IDL test, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.