summaryrefslogtreecommitdiff
path: root/mozilla-1728749.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-1728749.patch')
-rw-r--r--mozilla-1728749.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/mozilla-1728749.patch b/mozilla-1728749.patch
new file mode 100644
index 0000000..08f6217
--- /dev/null
+++ b/mozilla-1728749.patch
@@ -0,0 +1,16 @@
+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") {
+
bgstack15