17 lines
595 B
Diff
17 lines
595 B
Diff
diff --git a/browser/actors/WebRTCParent.jsm b/browser/actors/WebRTCParent.jsm
|
|
--- a/browser/actors/WebRTCParent.jsm
|
|
+++ b/browser/actors/WebRTCParent.jsm
|
|
@@ -870,6 +870,11 @@
|
|
);
|
|
item.deviceId = device.id;
|
|
item.mediaSource = type;
|
|
+
|
|
+ // In this case the OS sharing dialog will be the only option and
|
|
+ // can be safely pre-selected.
|
|
+ menupopup.parentNode.selectedItem = item;
|
|
+ menupopup.parentNode.disabled = true;
|
|
break;
|
|
}
|
|
if (type == "application") {
|
|
|