Commit graph

161 commits

Author SHA1 Message Date
Katherine Patenio
130ce23c4c Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 18:44:48 +00:00
Cristian Tuns
110cfccc1f Backed out 2 changesets (bug 1834831) for causing node failures with checkBundles CLOSED TREE
Backed out changeset 58b351a155c8 (bug 1834831)
Backed out changeset 1acbb5231d14 (bug 1834831)
2023-06-19 13:22:35 -04:00
Katherine Patenio
a73f6ec769 Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 16:46:18 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Mark Banner
474708c181 Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Andreas Pehrson
763e9a2df6 Bug 1816139 - Undo focus mitigation from bug 1421724. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D169786
2023-02-20 08:05:07 +00:00
Karl Tomlinson
1b1286e452 Bug 1800287 Add an "Always Block" option to selectAudioOutput() prompt r=pbz
This also makes the "Not now" secondary action label consistent.  Previously
this was accidentally dependent on allowedOrActiveCameraOrMicrophone(), but
the action was always "Not now" even when the label was 'Block'.

Differential Revision: https://phabricator.services.mozilla.com/D168637
2023-02-09 08:17:45 +00:00
Gijs Kruitbosch
efef52fc92 Bug 1795255 - autofix duplicate imports in tests under browser/, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D166179
2023-01-31 11:48:41 +00:00
Karl Tomlinson
7d1c6fc239 Bug 1712892 skip selectAudioOutput() prompt if the requested device has been previously allowed r=jib
Permission grants are persistent, supporting content use of
selectAudioOutput(previousDeviceId) to maintain the same output(s) on
subsequent same-origin page loads.

Permissions can be revoked from the site permissions panel.

Differential Revision: https://phabricator.services.mozilla.com/D162234
2022-12-13 09:37:35 +00:00
Karl Tomlinson
8b17397e85 Bug 1800580 check audioOutputDevices for webRTC-selectSpeaker-icon aria-describedby r=jib
Differential Revision: https://phabricator.services.mozilla.com/D162076
2022-12-06 05:01:18 +00:00
Mark Banner
2ffde1e92f 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
54623364da 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
7738a75fdd 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
8cd6ed7409 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
8bb4667fae 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
e89faa903f Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner
fe937b78bd 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
2c764178d7 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
78defe09b9 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
764066d093 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
2b1c59ac97 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
a0d39aefa3 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
c90eba97f4 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
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
Andreas Pehrson
018617196c 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
6cc119870c 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
5a34ce8fc8 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
3fad3847c2 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
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
Florian Quèze
c7de4d92a9 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
3ffc2a1848 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
cbda00d7e1 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
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
3d476753eb 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
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
bbdb4f3b7b 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
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
Andreas Pehrson
d340b62834 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
76bb38fdcb 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
03bcb35aed 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
bb2bab98d0 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
7aa395aa21 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
d3644bd0b8 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
9cdefe9bff 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
22de1f0d2a 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
c517528c86 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
ae15a943ed 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
2f2dc70492 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
fca766666b 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