Paul Zuehlcke
a1d23766c7
Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
...
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section
Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-02-05 13:40:35 +00:00
Narcis Beleuzu
926d2f6257
Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
...
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Paul Zuehlcke
480794a586
Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
...
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section
Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-29 16:06:08 +00:00
Brindusan Cristian
b0f9bc02f2
Backed out 2 changesets (bug 1596897) for mochitest failures at browser_setIgnoreCertificateErrors.js. CLOSED TREE
...
Backed out changeset 00c45a405129 (bug 1596897)
Backed out changeset 61304ccbaada (bug 1596897)
2021-01-28 21:53:46 +02:00
Paul Zuehlcke
032c94dfc0
Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
...
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section
Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-28 18:00:44 +00:00
Mike Conley
bccd5b3efd
Bug 1672432 - Don't remove persistent device permissions when clicking 'Stop Sharing' in the WebRTC global indicator. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D94501
2020-10-27 16:28:25 +00:00
Mike Conley
f645f9baab
Bug 1663784 - Rename mozilla.org/widget/macsystemstatusbar to mozilla.org/widget/systemstatusbar. r=spohl
...
Differential Revision: https://phabricator.services.mozilla.com/D89786
2020-09-15 17:38:27 +00:00
Mike Conley
0510a0c94a
Bug 1656127 - Remove some unneeded WebRTC UI probes. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D89790
2020-09-10 17:36:46 +00:00
Mike Conley
a29011cee1
Bug 1658052 - Only remember allowed shared browser tabs for tabbrowser <browser> elements. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D86444
2020-08-10 09:20:29 +00:00
Mike Conley
00807a7677
Bug 1656274 - Add a probe to record when users cause the WebRTC sharing indicator to open. r=pbz,data-review=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D85422
2020-08-04 22:37:39 +00:00
Mike Conley
d39711da49
Bug 1649032 - If the user manages to close the WebRTC indicator, close all of the active streams. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D82989
2020-07-17 01:22:10 +00:00
Bogdan Tara
17ab4cfa11
Backed out 2 changesets (bug 1649032) for leakcheck failures CLOSED TREE
...
Backed out changeset ef80a597db37 (bug 1649032)
Backed out changeset a8462c37bef1 (bug 1649032)
2020-07-16 00:37:06 +03:00
Mike Conley
c702848ffa
Bug 1649032 - If the user manages to close the WebRTC indicator, close all of the active streams. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D82989
2020-07-15 10:22:12 +00:00
pbz
6b4d784f13
Bug 1636496 - Only show global sharing indicator window if we have a media indicator to show. r=johannh
...
The webrtc global indicator shows media indicators based on the indicator state
of the individual tabs.
Determining the visibility of the global indicator based on if there are active
streams (globally), but saving that state on tab level, lead to conditions where,
after a stream had ended, no tab had any indicators set, but a stray global
indicator without any icons would still be shown.
This patch fixes that by only showing the global indicator if there is actually
a tab with an indicator.
Differential Revision: https://phabricator.services.mozilla.com/D79315
2020-06-12 19:18:25 +00:00
Mike Conley
e8637fc196
Bug 1641546 - Make the new WebRTC global sharing indicator a dialog instead of a popup. r=pbz
...
Depends on D77696
Differential Revision: https://phabricator.services.mozilla.com/D77504
2020-06-08 18:36:24 +00:00
Coroiu Cristina
5622ff32da
Backed out 6 changesets (bug 1641546) for permafailing browser-chrome at browser_devices_get_user_media_unprompted_access_tear_off_tab.js
...
Backed out changeset 2652e1c084a7 (bug 1641546)
Backed out changeset 72a62a455c47 (bug 1641546)
Backed out changeset 4746c37be3e6 (bug 1641546)
Backed out changeset a2b64d290c0b (bug 1641546)
Backed out changeset 2dc2a430c2e7 (bug 1641546)
Backed out changeset 041cd14e3893 (bug 1641546)
2020-06-06 19:13:06 +03:00
Mike Conley
75a71620a7
Bug 1641546 - Make the new WebRTC global sharing indicator a dialog instead of a popup. r=pbz
...
Depends on D77696
Differential Revision: https://phabricator.services.mozilla.com/D77504
2020-06-05 14:29:29 +00:00
Mike Conley
8fc3e30761
Bug 1639997 - Have webrtcUI handle the case where the selectedTab is set to null. r=pbz
...
It's possible for gBrowser.selectedTab to be set to null. This should be a no-op, but this
part of webrtcUI that tabbrowser calls doesn't handle the case, and causes an exception to
be thrown. This patch allows the no-op case to occur properly.
Differential Revision: https://phabricator.services.mozilla.com/D76736
2020-05-26 18:01:04 +00:00
Mike Conley
3029be8e7d
Bug 1639997 - Use more appropriate window features for new WebRTC global indicator. r=pbz
...
These features allow the indicator to not pull focus from the originating window, which
is important to maintain user task continuity, especially for screenreader users.
Differential Revision: https://phabricator.services.mozilla.com/D76735
2020-05-26 18:00:46 +00:00
Mike Conley
3f869ebd2a
Bug 1639337 - Factor out the macOS status bar WebRTC indicator into a reusable class. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D76388
2020-05-26 18:00:36 +00:00
Mike Conley
7e930fcd30
Bug 1639283 - Add Telemetry to some of our WebRTC UI. r=pbz, data-review=mmccorquodale
...
Differential Revision: https://phabricator.services.mozilla.com/D76213
2020-05-20 22:51:31 +00:00
pbz
baa18ff142
Bug 1562600 - WebRTCParent: Get document URI from WindowGlobalParent instead of child message. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D76121
2020-05-20 16:25:06 +00:00
Mike Conley
afea9cf0bb
Bug 1634796 - Add a panel that warns users before switching tabs when sharing the window over WebRTC. r=johannh,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D73734
2020-05-18 22:41:43 +00:00
Mike Conley
563c1b3ca3
Bug 1636207 - Create a new WebRTC global indicator. r=fluent-reviewers,flod,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D74333
2020-05-18 18:57:40 +00:00
Mike Conley
6866ad8ccd
Bug 1636207 - Have webrtcUI.getActiveStreams support getting window streams. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D74730
2020-05-18 18:55:54 +00:00
Mike Conley
66255c53af
Bug 1636207 - Include the serialized nsIMediaDevice list with the tab sharing state. r=florian,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D74729
2020-05-18 18:55:41 +00:00
Mike Conley
8975e3ea75
Bug 1636207 - Fork the WebRTC global indicator for a refresh. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D74332
2020-05-18 18:55:28 +00:00
Mike Conley
541b2e9592
Bug 1635257 - Add a checkbox to allow users to suppress notifications from the browser when sharing the screen. r=johannh,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D74244
2020-05-16 00:58:48 +00:00
Noemi Erli
ebf9231c36
Backed out 4 changesets (bug 1635257, bug 1637336) fr causing failures in browser_all_files_referenced.js CLOSED TREE
...
Backed out changeset 732ef8965a6e (bug 1635257)
Backed out changeset e3b350425e08 (bug 1635257)
Backed out changeset 2052da1ed54c (bug 1635257)
Backed out changeset 01ea90534f02 (bug 1637336)
2020-05-16 03:21:32 +03:00
Mike Conley
72e675849b
Bug 1635257 - Add a checkbox to allow users to suppress notifications from the browser when sharing the screen. r=johannh,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D74244
2020-05-15 18:02:17 +00:00
Mike Conley
a27e1f0654
Bug 1634703 - Have the webrtcUI module track which windows are being shared. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D73483
2020-05-12 14:51:08 +00:00
Bogdan Tara
c3097397e9
Backed out 7 changesets (bug 1634703) for testDeviceRecordingEventAudioAndVideo failures CLOSED TREE
...
Backed out changeset b982f5d74610 (bug 1634703)
Backed out changeset 59229853930e (bug 1634703)
Backed out changeset e017380f5539 (bug 1634703)
Backed out changeset 47a3a96b969b (bug 1634703)
Backed out changeset b4af76cfbdaf (bug 1634703)
Backed out changeset 7ef57434b09d (bug 1634703)
Backed out changeset 9df87d346b0f (bug 1634703)
2020-05-11 23:04:54 +03:00
Mike Conley
705f50af5a
Bug 1634703 - Have the webrtcUI module track which windows are being shared. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D73483
2020-05-11 18:48:55 +00:00
Neil Deakin
602bd6e2da
Bug 1616600, properly update the tab-indicator state when a tab is closed; it previously wasn't being removed properly from the per-tab indicator map when the indicator was from a subframe,r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D63535
2020-02-25 18:08:06 +00:00
Neil Deakin
05b7c143a8
Bug 1601301, rework webrtc permission granting UI around JSWindowActor, performing the work of determining the ultimate state for the tab icon and menu in the parent rather than the content process, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D56570
2020-01-10 15:09:59 +00:00
Emma Malysz
ce4da4686b
Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D55751
2019-12-11 00:27:19 +00:00
Thomas Nguyen
d6bcbfc5d6
Bug 1483631 - Restrict nested permission requests in webrtc with permission delegate r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D47417
2019-12-04 15:39:14 +00:00
Gurzau Raul
8fcb9066e6
Backed out 4 changesets (bug 1483631) for failing at browser_temporary_permissions.js on a CLOSED TREE.
...
Backed out changeset f5bb5f6a148f (bug 1483631 )
Backed out changeset c5e562c1d590 (bug 1483631 )
Backed out changeset 7ef09193a7ef (bug 1483631 )
Backed out changeset a909dcbbea2b (bug 1483631 )
2019-12-03 21:57:55 +02:00
Thomas Nguyen
b176e3a1a6
Bug 1483631 - Restrict nested permission requests in webrtc with permission delegate r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D47417
2019-12-03 16:25:31 +00:00
thomasmo
c25abac987
Bug 1591755 - Support Web Permissions in FxR for Desktop r=Gijs,pbz
...
This change will be the first of multiple changes to control permissions in FxR on PC. This change introduces a new class, FxrPermissionPromptPrototype, in the FxR front end code. With the introduction of this class, all permission requests are denied by default. Subsequent changes will provide UI to give user control.
Differential Revision: https://phabricator.services.mozilla.com/D52283
2019-11-14 18:51:32 +00:00
Jan-Ivar Bruaroey
80c0ded2c8
Bug 1588640: Show OS Screen Recording helper prompt when user makes a selection. r=johannh,haik
...
Depends on D49217
Differential Revision: https://phabricator.services.mozilla.com/D49328
2019-10-16 16:13:15 +00:00
Jan-Ivar Bruaroey
6ba5efed23
Bug 1588640: Split out Screen Recording OSX permission from Camera, and reject even own window sharing sans OS permission. r=johannh,haik
...
Differential Revision: https://phabricator.services.mozilla.com/D49217
2019-10-16 19:35:42 +00:00
Haik Aftandilian
2e4b769882
Bug 1565738 - Re-enable disabled WebRTC tests on macOS Mojave r=jib
...
Re-enable skipped webRTC tests on Mac which were disabled due to the macOS 10.14 permission prompts causing timeouts.
Don't trigger OS camera and microphone permission prompts for fake devices (used for tests).
Differential Revision: https://phabricator.services.mozilla.com/D46893
2019-09-25 17:43:46 +00:00
Paul Zuehlcke
3dca5af03a
Bug 1580189 - Clear geolocation permission for sub-frames with active sharing state. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D45827
2019-09-25 09:16:32 +00:00
Johann Hofmann
496f992524
Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
...
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.
Differential Revision: https://phabricator.services.mozilla.com/D45335
2019-09-17 12:55:42 +00:00
Johann Hofmann
0f48085e60
Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
...
The goal is to
- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.
Differential Revision: https://phabricator.services.mozilla.com/D45333
2019-09-17 12:55:22 +00:00
Bogdan Tara
6e18dc43a2
Backed out 3 changesets (bug 1579489) for ES lint failure on browser_ext_webrtc.js CLOSED TREE
...
Backed out changeset 281d238e6259 (bug 1579489)
Backed out changeset 764628963a3c (bug 1579489)
Backed out changeset 680a45ca89b7 (bug 1579489)
2019-09-17 13:01:37 +03:00
Johann Hofmann
d07be3dcb1
Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
...
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.
Differential Revision: https://phabricator.services.mozilla.com/D45335
2019-09-17 09:26:01 +00:00
Johann Hofmann
6c071c79ab
Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
...
The goal is to
- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.
Differential Revision: https://phabricator.services.mozilla.com/D45333
2019-09-17 09:25:37 +00:00
Mihai Alexandru Michis
b73b68383d
Backed out 3 changesets (bug 1579489) for causing bc failures at browser_ext_webrtc.js CLOSED TREE
...
Backed out changeset 71978ebe41f1 (bug 1579489)
Backed out changeset b5e35c96c2f7 (bug 1579489)
Backed out changeset 71130160afee (bug 1579489)
2019-09-16 22:02:47 +03:00