Commit Graph

282 Commits

Author SHA1 Message Date
Bryce Seager van Dyk
d328d4e34a Bug 1706164 - Share screen and window sharing status from webrtcUI via sharedData. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D115416
2021-05-24 16:50:19 +00:00
Sandor Molnar
af01e6d592 Backed out 4 changesets (bug 1706164) for causing build bustages in media/eme/MediaKeys. CLOSED TREE
Backed out changeset 5d3f67175482 (bug 1706164)
Backed out changeset 4630540c3717 (bug 1706164)
Backed out changeset 4a2463270858 (bug 1706164)
Backed out changeset a2b896ddc631 (bug 1706164)
2021-05-21 23:21:58 +03:00
Bryce Seager van Dyk
09bde975f9 Bug 1706164 - Share screen and window sharing status from webrtcUI via sharedData. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D115416
2021-05-21 19:59:53 +00:00
Jan-Ivar Bruaroey
8f28732e8f Bug 1703674 - Revoking cam or mic permission revokes both if either is capturing. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D111174
2021-04-09 20:48:41 +00:00
Paul Zuehlcke
d428189879 Bug 1698513 - Do not start WebRTC permission grace-period on permission revoke. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D108842
2021-03-25 11:21:16 +00:00
Alexandru Michis
cc988b542f Backed out changeset 24ff7bb331e0 (bug 1698513) for causing bc failures in browser_devices_get_user_media_in_frame.js
CLOSED TREE
2021-03-24 22:56:07 +02:00
Paul Zuehlcke
0d748fa8d8 Bug 1698513 - Do not start WebRTC permission grace-period on permission revoke. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D108842
2021-03-24 19:40:48 +00:00
Florian Quèze
7ab653dac1 Bug 1697800 - webrtcUI.getActiveStreams should not throw during tab closing, r=johannh.
Depends on D108011

Differential Revision: https://phabricator.services.mozilla.com/D108012
2021-03-17 17:39:31 +00:00
Mike Conley
f943bc8e5a Bug 1693677 - Add a 50s grace period for re-requesting a camera or microphone device in a tab. r=mconley,johannh
Depends on D106160

Differential Revision: https://phabricator.services.mozilla.com/D106043
2021-03-13 19:15:55 +00:00
Bogdan Tara
73bd7f34e3 Backed out 3 changesets (bug 1693677) for browser_devices_get_user_media_grace.js failures CLOSED TREE
Backed out changeset df230c366ab3 (bug 1693677)
Backed out changeset 816d2b917939 (bug 1693677)
Backed out changeset f9895c7f1b26 (bug 1693677)
2021-03-13 01:16:10 +02:00
Mike Conley
63e9c154b2 Bug 1693677 - Add a 50s grace period for re-requesting a camera or microphone device in a tab. r=mconley,johannh
Depends on D106160

Differential Revision: https://phabricator.services.mozilla.com/D106043
2021-03-12 19:15:13 +00:00
Paul Zuehlcke
09e816bda6 Bug 1695615 - Updated permission panel for double-keyed WebRTC permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107071
2021-03-12 10:06:16 +00:00
Paul Zuehlcke
927176d829 Bug 1695615 - Removed obsolete per-frame permission tracking for geolocation and WebRTC permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107070
2021-03-12 10:06:16 +00:00
Neil Deakin
8f89b771ca Bug 1682442, prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab, r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D99738
2021-02-25 00:56:15 +00:00
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