Commit Graph

348 Commits

Author SHA1 Message Date
Karl Tomlinson
76239a2475 Bug 1712898 test that escaping selectAudioOutput prompt does not block future prompts r=jib,pbz
Differential Revision: https://phabricator.services.mozilla.com/D116795
2021-06-09 04:01:39 +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
Joel Maher
4b914afbb8 Bug 1704640 - Move mochitest browser-chrome / media from osx 10.14 to osx 10.15. r=ahal,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D115951
2021-05-27 16:06:03 +00:00
Michelle Goossens
e79b25342d Bug 1711500 - Remove checks for gProton and gProtonDoorhangers smart pref getters from tests r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D115748
2021-05-24 13:46:39 +00:00
Csoregi Natalia
010df0501b Backed out changeset e01ec8694924 (bug 1700957) as requested. CLOSED TREE 2021-04-28 18:09:01 +03:00
Emma Malysz
91c90b996d Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 03:17:56 +00:00
Butkovits Atila
e3f5ddbc25 Backed out changeset 1c362512f27b (bug 1700957) for causing failures at test_chrome_only_media_queries.html. CLOSED TREE 2021-04-28 05:55:14 +03:00
Emma Malysz
75fb2ad086 Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 00:29:45 +00:00
Joel Maher
5a5bc0c176 Bug 1706716 green up mda, xpcshell, browser-chrome, reftest for apple silicon. r=necko-reviewers,extension-reviewers,preferences-reviewers,application-update-reviewers,zombie,ahal,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D113001
2021-04-22 18:39:40 +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
b4b9b9462e Bug 1700105 - Fix tests that fail when browser.proton.doorhangers.enabled is true. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D109959
2021-03-29 14:34:13 +00:00
Bernard Igiri
186b5a93bd Bug 1692303 - Flip default value to browser.ctrlTab.recentlyUsedOrder to false r=mstriemer,mconley,preferences-reviewers
Changed default Ctrl+Tab preference to false and added UI migration to reset it for users who haven't not used the feature before.

Differential Revision: https://phabricator.services.mozilla.com/D109653
2021-03-26 21:56: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
Paul Zuehlcke
d10e7afe27 Bug 1698000 - Test that permission grace periods are cleared by blocks. r=jib,johannh
Differential Revision: https://phabricator.services.mozilla.com/D108146
2021-03-16 13:44:42 +00:00
Jan-Ivar Bruaroey
9ab5e35fa8 Bug 1693677 - Test permission grace periods. r=mconley,pbz
Differential Revision: https://phabricator.services.mozilla.com/D107948
2021-03-13 19:15:57 +00:00
Jan-Ivar Bruaroey
21e39bbf89 Bug 1693677 - Fix bug where nsIMediaDevice active devices list would omit camera from joint gUM requests. r=pehrsons
Fix a bug where camera was being omitted from accounting in cases where
camera and mic where obtained jointly with a single getUserMedia call.

The permission grace period implementation relies on more accurate
accounting of when individual active devices are deactivated, and this bug
caused an existing test to fail and permission to slip through by failing
to account for cameras needing clearing from webrtcUI.activePerms during a
session.

Also remove a few redundant lines from said test (behavior neutral).

Depends on D106043

Differential Revision: https://phabricator.services.mozilla.com/D107769
2021-03-13 19:15:56 +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
Jan-Ivar Bruaroey
4968b6c23f Bug 1693677 - Test permission grace periods. r=mconley,pbz
Differential Revision: https://phabricator.services.mozilla.com/D107948
2021-03-12 19:15:14 +00:00
Jan-Ivar Bruaroey
afaa01e699 Bug 1693677 - Fix bug where nsIMediaDevice active devices list would omit camera from joint gUM requests. r=pehrsons
Fix a bug where camera was being omitted from accounting in cases where
camera and mic where obtained jointly with a single getUserMedia call.

The permission grace period implementation relies on more accurate
accounting of when individual active devices are deactivated, and this bug
caused an existing test to fail and permission to slip through by failing
to account for cameras needing clearing from webrtcUI.activePerms during a
session.

Also remove a few redundant lines from said test (behavior neutral).

Depends on D106043

Differential Revision: https://phabricator.services.mozilla.com/D107769
2021-03-12 19:15:14 +00: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
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
0450c2c123 Bug 1697061 - Detach screen sharing warning message from video, and move put Learn more link on its own line. r=flod,pbz
Differential Revision: https://phabricator.services.mozilla.com/D107569
2021-03-09 15:40:36 +00:00
Mike Conley
bef38e7fd0 Bug 1696991 - Remove DOM Notification silencing warning text from WebRTC screen sharing panel. r=pbz
This warning is redundant and styled strangely given its message. We'll just remove
it altogether.

Differential Revision: https://phabricator.services.mozilla.com/D107515
2021-03-09 15:40:35 +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
Mark Banner
c991d8611e Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +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
Butkovits Atila
16e20cfd02 Bug 1651716 -Disable browser_WebrtcGlobalInformation.js on Win Debug for high failure rate. r=mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100524
2020-12-31 14:47:19 +00:00
pbz
c172329dd9 Bug 1642747 - Don't blur closing active tab early if screensharing. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D96726
2020-12-10 11:45:42 +00:00
Byron Campen [:bwc]
528426dad0 Bug 1626278: Add a browser-chrome test for the WebrtcGlobalInformation interface. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D92637
2020-11-19 15:12:48 +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
186bbb4663 Bug 1597451 - Test gUM in a same-process nested iframe behind an oop iframe. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D93077
2020-10-21 07:44:42 +00:00
Andreas Pehrson
3dbca47fb4 Bug 1597451 - postMessage to the correct ancestor frame in getUserMedia chrome frame tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D93076
2020-10-21 07:44:42 +00:00
Andreas Pehrson
e34f5951b7 Bug 1597451 - Remove the almost-duplicate gum_in_oop_frame.html. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D93074
2020-10-21 07:44:42 +00:00