mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 1036653 - changes to webrtcUI to support applications r=florian
This commit is contained in:
parent
98d51d576f
commit
38c5d1eaf5
@ -349,7 +349,9 @@ function prompt(aContentWindow, aCallID, aAudio, aVideo, aDevices, aSecure) {
|
||||
// Finally add all the window names.
|
||||
let separatorNeeded = true;
|
||||
for (let i = 0; i < devices.length; ++i) {
|
||||
if (devices[i].mediaSource == "window") {
|
||||
// treat window and application as the same for UI purposes
|
||||
let deviceMediaSource = devices[i].mediaSource;
|
||||
if (deviceMediaSource == "window" || deviceMediaSource == "application") {
|
||||
if (separatorNeeded) {
|
||||
menupopup.appendChild(chromeDoc.createElement("menuseparator"));
|
||||
separatorNeeded = false;
|
||||
|
Loading…
Reference in New Issue
Block a user