Edgar Chen
c8e0351b70
Bug 1716762 - Don't allow focus to move to remote iframe which is display: none; r=emilio
...
Make it behave the same as in-process iframe.
Differential Revision: https://phabricator.services.mozilla.com/D118002
2021-07-07 12:08:18 +00:00
Edgar Chen
8921e08fd3
Bug 1719285 - Make nsFrameLoader::GetExistingDocShell returning nsDocShell; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D119183
2021-07-06 13:30:08 +00:00
Emilio Cobos Álvarez
f36d3ee88e
Bug 1699837 - Make sure that remote iframes honor print settings. r=mattwoodrow
...
This fixes it since we honor the print resolution properly now.
Differential Revision: https://phabricator.services.mozilla.com/D115263
2021-06-13 09:16:53 +00:00
Dorel Luca
4e5b843ad3
Backed out changeset 43a82597dade (bug 1699837) for Crashtest in layout/printing/crashtests/1671503.html. CLOSED TREE
2021-06-11 19:48:10 +03:00
Emilio Cobos Álvarez
4a29358676
Bug 1699837 - Make sure that remote iframes honor print settings. r=mattwoodrow
...
This fixes it since we honor the print resolution properly now.
Differential Revision: https://phabricator.services.mozilla.com/D115263
2021-06-11 13:07:55 +00:00
Kashav Madan
8e1b580c53
Bug 1715264 - Cleanup how Session Store collects SessionHistory, r=farre
...
This does a few things:
1. Removes the `aImmediately` flag from the RequestSHistoryUpdate path, and
moves that responsibility to SessionStore
1. Simplifies how and when SessionStore calls SessionHistory.collectFromParent()
1. Attempts to clean-up SessionStore's SHistoryListener (again)
Differential Revision: https://phabricator.services.mozilla.com/D117230
2021-06-10 14:30:59 +00:00
Edgar Chen
58e1cf918c
Bug 1714313 - Get rid of FrameLoader::SendCrossProcessMouseEvent; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D116707
2021-06-03 13:47:02 +00:00
Kashav Madan
3ea6f755ce
Bug 1706445 - Handle isFinal updates through native code, r=nika
...
Replaces the `isFinal` bit with a "browser-shutdown-tabstate-updated" observer
notification, which is fired after all frames in the document are flushed.
Differential Revision: https://phabricator.services.mozilla.com/D116146
2021-06-01 20:06:47 +00:00
Emilio Cobos Álvarez
a35c7babe5
Bug 1705757 - Make printing a single frame choose the right process for the preview frame. r=nika
...
We were using the top BrowsingContextGroup id in this case, which is
obviously wrong. Also make the API take a BrowsingContext directly,
rather than passing outerwindowids around.
Differential Revision: https://phabricator.services.mozilla.com/D112413
2021-04-17 18:41:11 +00:00
Emilio Cobos Álvarez
0e55bca38f
Bug 1705757 - Move FrameLoader.print to BrowsingContext.print. r=nika,remote-protocol-reviewers,marionette-reviewers,extension-reviewers,zombie
...
This makes it trivial to choose the right BrowserParent to print a
browsing context, by removing the OuterWindowID / FrameLoader
indirections.
Differential Revision: https://phabricator.services.mozilla.com/D112412
2021-04-17 18:41:11 +00:00
Andreas Farre
2d0871a066
Bug 1572084 - Part 2: Make Session Store data collection work with fission. r=nika
...
Instead of collecting data from the entire tree of documents, we
collect data per document. The collected data is sent to the
corresponding parent window context and is applied incrementally to
the tab state cache.
Differential Revision: https://phabricator.services.mozilla.com/D107814
2021-03-26 08:59:33 +00:00
Bogdan Tara
6ed704c1ea
Backed out 3 changesets (bug 1572084) for WindowGlobalParent.cpp related failures CLOSED TREE
...
Backed out changeset d42a68132e7e (bug 1572084)
Backed out changeset 4d5a5ac074e6 (bug 1572084)
Backed out changeset 5aa59e106a42 (bug 1572084)
2021-03-25 18:56:02 +02:00
Andreas Farre
e8713aa001
Bug 1572084 - Part 2: Make Session Store data collection work with fission. r=nika
...
Instead of collecting data from the entire tree of documents, we
collect data per document. The collected data is sent to the
corresponding parent window context and is applied incrementally to
the tab state cache.
Differential Revision: https://phabricator.services.mozilla.com/D107814
2021-03-25 15:36:38 +00:00
Olli Pettay
98437951f4
Bug 1689601, Rename RemotenessChangeState to RemotenessChangeOptions, r=peterv
...
This addresses part of the review comment from https://phabricator.services.mozilla.com/D105229
Differential Revision: https://phabricator.services.mozilla.com/D106561
2021-03-02 12:13:21 +00:00
Olli Pettay
79c168187d
Bug 1689601, try to use bfcache for top level pages, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D105238
2021-03-02 12:13:20 +00:00
Olli Pettay
179ff1f1ac
Bug 1689601, pass various states of remoteness change / browsing context swap using a helper struct, r=peterv
...
The name RemotenessChangeState uses same the convention as the related methods, even though there might
not be a remoteness change happening, only a browsing context switch. But the naming
inconsistency exists there even without any bfcache work.
RemotenessChangeState will be renamed to RemotenessChangeOptions in a followup.
Differential Revision: https://phabricator.services.mozilla.com/D105229
2021-03-02 12:13:16 +00:00
Mihai Alexandru Michis
f7d499a648
Backed out 16 changesets (bug 1689601) for causing cpp bustages in nsFrameLoader.
...
CLOSED TREE
Backed out changeset 6e5523a7210d (bug 1689601 )
Backed out changeset 745eaa468c74 (bug 1689601 )
Backed out changeset a594bd02b8b6 (bug 1689601 )
Backed out changeset 0c5fe977ced6 (bug 1689601 )
Backed out changeset 2fca23521891 (bug 1689601 )
Backed out changeset 334aeb627855 (bug 1689601 )
Backed out changeset 2b2081a15d67 (bug 1689601 )
Backed out changeset 307bde43cc96 (bug 1689601 )
Backed out changeset 04aadec67ce2 (bug 1689601 )
Backed out changeset 701eccb34772 (bug 1689601 )
Backed out changeset 278db692aa8b (bug 1689601 )
Backed out changeset c261c243a64d (bug 1689601 )
Backed out changeset 7e8022e5696a (bug 1689601 )
Backed out changeset 6138bfc6c08d (bug 1689601 )
Backed out changeset 63295b3a62d0 (bug 1689601 )
Backed out changeset 6d02e59ddc51 (bug 1689601 )
2021-03-02 13:15:10 +02:00
Olli Pettay
b4b34b12d7
Bug 1689601, Rename RemotenessChangeState to RemotenessChangeOptions, r=peterv
...
This addresses part of the review comment from https://phabricator.services.mozilla.com/D105229
Differential Revision: https://phabricator.services.mozilla.com/D106561
2021-03-02 09:44:13 +00:00
Olli Pettay
6b9c750b99
Bug 1689601, try to use bfcache for top level pages, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D105238
2021-03-02 09:44:12 +00:00
Olli Pettay
63db5da464
Bug 1689601, pass various states of remoteness change / browsing context swap using a helper struct, r=peterv
...
The name RemotenessChangeState uses same the convention as the related methods, even though there might
not be a remoteness change happening, only a browsing context switch. But the naming
inconsistency exists there even without any bfcache work.
RemotenessChangeState will be renamed to RemotenessChangeOptions in a followup.
Differential Revision: https://phabricator.services.mozilla.com/D105229
2021-03-02 09:44:09 +00:00
Neil Deakin
302db5eb23
Bug 1644911, add access to the childID from the frame crashed event, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D98206
2021-01-21 08:44:51 +00:00
Simon Giesecke
ca547db942
Bug 1673931 - Avoid including Element.h from header files.
...
Differential Revision: https://phabricator.services.mozilla.com/D96535
Depends on D96534
2020-11-23 16:08:40 +00:00
Simon Giesecke
eae3689379
Bug 1673931 - Avoid including Document.h from header files. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D95046
Depends on D95045
2020-11-23 16:07:43 +00:00
Simon Giesecke
b27ec28576
Bug 1673424 - Fix includes around StructuredCloneData.h.
...
Differential Revision: https://phabricator.services.mozilla.com/D94763
Depends on D94762
2020-11-23 16:07:01 +00:00
Mihai Alexandru Michis
743b0c41de
Backed out 2 changesets (bug 1668940) for causing bc failures.
...
CLOSED TREE
Backed out changeset c025fad53568 (bug 1668940)
Backed out changeset 9d98bf7b930f (bug 1668940)
2020-10-12 17:00:52 +03:00
Peter Van der Beken
8b3300ba17
Bug 1668940 - Replace nsFrameLoader::mIsTopLevelContent with mPendingBrowsingContext->IsTopContent(). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D93157
2020-10-12 12:37:52 +00:00
Razvan Maries
4a0100aa91
Backed out 2 changesets (bug 1668940) for perma failures on test_swapFrameLoaders.xhtml. CLOSED TREE
...
Backed out changeset 49b550ad8387 (bug 1668940)
Backed out changeset 786694e7b805 (bug 1668940)
2020-10-12 11:30:16 +03:00
Peter Van der Beken
62d6c355b3
Bug 1668940 - Replace nsFrameLoader::mIsTopLevelContent with mPendingBrowsingContext->IsTopContent(). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D93157
2020-10-11 18:18:28 +00:00
Emilio Cobos Álvarez
cb233b8098
Bug 1557645 - Clone OOP iframes in the right process. r=nika
...
This works, though probably we want to do some follow-up tweaks, like
the adding of the onload blocker and so on, so that we can avoid the
UpdateDimensions hack.
We may also want a PrintObject in the nsPrintJob tree, perhaps...
Differential Revision: https://phabricator.services.mozilla.com/D90310
2020-09-22 09:57:27 +00:00
Emilio Cobos Álvarez
864c51f341
Bug 1557645 - Unify in-process document cloning a bit more. r=jwatt
...
By passing the content viewer to CreateStaticClone we can do this fairly
easily. I'm going to add another entry-point to the clone process and
it'd be good if we avoid repeating the SetDocument dance and so on.
Differential Revision: https://phabricator.services.mozilla.com/D90315
2020-09-15 23:03:23 +00:00
Jonathan Watt
2e793fcf9a
Bug 1653340. Add new FrameLoader.printPreview() API. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D88703
2020-09-01 11:00:36 +00:00
Jonathan Watt
19bf28a23f
Bug 1652270. Convert nsFrameLoader::Print to return a Promise. r=farre,remote-protocol-reviewers,marionette-reviewers,jgraham,whimboo,mixedpuppy
...
(Instead of requiring callers to pass an nsIWebProgressListener.)
Differential Revision: https://phabricator.services.mozilla.com/D83249
2020-07-22 23:17:45 +00:00
Narcis Beleuzu
25bcd488ae
Backed out changeset f95c19e45ab2 (bug 1652270) for reftest failures on test-text.html . CLOSED TREE
2020-07-22 20:36:53 +03:00
Jonathan Watt
2a0f138ef8
Bug 1652270. Convert nsFrameLoader::Print to return a Promise. r=farre,remote-protocol-reviewers,marionette-reviewers,jgraham,whimboo,mixedpuppy
...
(Instead of requiring callers to pass an nsIWebProgressListener.)
Differential Revision: https://phabricator.services.mozilla.com/D83249
2020-07-22 15:54:01 +00:00
Simon Giesecke
a89b3bd48b
Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D83771
2020-07-22 15:12:10 +00:00
Simon Giesecke
e2bb27d07c
Bug 1652017 - Remove unnecessary includes for expensive nsIFrame.h. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D83111
2020-07-15 13:44:39 +00:00
Nika Layzell
5f45e08c22
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 20:15:59 +00:00
Mihai Alexandru Michis
e53e708b23
Backed out 3 changesets (bug 1650163) for causing bustages in nsContentSecurityManager.cpp
...
CLOSED TREE
Backed out changeset 51d7c644a1e6 (bug 1650163)
Backed out changeset 3d2b6908447a (bug 1650163)
Backed out changeset 79141707d47b (bug 1650163)
2020-07-08 21:18:44 +03:00
Nika Layzell
d627e924a9
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 14:54:48 +00:00
Narcis Beleuzu
ff8a3cf3a3
Backed out 7 changesets (bug 1650163, bug 1649477) for bustages on JSActor.cpp . CLOSED TREE
...
Backed out changeset 4a21afb65254 (bug 1650163)
Backed out changeset c41753a56f5a (bug 1650163)
Backed out changeset 5fb444c35764 (bug 1650163)
Backed out changeset 830aa93d2b0c (bug 1649477)
Backed out changeset eca6e9dce450 (bug 1649477)
Backed out changeset 5b217aa88289 (bug 1649477)
Backed out changeset 8959d02b840f (bug 1649477)
2020-07-08 04:09:27 +03:00
Nika Layzell
1332ec8539
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-06 20:30:58 +00:00
Nika Layzell
9447d51ff3
Bug 1599579 - Part 1: Add the ability to specify a specific BrowsingContextGroup during process switch, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D80254
2020-07-06 20:10:43 +00:00
Butkovits Atila
6ed80007ad
Backed out 6 changesets (bug 1599579) for bc failures at test_chrome_ext_contentscript_data_uri.html.
...
Backed out changeset b767f26b10ed (bug 1599579)
Backed out changeset c5bc0ea42193 (bug 1599579)
Backed out changeset cfdd8d5973d4 (bug 1599579)
Backed out changeset 73f6c956fc30 (bug 1599579)
Backed out changeset 14698ab42ee4 (bug 1599579)
Backed out changeset b4bdd8759433 (bug 1599579)
2020-06-30 21:41:27 +03:00
Nika Layzell
911b40f827
Bug 1599579 - Part 1: Add the ability to specify a specific BrowsingContextGroup during process switch, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D80254
2020-06-30 16:52:53 +00:00
Kris Maglione
46f0bad1ef
Bug 1645946: Don't force frameloader creation during remoteness change. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D79872
2020-06-23 02:30:45 +00:00
Narcis Beleuzu
9b7838b91e
Backed out 5 changesets (bug 1599579) for twinopen failures. CLOSED TREE
...
Backed out changeset 053229a30ef1 (bug 1599579)
Backed out changeset c2828aec4caf (bug 1599579)
Backed out changeset 085558fe56dc (bug 1599579)
Backed out changeset a4e7334f8ce6 (bug 1599579)
Backed out changeset 9ebd2eb155da (bug 1599579)
2020-06-23 02:23:48 +03:00
Nika Layzell
c81a57329b
Bug 1599579 - Part 1: Add the ability to specify a specific BrowsingContextGroup during process switch, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D80254
2020-06-22 20:43:14 +00:00
Matt Woodrow
216c7f598e
Bug 1644943 - Create single webprogress for CanonicalBrowsingContext, regardless of process the browser element contents are in. r=nika,kmag,Gijs
...
I think at this point we can remove all of RemoteWebProgressManager, some/all of the TabProgressListener recreations, and probably a bunch more.
Differential Revision: https://phabricator.services.mozilla.com/D79240
2020-06-17 02:59:29 +00:00
Razvan Maries
f3accf16d2
Backed out changeset f56d5efc5e43 (bug 1644943) for build bustages on nsFrameLoaderOwner.cpp. CLOSED TREE
2020-06-17 02:55:01 +03:00
Matt Woodrow
643b32a784
Bug 1644943 - Create single webprogress for CanonicalBrowsingContext, regardless of process the browser element contents are in. r=nika,kmag,Gijs
...
I think at this point we can remove all of RemoteWebProgressManager, some/all of the TabProgressListener recreations, and probably a bunch more.
Differential Revision: https://phabricator.services.mozilla.com/D79240
2020-06-16 23:24:49 +00:00