Bug 1479051 - [macOS 10.14] WebRTC sites silently fail if user previously clicked...
commit206f542c37b1dd7e0107a4e0bc57cb00c6f07471
authorHaik Aftandilian <haftandilian@mozilla.com>
Wed, 10 Oct 2018 08:28:41 +0000 (10 08:28 +0000)
committerHaik Aftandilian <haftandilian@mozilla.com>
Wed, 10 Oct 2018 08:28:41 +0000 (10 08:28 +0000)
tree01efe743f1041424f78fa55f20b1dc32607c81bd
parent5a64fcf173d1db9ec4fedc0cce87cf12dd7b362e
Bug 1479051 - [macOS 10.14] WebRTC sites silently fail if user previously clicked "Don't Allow" for Firefox camera/mic access r=johannh

Check if we have permission from the OS to access the camera and microphone after the user has granted access to a site.

If permission is denied at the OS level, but granted to the site within Firefox, return NotFoundError.

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

--HG--
extra : moz-landing-system : lando
browser/actors/WebRTCChild.jsm
browser/modules/webrtcUI.jsm
dom/media/MediaManager.cpp