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

43 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 476ad24af9 Bug 1615403 - Part 2: Use MaybeDiscarded for direct IPC arguments, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D62833

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:35 +00:00
pbz 70e1dba79e Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2020-01-16 14:38:40 +00:00
Oana Pop Rus 661db3a39f Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz e03ecc2171 Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
Nika Layzell a3cad4162e Bug 1589054 - Part 1: Cleanly kill BrowserBridgeChild if process switch fails, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D49464

--HG--
extra : moz-landing-system : lando
2019-10-22 13:57:00 +00:00
Cosmin Sabou cce21ffe59 Backed out 3 changesets (bug 1589054) for browser chrome failures on browser_crash_oopiframe.js CLOSED TREE
Backed out changeset 1a43032819e1 (bug 1589054)
Backed out changeset 91e4d5c6422a (bug 1589054)
Backed out changeset 03bc24aa3a2c (bug 1589054)
2019-10-21 19:29:20 +03:00
Nika Layzell a73568ddeb Bug 1589054 - Part 1: Cleanly kill BrowserBridgeChild if process switch fails, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D49464

--HG--
extra : moz-landing-system : lando
2019-10-21 14:03:36 +00:00
Nika Layzell 965f006a70 Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:16 +00:00
Nika Layzell 090b6dbc31 Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47309

--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:14 +00:00
Nika Layzell 87aa1365a0 Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
This is useful in part 3, where the initialization will need to be called from
multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:13 +00:00
Csoregi Natalia 8768a4f5e3 Backed out 7 changesets (bug 1576714) for fission permafailures on test_bug590812.html. a=backout
Backed out changeset d0c49f00eb91 (bug 1576714)
Backed out changeset faecc9f35b49 (bug 1576714)
Backed out changeset 2e156655c31e (bug 1576714)
Backed out changeset eece722082c7 (bug 1576714)
Backed out changeset ebda40f96884 (bug 1576714)
Backed out changeset 7dce423417d8 (bug 1576714)
Backed out changeset 9a5072019168 (bug 1576714)
2019-10-05 00:08:33 +03:00
Nika Layzell 89b22d83ef Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:24 +00:00
Nika Layzell 7b1c569d54 Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47309

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:22 +00:00
Nika Layzell 6131a7ef18 Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
This is useful in part 3, where the initialization will need to be called from
multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:20 +00:00
Brindusan Cristian 950e03660b Backed out 6 changesets (bug 1576714) for build bustages at nsFrameLoaderOwner.cpp. CLOSED TREE
Backed out changeset 083967e704d2 (bug 1576714)
Backed out changeset b3467f1bdde7 (bug 1576714)
Backed out changeset 88e3b4b7fbaf (bug 1576714)
Backed out changeset b91221da32c7 (bug 1576714)
Backed out changeset 6996b7705f06 (bug 1576714)
Backed out changeset a303fc193f60 (bug 1576714)
2019-10-02 04:14:53 +03:00
Nika Layzell f55d088ec3 Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 18:09:03 +00:00
Nika Layzell b0d4c1a661 Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47309

--HG--
extra : moz-landing-system : lando
2019-10-01 18:09:01 +00:00
Nika Layzell df7f3d2a70 Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
This is useful in part 3, where the initialization will need to be called from
multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 18:08:59 +00:00
Jonathan Watt d88a4a0a4b Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41953

--HG--
extra : moz-landing-system : lando
2019-09-19 00:00:44 +00:00
Sebastian Hengst 2e7e5f93bc Backed out changeset 20abb86e0049 (bug 1559841) for several fission regressions, e.g. bug 1576413. a=backout,kmag 2019-08-27 22:26:15 +02:00
Andreas Farre 6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Jonathan Watt 4562fab69f Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D41953

--HG--
extra : moz-landing-system : lando
2019-08-24 00:03:54 +00:00
Nika Layzell 2698092f32 Bug 1550560 - Part 3: Make BrowserBridgeParent refcounted in IPDL, r=mccr8
This is an example refcounted actor which was easy enough to port over as an
initial test. More can be ported in the future, potentially alongside removing
`mIPCOpen`.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:54:18 +00:00
Hiroyuki Ikezoe 8aa17d97ef Bug 1553012 - Make PresShell::ScrollFrameRectIntoView work in fission world. r=mattwoodrow,nika,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D36136

--HG--
extra : moz-landing-system : lando
2019-07-09 05:34:27 +00:00
Henri Sivonen 91cd6a0d25 Bug 1549930 - Avoid popping BrowserParent in response to window lowering. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D30873

--HG--
extra : moz-landing-system : lando
2019-06-14 07:02:18 +00:00
Nika Layzell b5b7f6b728 Bug 1451455 - Fire the 'load' event on out-of-process iframes, r=rhunt
This is done by sending a message over PBrowser and PBrowserBridge when the
event would fire to fire it in the correct process.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:17 +00:00
Ryan Hunt 67035334dd Bug 1556555 - Generate TabId for PBrowserBridge in content process and retain reference to it. r=nika
This lets us get the TabId for the PBrowser created via PBrowserBridge in the embedding process.

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

--HG--
extra : rebase_source : 32f4b465426e4d19e4a81df0fc67076b0132038b
extra : source : 5e938107e10ed489477d104c70e413e0c4e6091d
extra : histedit_source : 24bda5ef39697eb4ba9e691d4a3afcc5f144737b
2019-06-02 13:42:03 -04:00
James Teh 4e9fb4dabe Bug 1543298 part 2: Add PBrowserBridge::SetEmbeddedDocAccessibleCOMProxy so the parent can send the child the COM proxy for the embedded document accessible. r=eeejay,nika
Differential Revision: https://phabricator.services.mozilla.com/D32279

--HG--
extra : moz-landing-system : lando
2019-05-24 18:49:31 +00:00
shindli 7b0d34e0a4 Backed out changeset 79436da3bf79 (bug 1549930) for causing perma browser chrome failures in browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about.js CLOSED TREE 2019-05-27 18:09:53 +03:00
Henri Sivonen b5386fef86 Bug 1549930 - Avoid popping BrowserParent in response to window lowering. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D30873

--HG--
extra : moz-landing-system : lando
2019-05-27 12:22:37 +00:00
Ryan Hunt 408ed3f4b5 Bug 1525720, part 9 - Fill out implementations of BrowserHost and BrowserBridgeHost. r=nika
This commit implements the RemoteBrowser interface for BrowserHost and BrowserBridgeHost.

For BrowserHost, most methods delegate to the root BrowserParent. In the future, we
should move these over to BrowserHost. For BrowserBridgeHost, most methods are taken
from BrowserBridgeParent.

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

--HG--
extra : source : 697774dd89848fb992355abaae97bba35b8c74ba
2019-05-08 11:27:49 -05:00
Ryan Hunt 7e515af9cb Bug 1525720, part 6 - Move BrowserBridgeChild creation to ContentChild. r=farre
This makes it symmetrical to how BrowserParent is created by ContentParent.

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

--HG--
extra : source : 07678a2fa9e7cb164b2d3b07b8c61653253b7540
2019-04-24 23:52:47 -05:00
Gurzau Raul 57f573a6ff Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
Backed out changeset 1f2e86c2d691 (bug 1525720)
Backed out changeset 9b79caa460a0 (bug 1525720)
Backed out changeset e65cb2d4c5a5 (bug 1525720)
Backed out changeset 99f971a02d87 (bug 1525720)
Backed out changeset d25963c72ff7 (bug 1525720)
Backed out changeset 810b73719871 (bug 1525720)
Backed out changeset ee10a8254481 (bug 1525720)
Backed out changeset 1bcf9f586c55 (bug 1525720)
Backed out changeset d3b2ac8d5ca4 (bug 1525720)
Backed out changeset 697774dd8984 (bug 1525720)
Backed out changeset eadeacbe4483 (bug 1525720)
Backed out changeset 32eeee79d628 (bug 1525720)
Backed out changeset 07678a2fa9e7 (bug 1525720)
Backed out changeset 757b4f595cc4 (bug 1525720)
Backed out changeset b255e0a84e12 (bug 1525720)
Backed out changeset 9a255864f75d (bug 1525720)
Backed out changeset 5f1c1b609ec1 (bug 1525720)
Backed out changeset 00d83f1d02e0 (bug 1525720)
2019-05-23 01:57:16 +03:00
Ryan Hunt 419e34e131 Bug 1525720, part 9 - Fill out implementations of BrowserHost and BrowserBridgeHost. r=nika
This commit implements the RemoteBrowser interface for BrowserHost and BrowserBridgeHost.

For BrowserHost, most methods delegate to the root BrowserParent. In the future, we
should move these over to BrowserHost. For BrowserBridgeHost, most methods are taken
from BrowserBridgeParent.

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

--HG--
extra : rebase_source : e049abd08cbf969efee536ce6b73ac061248add3
extra : histedit_source : 3e7d0b623066ae60a2d3e197ea54b80b4c701d5e
2019-05-08 11:27:49 -05:00
Ryan Hunt fc8d7a13b8 Bug 1525720, part 6 - Move BrowserBridgeChild creation to ContentChild. r=farre
This makes it symmetrical to how BrowserParent is created by ContentParent.

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

--HG--
extra : rebase_source : bab89b74ee76969a3d66ad79f13b03eead41e677
extra : histedit_source : f90acb817a10615b8bf8d6608ee20af29078af64
2019-04-24 23:52:47 -05:00
Hiroyuki Ikezoe 863f6d62eb Bug 1518919 - Propagate CSS visibility information to descendant documents via IPC call for fission. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D30460

--HG--
extra : moz-landing-system : lando
2019-05-13 01:49:07 +00:00
Ryan Hunt bb5d014363 Bug 1547812 - Add some documentation to PBrowser and PBrowserBridge. r=nika
Depends on D29251

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

--HG--
extra : moz-landing-system : lando
2019-05-06 14:47:56 +00:00
Ryan Hunt d6509bb237 Bug 1534395 - Rename TabChild to BrowserChild. r=nika
This commit renames TabChild to BrowserChild.

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

--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Nika Layzell 1dc7594957 Bug 1529684 - Part 3: Create BrowsingContext for remote iframes in embedder, r=farre
Depends on D21096

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

--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:47 +00:00
Henri Sivonen 83788eac4c Bug 1524983 - Make nsFocusManager::Blur() hand off focus one level up only. r=NeilDeakin
Depends on D22974

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:25:33 +00:00
Henri Sivonen f31daadc47 Bug 1533716 - Make out-of-process iframes able to request focus. r=masayuki,NeilDeakin
Depends on D22969

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:20:51 +00:00
Henri Sivonen 35fba3ee0b Bug 1534258 - Send Deactivate() messages to out-of-process iframes. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D22969

--HG--
extra : moz-landing-system : lando
2019-03-14 16:00:32 +00:00
Ryan Hunt c39b1f89d0 Bug 1532725 - Rename PRemoteFrame to PBrowserBridge. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D22132

--HG--
rename : dom/ipc/RemoteFrameChild.cpp => dom/ipc/BrowserBridgeChild.cpp
rename : dom/ipc/RemoteFrameChild.h => dom/ipc/BrowserBridgeChild.h
rename : dom/ipc/RemoteFrameParent.cpp => dom/ipc/BrowserBridgeParent.cpp
rename : dom/ipc/RemoteFrameParent.h => dom/ipc/BrowserBridgeParent.h
rename : dom/ipc/PRemoteFrame.ipdl => dom/ipc/PBrowserBridge.ipdl
extra : rebase_source : d5ca117b96c0d266041d23d80f0f4ab9b0471fb6
2019-03-04 20:15:58 -06:00