Christoph Kerschbaumer
4366e7bd3e
Bug 1733924: Update tests within browser/base/content/test/webrtc/ to work with https-first enabled r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D127427
2021-10-11 11:25:53 +00:00
Andrew McCreight
82b2768c68
Bug 1733129 - browser_WebrtcGlobalInformation.js should call NoteIntentionalCrash in processes it is killing. r=kmag
...
Doing so will prevent the leak checker from reporting an error when it
fails to find a leak log.
This test was previously disabled on Windows due to the failures, so we
can re-enable it now, hopefully.
Differential Revision: https://phabricator.services.mozilla.com/D126954
2021-09-30 19:50:35 +00:00
Byron Campen
5fa1592cc5
Bug 1680620: Wait until gathering is complete to finish this test. r=ng
...
This should avoid additional lines in the ICE log after we're done.
Differential Revision: https://phabricator.services.mozilla.com/D126851
2021-09-29 17:43:04 +00:00
Ben Hearsum
bd48934297
Bug 1714200: annotate remaining M1 test failures. r=jmaher,application-update-reviewers,bytesized DONTBUILD
...
Depends on D124907
Differential Revision: https://phabricator.services.mozilla.com/D124908
2021-09-08 18:14:01 +00:00
Karl Tomlinson
6b00ab10e3
Bug 1705289 Remove spurious mozMediaSource media track constraint from tests r=jib
...
This constraint does not exist.
https://hg.mozilla.org/mozilla-central/rev/49e5c7d46ea0cd9515d292131259ac539652ce2b#l6.25
Depends on D123560
Differential Revision: https://phabricator.services.mozilla.com/D123561
2021-08-26 08:10:18 +00:00
Karl Tomlinson
61a96593d4
Bug 1705289 require user gesture for screen capture through non-standard mediaSource in getUserMedia() r=jib
...
for consistency with getDisplayMedia().
System callers are trusted to be excluded from the requirement.
The exclusion may not be strictly necessary for capture previews, but removes
any doubt and simplifies testing.
Differential Revision: https://phabricator.services.mozilla.com/D122193
2021-08-24 23:41:18 +00:00
Ben Hearsum
d4084b4d3e
Bug 1714200: skip failing mochitest-browser-chrome tests on M1 machines r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D121221
2021-08-06 19:16:54 +00:00
Karl Tomlinson
3bc1708380
Bug 1720643 perform getUserMedia Permissions Policy checks even when "media.navigator.permission.disabled" is set r=jib
...
"media.getusermedia.microphone.deny" and "media.getusermedia.camera.deny" now
override "media.navigator.permission.disabled".
User permission checks are removed because they are repeated in the app.
Differential Revision: https://phabricator.services.mozilla.com/D120065
2021-07-29 04:49:57 +00:00
Christoph Kerschbaumer
5ee0a6a910
Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 19:16:16 +00:00
Sandor Molnar
5e383dfda4
Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE
2021-07-28 19:47:06 +03:00
Christoph Kerschbaumer
8fef13ba13
Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Karl Tomlinson
390519c870
Bug 1715419 use a speaker icon for selectAudioOutput() prompt anchor r=fluent-reviewers,johannh,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D117261
2021-07-27 06:57:04 +00:00
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