Commit Graph

150 Commits

Author SHA1 Message Date
Mark Banner
5407bdffa8 Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Tooru Fujisawa
328d63ce7f Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
f009ba2983 Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
bf0a8b781b Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Mark Banner
7ea3c792f2 Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-11 16:41:29 +00:00
smolnar
19781d16c7 Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner
de1754318e Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Karl Tomlinson
039e8ca8dd Bug 1712898 test selectAudioOutput prompt UI r=jib
Differential Revision: https://phabricator.services.mozilla.com/D115996
2021-06-09 04:01:38 +00:00
Karl Tomlinson
b6dd6d37d9 Bug 1712898 add a basic prompt for selectAudioOutput() r=jib,flod,pbz
This contains the code paths that are similar to the prompt for getUserMedia().

Permanent permissions and grace period are not included here and their model
may differ from that of getUserMedia().
See https://bugzilla.mozilla.org/show_bug.cgi?id=1712892

Differential Revision: https://phabricator.services.mozilla.com/D115994
2021-06-09 04:01:38 +00:00
Karl Tomlinson
cf86580bc4 Bug 1712898 introduce helper functions for reloading r=jib
Depends on D115994

Differential Revision: https://phabricator.services.mozilla.com/D115995
2021-06-02 08:04:12 +00:00
Karl Tomlinson
23e6709ada Bug 1712898 share code for testing microphone and camera selectors r=pbz
This is expected to have further benefit when a speaker device selector is
added.

Differential Revision: https://phabricator.services.mozilla.com/D115993
2021-06-02 08:04:11 +00:00
Karl Tomlinson
d2c2d6145f Bug 1712898 pass expected device types to checkDeviceSelectors as a single array r=florian
to make the meaning readable at the call site.

This is expected to have further benefit when a speaker device selector is
added.

Differential Revision: https://phabricator.services.mozilla.com/D115992
2021-06-02 08:04:11 +00:00
Jan-Ivar Bruaroey
dafa3d1384 Bug 1697487 - Test that gray cam/mic indicator is shown during permission grace periods. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D111951
2021-04-14 11:20:16 +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
Andreas Pehrson
4d81bce3fa Bug 1395819 - Add b-c test cases for removing temporary permissions per-kind by stopping tracks. r=johannh,jib
Differential Revision: https://phabricator.services.mozilla.com/D109942
2021-04-07 12:39:54 +00:00
Alexandru Michis
0832fa887e Backed out 3 changesets (bug 1395819) for causing cpp failures in MediaManager.cpp
CLOSED TREE

Backed out changeset 813c7ce3607b (bug 1395819)
Backed out changeset 46083fddeb0d (bug 1395819)
Backed out changeset 990441f04a86 (bug 1395819)
2021-04-06 19:13:45 +03:00
Andreas Pehrson
be80c4e7af Bug 1395819 - Add b-c test cases for removing temporary permissions per-kind by stopping tracks. r=johannh,jib
Differential Revision: https://phabricator.services.mozilla.com/D109942
2021-04-06 14:54:00 +00:00
Mike Conley
6f62854fd2 Bug 1697295 - Replace camera and microphone labels with icons in WebRTC permission panel when Proton is enabled. r=pbz,Jamie,fluent-reviewers,desktop-theme-reviewers,harry,Gijs
This is not an exhaustive redress of the WebRTC panel. It just replaces the labels
preceding the camera/microphone selectors with icons if Proton is enabled. There's
still a bunch of styling work to do in this panel for Proton, but that will occur
in a follow-up patch.

Differential Revision: https://phabricator.services.mozilla.com/D107718
2021-03-12 17:42:54 +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
Florian Quèze
03833ba429 Bug 1697797 - Add profiler markers in WebRTC front-end tests, r=mconley.
Depends on D108009

Differential Revision: https://phabricator.services.mozilla.com/D108010
2021-03-11 21:39:50 +00:00
Mike Conley
2f915babb0 Bug 1693644 - Only show a label for the camera/mic in the WebRTC device selector if there's only 1 device available or requested. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D105932
2021-02-23 15:13:45 +00:00
Paul Zuehlcke
b6fbc9a3ff Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-02-05 13:40:42 +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
2c4fecbca6 Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-01-29 16:11: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
31296e2f9e Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-01-28 12:14:43 +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
Andreas Pehrson
9f81146616 Bug 1597451 - Make runTests able to track nested iframes. r=johannh
This would allow us to track tests in e.g., a same-process iframe inside an
out-of-process iframe.

Differential Revision: https://phabricator.services.mozilla.com/D93073
2020-10-15 08:00:06 +00:00
Mike Conley
fb9e758891 Bug 1669801 - Fix the shared device menupopup when sharing an application window over WebRTC. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D92994
2020-10-13 01:13:04 +00:00
Mike Conley
25f995b3c3 Bug 1661474 - Hide the global mute toggles by default, and only show the new indicator when sharing a display. r=pbz
Depends on D91644

Differential Revision: https://phabricator.services.mozilla.com/D88478
2020-09-30 21:14:10 +00:00
Narcis Beleuzu
d67d02f05c Backed out 9 changesets (bug 1661474, bug 1668010, bug 1663784, bug 1665490) for bc failures on browser_all_files_referenced.js . CLOSED TREE
Backed out changeset 9a5e08c77923 (bug 1668010)
Backed out changeset 9bcba802456e (bug 1665490)
Backed out changeset 82ba64e4e81f (bug 1661474)
Backed out changeset 9b5d89c13aa3 (bug 1661474)
Backed out changeset e812f197f225 (bug 1663784)
Backed out changeset ddfbe96735f3 (bug 1663784)
Backed out changeset 282d763360a2 (bug 1663784)
Backed out changeset 9e5267b83d94 (bug 1663784)
Backed out changeset 53a57a5b60d3 (bug 1663784)
2020-10-01 00:08:50 +03:00
Mike Conley
0d469c4a46 Bug 1661474 - Hide the global mute toggles by default, and only show the new indicator when sharing a display. r=pbz
Depends on D91644

Differential Revision: https://phabricator.services.mozilla.com/D88478
2020-09-30 15:15:58 +00:00
Razvan Maries
80c4993f85 Backed out 8 changesets (bug 1661474, bug 1663784, bug 1665490) for build bustages on IconLoaderHelperCocoa.h and nsMenuItemIconX.mm. CLOSED TREE
Backed out changeset 4a035c0339f8 (bug 1665490)
Backed out changeset 573e8d8d1fc8 (bug 1661474)
Backed out changeset c2d5b0b0a1a3 (bug 1661474)
Backed out changeset 97be0dd0742d (bug 1663784)
Backed out changeset 428926be2268 (bug 1663784)
Backed out changeset a737df82383a (bug 1663784)
Backed out changeset d1faf309c9d0 (bug 1663784)
Backed out changeset 4ee61c4a6bc8 (bug 1663784)
2020-09-30 02:16:00 +03:00
Mike Conley
2be147db6c Bug 1661474 - Hide the global mute toggles by default, and only show the new indicator when sharing a display. r=pbz
Depends on D91644

Differential Revision: https://phabricator.services.mozilla.com/D88478
2020-09-29 06:51:43 +00:00
Mike Conley
b0f27dc578 Bug 1655078 - Make the 'Stop Sharing' button in the WebRTC indicator stop all screen sharing streams. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D85414
2020-08-05 03:38:19 +00:00
Bogdan Tara
e743b40e47 Backed out changeset 33eb26623d7e (bug 1655078) for browser_stop_sharing_button.js failures CLOSED TREE 2020-08-05 01:00:42 +03:00
Mike Conley
aee9e6de85 Bug 1655078 - Make the 'Stop Sharing' button in the WebRTC indicator stop all screen sharing streams. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D85414
2020-08-04 20:50:19 +00:00
Joel Maher
b5ff176f81 Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl
fix browser chrome tests to support Object.is instead of ==

Differential Revision: https://phabricator.services.mozilla.com/D84539
2020-07-27 17:02:35 +00:00
Gijs Kruitbosch
a25d1a59b7 Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-23 14:04:49 +00:00
Dorel Luca
10867ecce0 Backed out changeset 3671a57712e4 (bug 1646780) for Browser-chrome failures in webrtc/browser_devices_get_user_media_tear_off_tab.js 2020-06-19 04:22:23 +03:00
Gijs Kruitbosch
e7ae448a2d Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-19 00:02:11 +00:00
Mike Conley
a6d30886ad Bug 1642804 - Make sure to show notification silencing option in private browsing WebRTC screen sharing panel. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D78120
2020-06-09 23:37:24 +00:00
Razvan Maries
7bc0871a36 Backed out 2 changesets (bug 1642804, bug 1642803) for perma failures on browser_devices_get_user_media_in_xorigin_frame.js. CLOSED TREE
Backed out changeset 48f9a72a27a0 (bug 1642803)
Backed out changeset 53ec379c8e0e (bug 1642804)
2020-06-09 18:57:29 +03:00
Mike Conley
93f83f0725 Bug 1642804 - Make sure to show notification silencing option in private browsing WebRTC screen sharing panel. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D78120
2020-06-09 10:33:30 +00:00
Mike Conley
285bacc8f1 Bug 1639997 - Update WebRTC browser mochitests to test both old and new global indicators. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D76738
2020-05-26 18:01:47 +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
204181114e Bug 1634703 - Return nsIMediaDevice active devices list from mediaCaptureWindowState. r=jib,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D73479
2020-05-12 14:49:46 +00:00
Kris Maglione
27a6ede8fd Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 22:33:53 +00:00
Arthur Iakab
7dc57054cd Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione
9b4f095126 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 21:03:58 +00:00