blob: 2720255440e5406c8144308f6b93c579c39a266b [file] [log] [blame]
This is a testharness.js-based test.
Found 163 tests; 151 PASS, 12 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS mediacapture-streams interfaces.
PASS Partial interface Navigator: original interface defined
PASS Partial interface Navigator[2]: original interface defined
PASS Partial interface MediaDevices: original interface defined
PASS MediaStream interface: existence and properties of interface object
PASS MediaStream interface object length
PASS MediaStream interface object name
PASS MediaStream interface: existence and properties of interface prototype object
PASS MediaStream interface: existence and properties of interface prototype object's "constructor" property
PASS MediaStream interface: existence and properties of interface prototype object's @@unscopables property
PASS MediaStream interface: attribute id
PASS MediaStream interface: operation getAudioTracks()
PASS MediaStream interface: operation getVideoTracks()
PASS MediaStream interface: operation getTracks()
PASS MediaStream interface: operation getTrackById(DOMString)
PASS MediaStream interface: operation addTrack(MediaStreamTrack)
PASS MediaStream interface: operation removeTrack(MediaStreamTrack)
PASS MediaStream interface: operation clone()
PASS MediaStream interface: attribute active
PASS MediaStream interface: attribute onaddtrack
PASS MediaStream interface: attribute onremovetrack
PASS MediaStream must be primary interface of [object MediaStream]
PASS Stringification of [object MediaStream]
PASS MediaStream interface: [object MediaStream] must inherit property "id" with the proper type
PASS MediaStream interface: [object MediaStream] must inherit property "getAudioTracks()" with the proper type
PASS MediaStream interface: [object MediaStream] must inherit property "getVideoTracks()" with the proper type
PASS MediaStream interface: [object MediaStream] must inherit property "getTracks()" with the proper type
PASS MediaStream interface: [object MediaStream] must inherit property "getTrackById(DOMString)" with the proper type
PASS MediaStream interface: calling getTrackById(DOMString) on [object MediaStream] with too few arguments must throw TypeError
PASS MediaStream interface: [object MediaStream] must inherit property "addTrack(MediaStreamTrack)" with the proper type
PASS MediaStream interface: calling addTrack(MediaStreamTrack) on [object MediaStream] with too few arguments must throw TypeError
PASS MediaStream interface: [object MediaStream] must inherit property "removeTrack(MediaStreamTrack)" with the proper type
PASS MediaStream interface: calling removeTrack(MediaStreamTrack) on [object MediaStream] with too few arguments must throw TypeError
PASS MediaStream interface: [object MediaStream] must inherit property "clone()" with the proper type
PASS MediaStream interface: [object MediaStream] must inherit property "active" with the proper type
PASS MediaStream interface: [object MediaStream] must inherit property "onaddtrack" with the proper type
PASS MediaStream interface: [object MediaStream] must inherit property "onremovetrack" with the proper type
PASS MediaStream must be primary interface of new MediaStream()
PASS Stringification of new MediaStream()
PASS MediaStream interface: new MediaStream() must inherit property "id" with the proper type
PASS MediaStream interface: new MediaStream() must inherit property "getAudioTracks()" with the proper type
PASS MediaStream interface: new MediaStream() must inherit property "getVideoTracks()" with the proper type
PASS MediaStream interface: new MediaStream() must inherit property "getTracks()" with the proper type
PASS MediaStream interface: new MediaStream() must inherit property "getTrackById(DOMString)" with the proper type
PASS MediaStream interface: calling getTrackById(DOMString) on new MediaStream() with too few arguments must throw TypeError
PASS MediaStream interface: new MediaStream() must inherit property "addTrack(MediaStreamTrack)" with the proper type
PASS MediaStream interface: calling addTrack(MediaStreamTrack) on new MediaStream() with too few arguments must throw TypeError
PASS MediaStream interface: new MediaStream() must inherit property "removeTrack(MediaStreamTrack)" with the proper type
PASS MediaStream interface: calling removeTrack(MediaStreamTrack) on new MediaStream() with too few arguments must throw TypeError
PASS MediaStream interface: new MediaStream() must inherit property "clone()" with the proper type
PASS MediaStream interface: new MediaStream() must inherit property "active" with the proper type
PASS MediaStream interface: new MediaStream() must inherit property "onaddtrack" with the proper type
PASS MediaStream interface: new MediaStream() must inherit property "onremovetrack" with the proper type
PASS MediaStreamTrack interface: existence and properties of interface object
PASS MediaStreamTrack interface object length
PASS MediaStreamTrack interface object name
PASS MediaStreamTrack interface: existence and properties of interface prototype object
PASS MediaStreamTrack interface: existence and properties of interface prototype object's "constructor" property
PASS MediaStreamTrack interface: existence and properties of interface prototype object's @@unscopables property
PASS MediaStreamTrack interface: attribute kind
PASS MediaStreamTrack interface: attribute id
PASS MediaStreamTrack interface: attribute label
PASS MediaStreamTrack interface: attribute enabled
PASS MediaStreamTrack interface: attribute muted
PASS MediaStreamTrack interface: attribute onmute
PASS MediaStreamTrack interface: attribute onunmute
PASS MediaStreamTrack interface: attribute readyState
PASS MediaStreamTrack interface: attribute onended
PASS MediaStreamTrack interface: operation clone()
PASS MediaStreamTrack interface: operation stop()
PASS MediaStreamTrack interface: operation getCapabilities()
PASS MediaStreamTrack interface: operation getConstraints()
PASS MediaStreamTrack interface: operation getSettings()
PASS MediaStreamTrack interface: operation applyConstraints(MediaTrackConstraints)
FAIL MediaStreamTrack interface: attribute onoverconstrained assert_true: The prototype object must have a property "onoverconstrained" expected true got false
PASS MediaStreamTrack must be primary interface of [object MediaStreamTrack]
PASS Stringification of [object MediaStreamTrack]
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "kind" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "id" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "label" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "enabled" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "muted" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "onmute" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "onunmute" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "readyState" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "onended" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "clone()" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "stop()" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "getCapabilities()" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "getConstraints()" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "getSettings()" with the proper type
PASS MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "applyConstraints(MediaTrackConstraints)" with the proper type
PASS MediaStreamTrack interface: calling applyConstraints(MediaTrackConstraints) on [object MediaStreamTrack] with too few arguments must throw TypeError
FAIL MediaStreamTrack interface: [object MediaStreamTrack] must inherit property "onoverconstrained" with the proper type assert_inherits: property "onoverconstrained" not found in prototype chain
PASS MediaStreamTrackEvent interface: existence and properties of interface object
PASS MediaStreamTrackEvent interface object length
PASS MediaStreamTrackEvent interface object name
PASS MediaStreamTrackEvent interface: existence and properties of interface prototype object
PASS MediaStreamTrackEvent interface: existence and properties of interface prototype object's "constructor" property
PASS MediaStreamTrackEvent interface: existence and properties of interface prototype object's @@unscopables property
PASS MediaStreamTrackEvent interface: attribute track
PASS MediaStreamTrackEvent must be primary interface of [object MediaStreamTrackEvent]
PASS Stringification of [object MediaStreamTrackEvent]
PASS MediaStreamTrackEvent interface: [object MediaStreamTrackEvent] must inherit property "track" with the proper type
FAIL OverconstrainedErrorEvent interface: existence and properties of interface object assert_own_property: self does not have own property "OverconstrainedErrorEvent" expected property "OverconstrainedErrorEvent" missing
FAIL OverconstrainedErrorEvent interface object length assert_own_property: self does not have own property "OverconstrainedErrorEvent" expected property "OverconstrainedErrorEvent" missing
FAIL OverconstrainedErrorEvent interface object name assert_own_property: self does not have own property "OverconstrainedErrorEvent" expected property "OverconstrainedErrorEvent" missing
FAIL OverconstrainedErrorEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "OverconstrainedErrorEvent" expected property "OverconstrainedErrorEvent" missing
FAIL OverconstrainedErrorEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "OverconstrainedErrorEvent" expected property "OverconstrainedErrorEvent" missing
FAIL OverconstrainedErrorEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "OverconstrainedErrorEvent" expected property "OverconstrainedErrorEvent" missing
FAIL OverconstrainedErrorEvent interface: attribute error assert_own_property: self does not have own property "OverconstrainedErrorEvent" expected property "OverconstrainedErrorEvent" missing
FAIL OverconstrainedErrorEvent must be primary interface of new OverconstrainedErrorEvent("type", {}) assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: OverconstrainedErrorEvent is not defined"
FAIL Stringification of new OverconstrainedErrorEvent("type", {}) assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: OverconstrainedErrorEvent is not defined"
FAIL OverconstrainedErrorEvent interface: new OverconstrainedErrorEvent("type", {}) must inherit property "error" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: OverconstrainedErrorEvent is not defined"
PASS MediaDevices interface: existence and properties of interface object
PASS MediaDevices interface object length
PASS MediaDevices interface object name
PASS MediaDevices interface: existence and properties of interface prototype object
PASS MediaDevices interface: existence and properties of interface prototype object's "constructor" property
PASS MediaDevices interface: existence and properties of interface prototype object's @@unscopables property
PASS MediaDevices interface: attribute ondevicechange
PASS MediaDevices interface: operation enumerateDevices()
PASS MediaDevices interface: operation getSupportedConstraints()
PASS MediaDevices interface: operation getUserMedia(MediaStreamConstraints)
PASS MediaDevices must be primary interface of navigator.mediaDevices
PASS Stringification of navigator.mediaDevices
PASS MediaDevices interface: navigator.mediaDevices must inherit property "ondevicechange" with the proper type
PASS MediaDevices interface: navigator.mediaDevices must inherit property "enumerateDevices()" with the proper type
PASS MediaDevices interface: navigator.mediaDevices must inherit property "getSupportedConstraints()" with the proper type
PASS MediaDevices interface: navigator.mediaDevices must inherit property "getUserMedia(MediaStreamConstraints)" with the proper type
PASS MediaDevices interface: calling getUserMedia(MediaStreamConstraints) on navigator.mediaDevices with too few arguments must throw TypeError
PASS MediaDeviceInfo interface: existence and properties of interface object
PASS MediaDeviceInfo interface object length
PASS MediaDeviceInfo interface object name
PASS MediaDeviceInfo interface: existence and properties of interface prototype object
PASS MediaDeviceInfo interface: existence and properties of interface prototype object's "constructor" property
PASS MediaDeviceInfo interface: existence and properties of interface prototype object's @@unscopables property
PASS MediaDeviceInfo interface: attribute deviceId
PASS MediaDeviceInfo interface: attribute kind
PASS MediaDeviceInfo interface: attribute label
PASS MediaDeviceInfo interface: attribute groupId
PASS MediaDeviceInfo interface: operation toJSON()
PASS InputDeviceInfo interface: existence and properties of interface object
PASS InputDeviceInfo interface object length
PASS InputDeviceInfo interface object name
PASS InputDeviceInfo interface: existence and properties of interface prototype object
PASS InputDeviceInfo interface: existence and properties of interface prototype object's "constructor" property
PASS InputDeviceInfo interface: existence and properties of interface prototype object's @@unscopables property
PASS InputDeviceInfo interface: operation getCapabilities()
PASS InputDeviceInfo must be primary interface of [object InputDeviceInfo]
PASS Stringification of [object InputDeviceInfo]
PASS InputDeviceInfo interface: [object InputDeviceInfo] must inherit property "getCapabilities()" with the proper type
PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "deviceId" with the proper type
PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "kind" with the proper type
PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "label" with the proper type
PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "groupId" with the proper type
PASS MediaDeviceInfo interface: [object InputDeviceInfo] must inherit property "toJSON()" with the proper type
PASS MediaDeviceInfo interface: default toJSON operation on [object InputDeviceInfo]
PASS Navigator interface: attribute mediaDevices
PASS Navigator interface: operation getUserMedia(MediaStreamConstraints, NavigatorUserMediaSuccessCallback, NavigatorUserMediaErrorCallback)
PASS Navigator interface: navigator must inherit property "mediaDevices" with the proper type
PASS Navigator interface: navigator must inherit property "getUserMedia(MediaStreamConstraints, NavigatorUserMediaSuccessCallback, NavigatorUserMediaErrorCallback)" with the proper type
PASS Navigator interface: calling getUserMedia(MediaStreamConstraints, NavigatorUserMediaSuccessCallback, NavigatorUserMediaErrorCallback) on navigator with too few arguments must throw TypeError
Harness: the test ran to completion.