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

RESOLVED FIXED in Firefox 49

Status

()

Core
WebRTC: Audio/Video
P2
normal
Rank:
25
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jib, Assigned: jib)

Tracking

({dev-doc-complete})

Trunk
mozilla49
dev-doc-complete
Points:
---

Firefox Tracking Flags

(firefox48 affected, firefox49 fixed)

Details

(URL)

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

Rank: 25
Priority: -- → P2
Created attachment 8750162 [details]
MozReview Request: Bug 1257950 - getUserMedia switched from SecurityError to NotAllowedError.

Review commit: https://reviewboard.mozilla.org/r/51311/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/51311/
Attachment #8750162 - Flags: review?(rjesup)
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.
Keywords: dev-doc-needed

Comment 7

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/807644286067
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox49: --- → fixed
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
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.