Граф коммитов

59 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 8d97cadc7f Bug 1614713, add a remote page manager like object that uses JSWindowActor instead. Move access management into a separate module that can be used within a child or parent process. Ensure all RPM calls go through the access manager, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D63713

--HG--
rename : toolkit/components/remotepagemanager/MessagePort.jsm => toolkit/actors/RemotePageChild.jsm
extra : moz-landing-system : lando
2020-04-08 14:08:11 +00:00
Neil Deakin 8d3992adb0 Bug 1558520, rework remote controller to use JSWindowActor instead of having the browser have a controller, r=smaug
When searching for the controller for a command in nsWindowRoot::GetControllerForCommand, look for a focused browsing context instead and get the controller through the Controllers actor associated with that browsing context. When a command update occurs in a window in the child process, send the list of commands to the parent process along with the browsing context for that window. The parent will pass this information to the controllers actor. As long as we can get the right currently focused browsing context descendant, we can get the correct command state and invoke commands through the right actor.

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

--HG--
rename : toolkit/modules/RemoteController.jsm => toolkit/actors/ControllersParent.jsm
extra : moz-landing-system : lando
2020-03-12 16:47:57 +00:00
Bernard Igiri 2791a5ffc6 Bug 1607624 - Migrating UnselectedTabHover to use JSWindowActor r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D64388

--HG--
extra : moz-landing-system : lando
2020-03-06 17:29:03 +00:00
Neil Deakin 6b03089559 Bug 1558323, move addSearchProvider implementation to use JSWindowActor, also helps reduce the extra code in MainProcessSingleton.jsm, r=adw
Differential Revision: https://phabricator.services.mozilla.com/D63534

--HG--
extra : moz-landing-system : lando
2020-02-27 16:30:58 +00:00
Neil Deakin 0355257f83 Bug 1505915, move view source components to use JSWindowActor. This allows view frame source to work in out of process child frames, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D60253

--HG--
rename : toolkit/components/viewsource/content/viewSource-content.js => toolkit/actors/ViewSourceChild.jsm
rename : toolkit/components/viewsource/content/viewSource-content.js => toolkit/actors/ViewSourcePageChild.jsm
rename : toolkit/components/viewsource/ViewSourceBrowser.jsm => toolkit/actors/ViewSourcePageParent.jsm
extra : moz-landing-system : lando
2020-01-24 19:53:55 +00:00
Mike Conley ea70cbeec9 Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2020-01-22 21:24:19 +00:00
Alexander Surkov f9f8b6c906 Bug 1597765 - support auto scroll in out of process frames r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54596

--HG--
rename : toolkit/modules/AutoScrollController.jsm => toolkit/actors/AutoScrollChild.jsm
extra : moz-landing-system : lando
2019-12-19 02:35:57 +00:00
Bogdan Tara bda0db5d2d Backed out changeset c53bf87f1e5d (bug 1597765) for test_login_item.html failures CLOSED TREE
--HG--
rename : toolkit/actors/AutoScrollChild.jsm => toolkit/modules/AutoScrollController.jsm
2019-12-19 04:31:36 +02:00
Alexander Surkov caa3428343 Bug 1597765 - support auto scroll in out of process frames r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54596

--HG--
rename : toolkit/modules/AutoScrollController.jsm => toolkit/actors/AutoScrollChild.jsm
extra : moz-landing-system : lando
2019-12-18 15:09:50 +00:00
Gijs Kruitbosch 00778dd54e Bug 1591212 - make webchannel work with fission, r=vladikoff,mconley
Differential Revision: https://phabricator.services.mozilla.com/D51214

--HG--
rename : toolkit/modules/WebChannel.jsm => toolkit/actors/WebChannelParent.jsm
rename : browser/base/content/test/general/browser_web_channel.js => toolkit/modules/tests/browser/browser_web_channel.js
rename : browser/base/content/test/general/browser_web_channel.html => toolkit/modules/tests/browser/file_web_channel.html
rename : browser/base/content/test/general/browser_web_channel_iframe.html => toolkit/modules/tests/browser/file_web_channel_iframe.html
extra : moz-landing-system : lando
2019-11-02 00:39:35 +00:00
Neil Deakin ec8b2c4f13 Bug 1573836, make autocomplete component fission compatible, r=mak,MattN
Differential Revision: https://phabricator.services.mozilla.com/D47093

--HG--
rename : toolkit/modules/AutoCompletePopupContent.jsm => toolkit/actors/AutoCompleteChild.jsm
rename : toolkit/components/satchel/AutoCompletePopup.jsm => toolkit/actors/AutoCompleteParent.jsm
extra : moz-landing-system : lando
2019-10-09 19:02:57 +00:00
Neil Deakin 1ab71ae6f9 Bug 1553384, update findbar actors to inherit from JSWindowActor so that type ahead find works in out of process iframes, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41226

--HG--
extra : moz-landing-system : lando
2019-09-17 23:29:46 +00:00
Abdoulaye O. Ly 5ce82c5c12 Bug 1562990 - [Fission] Make AudioPlayback work with JSWindowActor. r=NeilDeakin,farre
Differential Revision: https://phabricator.services.mozilla.com/D36648

--HG--
extra : moz-landing-system : lando
2019-08-19 21:17:21 +00:00
Abdoulaye O. Ly b2fe6b48ce Bug 1505907 - [Fission] Make UAWidget elements work with JSWindowActor. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D39094

--HG--
extra : moz-landing-system : lando
2019-07-31 15:09:59 +00:00
Abdoulaye O. Ly 536807149d Bug 1497280 - [Fission] Make DateTimePicker works with JSWindowActor. r=NeilDeakin,mconley
Differential Revision: https://phabricator.services.mozilla.com/D33965

--HG--
rename : toolkit/modules/DateTimePickerParent.jsm => toolkit/actors/DateTimePickerParent.jsm
extra : moz-landing-system : lando
2019-07-04 10:14:41 +00:00
Mihai Alexandru Michis 3583565bf1 Backed out changeset dc987632b5bb (bug 1497280) for causing geckoview failures in MediaElementTest. CLOSED TREE
--HG--
rename : toolkit/actors/DateTimePickerParent.jsm => toolkit/modules/DateTimePickerParent.jsm
extra : rebase_source : d1b8689074b0efb1cd80d1f6b93b8edaaa772112
2019-06-27 00:58:03 +03:00
Abdoulaye O. Ly a27a868591 Bug 1497280 - [Fission] Make DateTimePicker works with JSWindowActor. r=NeilDeakin,mconley
Differential Revision: https://phabricator.services.mozilla.com/D33965

--HG--
rename : toolkit/modules/DateTimePickerParent.jsm => toolkit/actors/DateTimePickerParent.jsm
extra : moz-landing-system : lando
2019-06-26 17:55:48 +00:00
Neil Deakin 31c2f503ab Bug 1558919, switch page zoom to use JSWindowActor so that zooming works in OOP frames, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35019

--HG--
extra : moz-landing-system : lando
2019-06-26 18:16:42 +00:00
Abdoulaye O. Ly 90236200b9 Bug 1560229 - [Fission] Make Autoplay work with JSWindowActor. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D35395

--HG--
extra : moz-landing-system : lando
2019-06-25 20:29:19 +00:00
Abdoulaye O. Ly e3c1f07198 Bug 1533958 - Make <select> works with Fission. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32337

--HG--
extra : moz-landing-system : lando
2019-06-14 16:23:29 +00:00
Brindusan Cristian 9b7249b587 Backed out changeset ced634e12fc3 (bug 1533958) for xpcshell failures at test_ext_telemetry.js. CLOSED TREE 2019-06-13 20:29:19 +03:00
Abdoulaye O. Ly a37fdf2ed9 Bug 1533958 - Make <select> works with Fission. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32337

--HG--
extra : moz-landing-system : lando
2019-06-13 15:53:30 +00:00
Mike Conley d622bd6c52 Bug 1505909 - Make basic context menu actions Fission-compatible. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32876

--HG--
extra : moz-landing-system : lando
2019-06-08 01:09:46 +00:00
Noemi Erli ea35f4b13b Backed out 6 changesets (bug 1505909) for failures in browser_ext_webNavigation_onCreatedNavigationTarget_contextmenu.js CLOSED TREE
Backed out changeset 57336967a6c7 (bug 1505909)
Backed out changeset 8adcacadd689 (bug 1505909)
Backed out changeset bcca6bb913ef (bug 1505909)
Backed out changeset afc11a5ebb6d (bug 1505909)
Backed out changeset 40f0a56ed3af (bug 1505909)
Backed out changeset 3e31f9726798 (bug 1505909)
2019-06-07 19:19:14 +03:00
Mike Conley 6d0f158a7d Bug 1505909 - Make basic context menu actions Fission-compatible. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32876

--HG--
extra : moz-landing-system : lando
2019-06-07 14:28:59 +00:00
Bogdan Tara 4da63aeb53 Backed out 6 changesets (bug 1505909) for bc failures complaining about WebNavigationChild and browser_e10s_about_page_triggeringprincipal.js CLOSED TREE
Backed out changeset 56449fd37aee (bug 1505909)
Backed out changeset 3ff09b79821c (bug 1505909)
Backed out changeset a1a2a9efe22f (bug 1505909)
Backed out changeset 8aeb77291207 (bug 1505909)
Backed out changeset 4aa17e28ee54 (bug 1505909)
Backed out changeset dbe6803d979e (bug 1505909)
2019-06-07 06:15:16 +03:00
Mike Conley 261632c77d Bug 1505909 - Make basic context menu actions Fission-compatible. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32876

--HG--
extra : moz-landing-system : lando
2019-06-06 20:32:50 +00:00
Mike Conley 82bd51e393 Bug 1533949 - Make BrowserChild functions Fission-compatible, and move to BrowserElementChild. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D30725

--HG--
rename : toolkit/actors/BrowserChild.jsm => toolkit/actors/BrowserElementChild.jsm
extra : moz-landing-system : lando
2019-05-30 19:01:29 +00:00
Mike Conley 2c8a12e078 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:17 +00:00
Brindusan Cristian 327ca02963 Backed out 2 changesets (bug 1535760, bug 1535748) for ESlint failure at browser_contextMenu.js:66:11. CLOSED TREE
Backed out changeset 8ab3c856b9c2 (bug 1535748)
Backed out changeset a9a01b1c9e3a (bug 1535760)
2019-03-21 04:35:52 +02:00
Mike Conley 47e70b9c38 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:15 +00:00
Mike Conley 52278792ca Bug 1520329 - Add messaging infrastructure for opening videos in a Picture in Picture window. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16903

--HG--
extra : moz-landing-system : lando
2019-02-12 02:34:38 +00:00
Masayuki Nakano 1895d1bfe3 Bug 1514940 - part 1: Forcibly disable new keyCode/charCode value of keypress events if the document is Confluence r=smaug,Ehsan,kmag
Old Confluence does not aware of conflated model keypress event (see UI Events
spec, https://w3c.github.io/uievents/#determine-keypress-keyCode).
Additionally, Confluence can be hosted with any domains.  Therefore, we cannot
use blacklist to disable the conflated model keypress event only on it.

This patch checks whether current or parent document is Confluence with JS
module, called KeyPressEventModelCheckerChild.  For kicking this module,
nsHTMLDocument dispatches an custom event, CheckKeyPressEventModel, when it
becomes editable only first time.  Finally, if it's a Confluence instance, the
module let PresShell know that we need to use split model keypress event in it.

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

--HG--
extra : moz-landing-system : lando
2019-02-05 11:35:43 +00:00
John Dai f2524a5b86 Bug 1513878 - Part 3: Add getActor test for WindowGlobalParent/WindowGlobalChild. r=nika
Depends on D16845

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

--HG--
extra : moz-landing-system : lando
2019-01-28 19:01:40 +00:00
Dorel Luca 2702a37d2c Backed out 3 changesets (bug 1513878) for build bustage. CLOSED TREE
Backed out changeset a480d92de046 (bug 1513878)
Backed out changeset 0333640041bb (bug 1513878)
Backed out changeset 48b36980fe1c (bug 1513878)
2019-01-25 21:16:50 +02:00
John Dai 3e9e8f9274 Bug 1513878 - Part 3: Add getActor test for WindowGlobalParent/WindowGlobalChild. r=nika
Depends on D16845

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

--HG--
extra : moz-landing-system : lando
2019-01-25 18:45:36 +00:00
Alastor Wu d861885915 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

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

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2019-01-04 18:35:09 +00:00
Bogdan Tara 6defca7262 Backed out 5 changesets (bug 1513681) for browser_autoplay_blocked.js failures CLOSED TREE
Backed out changeset d24ddb803761 (bug 1513681)
Backed out changeset 6f52b229d953 (bug 1513681)
Backed out changeset 79a78732c3ac (bug 1513681)
Backed out changeset d0a9422928ae (bug 1513681)
Backed out changeset 23b5a58e3bcc (bug 1513681)

--HG--
rename : toolkit/actors/AutoplayChild.jsm => toolkit/actors/AudibleAutoplayChild.jsm
2018-12-29 04:00:53 +02:00
alwu c498537436 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

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

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2018-12-21 19:00:40 +00:00
Timothy Guan-tin Chien bdfea4d8cd Bug 1483656 - Part III, Enable UA Widget on Fennec and Reftest by moving UAWidgetsChild.jsm to toolkit r=jaws
This moves UAWidgetsChild.jsm from browser to toolkit so that
Fennec and Reftest could pick it up.

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

--HG--
rename : browser/actors/UAWidgetsChild.jsm => toolkit/actors/UAWidgetsChild.jsm
extra : moz-landing-system : lando
2018-10-03 15:49:33 +00:00
alwu 531d79c2a6 Bug 1485160 - part1 : Add AudibleAutoplayChild actor. r=mconley
The AudibleAutoplayMediaOccurredObserver which I added in bug1476701 was incorrectly removed by bug1472491, it's used to notify audible autoplay event for the shield study and we should add it back.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 19:05:18 +00:00
Kris Maglione 8681170415 Bug 1472491: Follow-up: Add bug component to actors/ directories. r=bustage,npotb CLOSED TREE 2018-08-14 10:14:02 -07:00
Kris Maglione f97cab9ee3 Bug 1472491: Part 5η - Add BrowserChild actor. r=florian f=mconley
MozReview-Commit-ID: D1d4hFGNKXj

--HG--
extra : rebase_source : 2f5eb873285824d6b190b59b93309342d66b45aa
2018-07-30 10:52:55 -07:00
Kris Maglione 56ec495c3d Bug 1472491: Part 5p - Add ExtFindChild actor. r=mikedeboer f=felipe
MozReview-Commit-ID: 3zL8iYeYAPx

--HG--
extra : rebase_source : 8d6d2f4b9776d6e66b66da7fbeba826056afe77d
2018-07-29 21:44:48 -07:00
Kris Maglione 5b2b235a9a Bug 1472491: Part 5μ - Add WebNavigationChild actor. r=mconley
MozReview-Commit-ID: 3AiCuNfMenb

--HG--
rename : toolkit/modules/WebNavigationChild.jsm => toolkit/actors/WebNavigationChild.jsm
extra : rebase_source : 085ffbe1d8cf5b51570bb2de406d2c177a6051be
2018-07-30 12:55:22 -07:00
Kris Maglione be97cc14bc Bug 1472491: Part 5λ - Add Split RemoteFinder into FinderChild and FinderParent actors. r=gijs
MozReview-Commit-ID: JAv8lh2gJoB

--HG--
rename : toolkit/modules/RemoteFinder.jsm => toolkit/actors/FinderChild.jsm
rename : toolkit/modules/RemoteFinder.jsm => toolkit/modules/FinderParent.jsm
extra : rebase_source : 08eaf28894b0cd89f082b4cf14d428fa43668988
2018-07-30 12:25:58 -07:00
Kris Maglione 3cdcc6d6af Bug 1472491: Part 5ζ - Add ControllersChild actor. r=mconley
MozReview-Commit-ID: 2u6ayRoHvIh

--HG--
rename : toolkit/content/browser-child.js => toolkit/actors/ControllersChild.jsm
extra : rebase_source : 46dd4b7ea9394ca0da97f35129ae4ff822d37723
2018-07-30 10:52:29 -07:00
Kris Maglione aba57b7011 Bug 1472491: Part 5ε - Add PurgeSessionHistoryChild actor. r=mconley
MozReview-Commit-ID: 7oOXuPNsPPG

--HG--
extra : rebase_source : 696b840ba75fc23ec76b6c9e217a1d3b84107871
2018-07-30 10:14:12 -07:00
Kris Maglione f66f1e4480 Bug 1472491: Part 5δ - Add UnselectedTabHoverChild actor. r=mconley
MozReview-Commit-ID: JYAYb8NshrW

--HG--
extra : rebase_source : d511fbd164e8f5e18bd826169e512b6d1092d5e7
2018-07-30 10:11:41 -07:00
Kris Maglione 4e1ac07ba3 Bug 1472491: Part 5α - Add DateTimePickerChild actor. r=mconley
MozReview-Commit-ID: EWTCdNCmE9S

--HG--
rename : toolkit/modules/DateTimePickerContent.jsm => toolkit/actors/DateTimePickerChild.jsm
extra : rebase_source : c92d504e8da81151a3937d2a2091ef07356f5df7
2018-07-29 23:39:17 -07:00