Commit graph

262 commits

Author SHA1 Message Date
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
99827f3d58 Bug 1649032 - Add a test that ensures that we stop all streams if the WebRTC indicator is closed. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D82990
2020-07-13 18:03:14 +00:00
Julian Descottes
3ec6af87ab Bug 1650155 - Remove remaining mentions of whitelist in files using allowMatchingRejectionsGlobally r=Gijs
Depends on D82059

Differential Revision: https://phabricator.services.mozilla.com/D82061
2020-07-03 16:57:25 +00:00
Julian Descottes
3e1e4c22b6 Bug 1650155 - Rename PromiseTestUtils.whitelistRejectionsGlobally to allowMatchingRejectionsGlobally r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82059
2020-07-03 17:01:29 +00:00
Sarah Bird
d1626da38c Bug 1647501 - Rename "test slave" -> "test machine", r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81908
2020-07-02 01:06:01 +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
Dorel Luca
d4c820fa0f 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
f457ccd655 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
0e4c101ea6 Bug 1642803 - Cancel notification silencing once the display share is over. r=pbz
Depends on D78120

Differential Revision: https://phabricator.services.mozilla.com/D78346
2020-06-09 23:37:37 +00:00
Mike Conley
4d269fae1d 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
9f0ce65335 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
af9ad9dfd0 Bug 1642803 - Cancel notification silencing once the display share is over. r=pbz
Depends on D78120

Differential Revision: https://phabricator.services.mozilla.com/D78346
2020-06-05 11:03:29 +00:00
Mike Conley
ce7a7c818e 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
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
Mike Conley
483aec57a3 Bug 1641243 - Make sure we can show tab switch warning when using in-order keyboard navigation. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D77141
2020-05-28 17:02:38 +00:00
Mike Conley
a7067d3028 Bug 1638397 - Add tests for some WebRTC window and screen sharing UI. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D77129
2020-05-28 16:52:40 +00:00
Mike Conley
4ad11c158e 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
7ef149ee09 Bug 1639997 - Split out WebRTC browser mochitests into a variation that runs with the legacy behaviour. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D76737
2020-05-26 18:01:18 +00:00
Jan-Ivar Bruaroey
2c56851309 Bug 1635716 - Test that pending gUM requests are removed on navigation. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D75631
2020-05-18 19:49:01 +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
Johann Hofmann
b59132460a Bug 1632474 - Consider src in unsafe allow all checks for feature policy. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D73147
2020-05-12 19:43:23 +00:00
Mike Conley
e08905a04a 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
Johann Hofmann
4589a65ac7 Bug 1627035 - Don't reprompt when an allow="*" iframe is actively sharing webrtc. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D71727
2020-04-21 16:01:07 +00:00
Kris Maglione
fca28e80fb Bug 1618170: Fix merge bustage from BrowsingContext.getChildren change. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D64427

--HG--
extra : moz-landing-system : lando
2020-04-01 19:31:54 +00:00
Bogdan Tara
a5b138463b Bug 1618170 - Correct typo to disable browser_devices_get_user_media_in_frame.js on windows & linux build type opt r=gbrown a=test-only
--HG--
extra : rebase_source : 589163ac11011ed2fa73ab0084771a20d3c8b03a
2020-03-20 14:55:39 +02:00
Bogdan Tara
5bfa3a8a21 Bug 1618170 - Disable browser_devices_get_user_media_in_frame.js on windows & linux build type opt r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D67015

--HG--
extra : rebase_source : 49919459c3316f48660ee953829bb7bf43ec48b6
2020-03-18 04:55:31 +00:00
Mark Banner
15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Neil Deakin
61f5db736f Bug 1618447, gShouldObserveSubframes should only be set for the out of process frames part of the test, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64864

--HG--
extra : moz-landing-system : lando
2020-03-04 01:58:27 +00:00
Kris Maglione
9fe389f830 Bug 1609443: Part 2 - Fix most dodgy uses of fission.autostart pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D64435

--HG--
extra : moz-landing-system : lando
2020-02-26 19:43:32 +00:00
Kris Maglione
f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab
73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione
c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli
6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione
e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +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
Sebastian Hengst
6705b82917 Bug 1611454 - browser_devices_get_user_media_in_frame.js: enable dom.security.featurePolicy.enabled and permissions.delegation.enabled. r=mjf
These prefs got disabled for Late Beta and Release in bug 1611454 but the test
uses the feature (access to media devices from frame).

Differential Revision: https://phabricator.services.mozilla.com/D61093

--HG--
extra : moz-landing-system : lando
2020-01-27 15:04:16 +00:00
Neil Deakin
3be2884a5d Bug 1608584, shouldn't pass true to browserLoaded to wait for the subframe to load, also fixes 1608497, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D60439

--HG--
extra : moz-landing-system : lando
2020-01-22 14:56:36 +00:00
Johann Hofmann
2d827839ff Bug 1609973 - Fix wrong localization string in WebRTCParent.js. r=nhnt11
Instead of correcting the string in the localization file, I use the slightly inconsistent
string in code now, to avoid issues with uplifting.

Differential Revision: https://phabricator.services.mozilla.com/D60657

--HG--
extra : moz-landing-system : lando
2020-01-22 12:55:26 +00:00
Neil Deakin
0799339d93 Bug 1601301, modify browser_devices_get_user_media_in_frame.js to iterate twice, once performing the operation on two same-process frames, and a second time with frames that in fission mode would be in different processes, r=johannh
The observer listening is also modified to listen to notifications from all frames.

Differential Revision: https://phabricator.services.mozilla.com/D56571

--HG--
extra : moz-landing-system : lando
2020-01-10 15:35:03 +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
Neil Deakin
f4cc73018c Bug 1601301, add an 'include descendants' flag to mediaCaptureWindowState. With fission, need to handle each subframe separately, r=jib
The window will be supplied in the recording-device-events notification and mediaCaptureWindowState will be called on each window in turn.

Differential Revision: https://phabricator.services.mozilla.com/D56569

--HG--
extra : moz-landing-system : lando
2020-01-10 15:29:08 +00:00
Thomas Nguyen
37de21b36d Bug 1604813 - Clear checked value if the "Remember this decision" checkbox is hidden. r=johannh
If we are setting up a new permission prompt from iframe navigation, the popup
notification may reuse "checked" value from previous notification, even if the
checkbox is hidden. We should clear checkbox.checked (set to false) if the
checkbox is hidden

Differential Revision: https://phabricator.services.mozilla.com/D58516

--HG--
extra : moz-landing-system : lando
2020-01-07 10:47:44 +00:00
Kris Maglione
0b1a146519 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

Differential Revision: https://phabricator.services.mozilla.com/D53744

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +00:00
Kris Maglione
9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione
94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +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
shindli
91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione
356e59c6bc Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

Differential Revision: https://phabricator.services.mozilla.com/D53744

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:22 +00:00
Kris Maglione
3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione
16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00