Bug 1620077 - part2 : enable MediaSession and MediaMetadata in testing. r=baku

Differential Revision: https://phabricator.services.mozilla.com/D67401

--HG--
extra : moz-landing-system : lando
This commit is contained in:
alwu 2020-03-19 17:38:59 +00:00
Родитель cdce97f6e2
Коммит 440d34aa89
2 изменённых файлов: 5 добавлений и 100 удалений

Просмотреть файл

@ -675,6 +675,8 @@ var interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaList", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaMetadata", insecureContext: true, nightly: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaQueryList", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaQueryListEvent", insecureContext: true },
@ -683,6 +685,8 @@ var interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaRecorderErrorEvent", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaSession", insecureContext: true, nightly: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaSource", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MediaStream", insecureContext: true },

Просмотреть файл

@ -1,109 +1,10 @@
prefs: [dom.media.mediasession.enabled:true]
[idlharness.window.html]
[MediaMetadata interface: attribute artist]
expected: FAIL
[MediaMetadata interface: attribute title]
expected: FAIL
[MediaSession must be primary interface of navigator.mediaSession]
expected: FAIL
[MediaSession interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Navigator interface: navigator must inherit property "mediaSession" with the proper type]
expected: FAIL
[Stringification of navigator.mediaSession]
expected: FAIL
[MediaMetadata interface: existence and properties of interface object]
expected: FAIL
[MediaMetadata interface object name]
expected: FAIL
[MediaSession interface: existence and properties of interface object]
expected: FAIL
[MediaSession interface object name]
expected: FAIL
[MediaSession interface: attribute playbackState]
expected: FAIL
[MediaMetadata interface: new MediaMetadata() must inherit property "album" with the proper type]
expected: FAIL
[Stringification of new MediaMetadata()]
expected: FAIL
[MediaMetadata interface: new MediaMetadata() must inherit property "title" with the proper type]
expected: FAIL
[MediaSession interface object length]
expected: FAIL
[MediaMetadata interface object length]
expected: FAIL
[MediaMetadata must be primary interface of new MediaMetadata()]
expected: FAIL
[MediaMetadata interface: attribute album]
expected: FAIL
[MediaMetadata interface: attribute artwork]
expected: FAIL
[MediaMetadata interface: existence and properties of interface prototype object]
expected: FAIL
[MediaSession interface: attribute metadata]
expected: FAIL
[MediaSession interface: navigator.mediaSession must inherit property "playbackState" with the proper type]
expected: FAIL
[MediaMetadata interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[MediaSession interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[MediaSession interface: existence and properties of interface prototype object]
expected: FAIL
[Navigator interface: attribute mediaSession]
expected: FAIL
[MediaMetadata interface: new MediaMetadata() must inherit property "artist" with the proper type]
expected: FAIL
[MediaMetadata interface: new MediaMetadata() must inherit property "artwork" with the proper type]
expected: FAIL
[MediaMetadata interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[MediaSession interface: navigator.mediaSession must inherit property "metadata" with the proper type]
expected: FAIL
[MediaSession interface: navigator.mediaSession must inherit property "setActionHandler(MediaSessionAction, MediaSessionActionHandler?)" with the proper type]
expected: FAIL
[MediaSession interface: navigator.mediaSession must inherit property "setPositionState(optional MediaPositionState)" with the proper type]
expected: FAIL
[MediaSession interface: calling setActionHandler(MediaSessionAction, MediaSessionActionHandler?) on navigator.mediaSession with too few arguments must throw TypeError]
expected: FAIL
[MediaSession interface: operation setPositionState(optional MediaPositionState)]
expected: FAIL
[MediaSession interface: calling setPositionState(optional MediaPositionState) on navigator.mediaSession with too few arguments must throw TypeError]
expected: FAIL
[MediaSession interface: operation setActionHandler(MediaSessionAction, MediaSessionActionHandler?)]
expected: FAIL