Commit graph

282 commits

Author SHA1 Message Date
Bryce Seager van Dyk
16f81a9237 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
2ef849fd1c 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
5e5e77b651 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
13771db18d 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
400ed7383c 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
6982d77a14 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
556b8f1362 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
2674c6abe4 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
15ad15a01c 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
afa4e42330 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
8ff4b701e4 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
d94f9c0a90 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
f58f5ab06c 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
6328418209 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
66fe5653ff 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
868935867c 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
6445d181dc 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
e117dc4695 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
868eb8a1f8 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
68b66ca6bd 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
354a4a1210 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
e0a8c9cdae 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
f652d0465b 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
3143e581af 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
be5766d15a 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
d115b9a6ea 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
974f560325 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
e5fb1763cc 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
38b14b57d0 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
093544ac23 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
4cbbdd3058 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
bf6bb6f1c4 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
490f3dcbdf 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
9af48e3c6d 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
881576fd11 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
ab0ae62c5f 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
27a590bd9e 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
baa852c82b 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
55cdaf6040 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
9ed5c3ff6f 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
93c3fbc24e 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
a316bd1675 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
573977550b 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
716c233a84 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
ab2b2aaf18 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
8c5c4f1dd7 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
e3806f335f 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
64d1a3665c 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

--HG--
extra : moz-landing-system : lando
2020-02-25 18:08:06 +00:00
Neil Deakin
16f95497b9 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

--HG--
rename : browser/modules/webrtcUI.jsm => browser/actors/WebRTCParent.jsm
extra : moz-landing-system : lando
2020-01-10 15:09:59 +00:00
Emma Malysz
57215abe07 Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751

--HG--
rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml
rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml
rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml
rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml
rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml
rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml
rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml
rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml
rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml
rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml
rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml
rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml
rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml
rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml
rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml
extra : moz-landing-system : lando
2019-12-11 00:27:19 +00:00