Closed Bug 1213512 Opened 10 years ago Closed 5 years ago

getUserMedia({ }) should be a TypeError

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox44 --- wontfix
firefox85 --- fixed

People

(Reporter: jib, Assigned: karlt)

References

(Blocks 1 open bug, )

Details

Attachments

(11 files)

47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
rather than NotSupportedError.
backlog: --- → webrtc/webaudio+
Rank: 25
Priority: -- → P2
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3

On m-c now, this is a MediaStreamError that looks a bit like a TypeError.

https://treeherder.mozilla.org/jobs?repo=try&revision=c924f53b2fae48743f898a77d874c916d5875dfd

Assignee: nobody → karlt
Blocks: 1453013
Status: NEW → ASSIGNED

https://bug802982.bmoattachments.org/attachment.cgi?id=672704 was a crash in
EnumerateVideoDevices. Presumably the constraint was not required at that
time, but the intent of the test was to exercise video capture code.

Depends on D95964

for consistency with ErrorResult and dom::Promise, which will mean no reverse
conversion is required for rejecting Promises.

Depends on D95966

OverconstrainedError is not yet supported.

Depends on D95970

Blocks: 1675891
Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5488c1091312 don't end tests before then() handler has run r=pehrsons https://hg.mozilla.org/integration/autoland/rev/6685a2c5158a improve checks on TypeError getUserMedia() rejection reason r=jib https://hg.mozilla.org/integration/autoland/rev/38a5df003dcc improve checks on NotAllowedError getUserMedia() rejection reason r=jib https://hg.mozilla.org/integration/autoland/rev/21aa4a24335f improve checks on InvalidStateError and TypeError getDisplayMedia() rejections r=jib https://hg.mozilla.org/integration/autoland/rev/f9b1c03019a6 add a constraint so that mozGetUserMedia does not fail immediately r=jib https://hg.mozilla.org/integration/autoland/rev/e20da67e6306 remove unused MediaStreamError constructor r=jib https://hg.mozilla.org/integration/autoland/rev/992a979b7285 use UTF8 for MediaMgrError and SpeechRecognitionError message r=jib https://hg.mozilla.org/integration/autoland/rev/f10b1dba4d05 remove unused NS_ERROR_DOM_FILE_ABORT_ERR r=baku https://hg.mozilla.org/integration/autoland/rev/fedd5a65269a use a DOMException for MaybeRejectWithNotReadableError() r=baku https://hg.mozilla.org/integration/autoland/rev/c8dfeadab096 remove unused MediaMgrErr::Name::NotSupportedError r=jib https://hg.mozilla.org/integration/autoland/rev/13e7ec11d449 reject MediaDevices method promises with existing standard errors r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26539 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: