Closed Bug 1257950 Opened 8 years ago Closed 8 years ago

getUserMedia spec switched from SecurityError (for permission denied) to NotAllowedError.

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox48 --- affected
firefox49 --- fixed

People

(Reporter: jib, Assigned: jib)

References

()

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Rank: 25
Priority: -- → P2
Assignee: nobody → jib
Comment on attachment 8750162 [details]
MozReview Request: Bug 1257950 - getUserMedia switched from SecurityError to NotAllowedError.

https://reviewboard.mozilla.org/r/51311/#review47975
Attachment #8750162 - Flags: review?(rjesup) → review+
Comment on attachment 8750162 [details]
MozReview Request: Bug 1257950 - getUserMedia switched from SecurityError to NotAllowedError.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/51311/diff/1-2/
Rebased.
https://hg.mozilla.org/mozilla-central/rev/807644286067
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Do we know when this change to the spec will be published? It's not in the working copy at https://w3c.github.io/mediacapture-main/ or in a published spec yet. Trying to figure out when this will become "real" to developers.
OK, turns out it was updated but I didn't read far enough along. Turns out that SecurityError still exists but with another meaning, and since it was mentioned first...

All exceptions are now documented as per the latest spec: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: