Matt Woodrow
1103c09263
Bug 1617789 - Move loadInfo configuration into CreateAndConfigureRealChannelForLoadState so that it runs in the parent process with DocumentChannel. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63997
--HG--
extra : moz-landing-system : lando
2020-03-01 04:15:44 +00:00
Matt Woodrow
d912d2f8d9
Bug 1617789 - Simplify load from external. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63996
--HG--
extra : moz-landing-system : lando
2020-03-01 04:15:11 +00:00
Matt Woodrow
8b2edb9b62
Bug 1617789 - Don't require loadInfo for navigate-to. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63995
--HG--
extra : moz-landing-system : lando
2020-03-01 04:14:43 +00:00
Matt Woodrow
73d8cfc1f5
Bug 1617434 - Move reserved client creation to parent-side with DocumentChannel. r=perry
...
Rather than creating a ClientSource in the content process for the initial URL, this changes us to just create the ClientInfo in the parent, as we do for redirects.
Differential Revision: https://phabricator.services.mozilla.com/D63807
--HG--
extra : moz-landing-system : lando
2020-03-01 04:14:00 +00:00
Dorel Luca
109ac83385
Backed out 7 changesets (bug 1617500, bug 1617789, bug 1617434) for build bustage in dom/clients/manager/ClientChannelHelper.cpp
...
Backed out changeset 1a62904bfcb7 (bug 1617500)
Backed out changeset 592a5ddf6acf (bug 1617789)
Backed out changeset 995edb2e7f98 (bug 1617789)
Backed out changeset f3518664d654 (bug 1617789)
Backed out changeset 98ea95f7fe87 (bug 1617789)
Backed out changeset c5f1f70efb88 (bug 1617434)
Backed out changeset 1563faa24d15 (bug 1617434)
2020-03-01 05:57:57 +02:00
Matt Woodrow
9025d57ace
Bug 1617789 - Move loadInfo configuration into CreateAndConfigureRealChannelForLoadState so that it runs in the parent process with DocumentChannel. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63997
--HG--
extra : moz-landing-system : lando
2020-03-01 01:26:56 +00:00
Matt Woodrow
b442c94e72
Bug 1617789 - Simplify load from external. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63996
--HG--
extra : moz-landing-system : lando
2020-03-01 01:26:23 +00:00
Matt Woodrow
7600457773
Bug 1617789 - Don't require loadInfo for navigate-to. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63995
--HG--
extra : moz-landing-system : lando
2020-03-01 01:25:50 +00:00
Matt Woodrow
78a45f7c57
Bug 1617434 - Move reserved client creation to parent-side with DocumentChannel. r=perry
...
Rather than creating a ClientSource in the content process for the initial URL, this changes us to just create the ClientInfo in the parent, as we do for redirects.
Differential Revision: https://phabricator.services.mozilla.com/D63807
--HG--
extra : moz-landing-system : lando
2020-03-01 01:23:18 +00:00
Jason Adler
8c765e09a1
Bug 1609821 - Make about:about an HTML file r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D64604
--HG--
rename : toolkit/content/aboutAbout.xhtml => toolkit/content/aboutAbout.html
extra : moz-landing-system : lando
2020-02-28 17:40:09 +00:00
Andrea Marchesini
4e0f6998c0
Bug 1618864 - Pass cookies/samesite/form-post-blank-reload.https.html WPT test, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D64742
--HG--
extra : moz-landing-system : lando
2020-02-28 16:00:24 +00:00
Andrew McCreight
4babb2b5ab
Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
...
Patch by bhackett and jlaster. Also reviewed by mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D60197
--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Ciure Andrei
00dd87f6f4
Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
...
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Andrew McCreight
b197e1f783
Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
...
Patch by bhackett and jlaster. Also reviewed by mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D60197
--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
Nika Layzell
09ea5ff76e
Bug 1617063 - Part 1: Remove duplicate InnerWindowId and OuterWindowId fields from WindowGlobalParent, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D64223
--HG--
extra : moz-landing-system : lando
2020-02-26 18:19:17 +00:00
David Teller
f2d70e332f
Bug 1605072 - Make CanonicalBrowsingContext::ChangeFrameRemoteness use async process launching;r=kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D57775
--HG--
extra : moz-landing-system : lando
2020-02-26 15:10:50 +00:00
Dan Glastonbury
9e4e8e56cf
Bug 1616171 - P3: Move initatorType from DocumentChannelCreationArgs to BC. r=mattwoodrow,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63452
--HG--
extra : moz-landing-system : lando
2020-02-25 23:17:56 +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
c31aa68fb4
Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
...
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.
Differential Revision: https://phabricator.services.mozilla.com/D63962
--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00: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
Matt Woodrow
ebf189ed47
Bug 1614847 - Construct nsDocShellLoadState in ContentChild to avoid needing to pass excess parameters into nsDocShell. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63267
--HG--
extra : moz-landing-system : lando
2020-02-24 02:16:24 +00:00
Matt Woodrow
f5dd8136c6
Bug 1615967 - Move customUserAgent to BrowsingContext. r=nika,remote-protocol-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D63040
--HG--
extra : moz-landing-system : lando
2020-02-24 02:15:03 +00:00
Noemi Erli
f6ff6b7aa4
Backed out 5 changesets (bug 1597154) for causing browser-chrome failures in browser_UITour_showNewTab.js CLOSED TREE
...
Backed out changeset dc78c6d3d737 (bug 1597154)
Backed out changeset 6e82c600d52f (bug 1597154)
Backed out changeset 9857504c26e6 (bug 1597154)
Backed out changeset e8dccb59bf2a (bug 1597154)
Backed out changeset 3c34ca1e2079 (bug 1597154)
2020-02-21 04:39:43 +02:00
Paul Bone
9970ac54b2
Bug 1597154 - pt 5. Rename SchemeUsesDocChannel r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D59823
--HG--
extra : moz-landing-system : lando
2020-02-20 23:54:32 +00:00
Paul Bone
a0624ff784
Bug 1597154 - pt 3. Defer to documentchannel for process switching for all schemes r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D58899
--HG--
extra : moz-landing-system : lando
2020-02-20 23:53:52 +00:00
Paul Bone
0048098ca2
Bug 1597154 - pt 1. Avoid redirecting loads between processes more than once r=mattwoodrow,kmag
...
This doesn't fix the bug, but it is a good idea.
Differential Revision: https://phabricator.services.mozilla.com/D57597
--HG--
extra : moz-landing-system : lando
2020-02-20 23:53:07 +00:00
Nika Layzell
199effbc30
Bug 1615403 - Part 9: Remove old BrowsingContext & WindowContext serializers, r=farre
...
These serializers have been superceded by the new
MaybeDiscarded<BrowsingContext> and MaybeDiscarded<WindowContext> serializers
added in earlier parts.
Differential Revision: https://phabricator.services.mozilla.com/D62838
--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:56 +00:00
Nika Layzell
9fef430436
Bug 1615403 - Part 5: Use MaybeDiscarded for RestoreBrowsingContextChildren, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D62836
--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:47 +00:00
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
Nika Layzell
77393e07dd
Bug 1615403 - Part 1: Introduce a new MaybeDiscarded type, r=farre
...
Adds a new MaybeDiscarded wrapper type which allows sending a maybe-discarded
BrowsingContext over IPC to another process which must be explicitly checked for
nullness and discarded status before being used.
Differential Revision: https://phabricator.services.mozilla.com/D62832
--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:33 +00:00
Bogdan Tara
3ebae34ba2
Backed out changeset 048b549b0070 (bug 1605072) for reftest failures on layout/reftests/selection/* CLOSED TREE
2020-02-19 13:57:20 +02:00
Andreas Farre
8c7063a92a
Bug 1612568 - Avoid hard-crashing on malformed data while fuzzing. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D63131
--HG--
extra : moz-landing-system : lando
2020-02-18 17:48:29 +00:00
David Teller
c1bdaea3f3
Bug 1605072 - Make CanonicalBrowsingContext::ChangeFrameRemoteness use async process launching;r=kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D57775
--HG--
extra : moz-landing-system : lando
2020-02-18 16:01:48 +00:00
Arthur Iakab
d5dfd41c95
Backed out 2 changesets (bug 1605072) for causing reftest failures with splitText-normalize.html.
...
CLOSED TREE
Backed out changeset f9d038830cda (bug 1605072)
Backed out changeset 9431489d2688 (bug 1605072)
2020-02-18 17:58:31 +02:00
David Teller
2b076ad613
Bug 1605072 - Make CanonicalBrowsingContext::ChangeFrameRemoteness use async process launching;r=kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D57775
--HG--
extra : moz-landing-system : lando
2020-02-18 14:03:09 +00:00
Henri Sivonen
ac7d3f7b2a
Bug 1556627 - Make nsFocusManager::SetFocus work in Fission. r=NeilDeakin,farre,masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D55651
--HG--
extra : moz-landing-system : lando
2020-02-18 13:30:04 +00:00
shindli
bc91508b05
Backed out 2 changesets (bug 1605072) for causing reftest failures in layout/reftests/selection/splitText-normalize-ref.html CLOSED TREE
...
Backed out changeset 973f1e5baebf (bug 1605072)
Backed out changeset 038b50303733 (bug 1605072)
2020-02-17 21:39:58 +02:00
David Teller
d60077a1a1
Bug 1605072 - Make CanonicalBrowsingContext::ChangeFrameRemoteness use async process launching;r=kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D57775
--HG--
extra : moz-landing-system : lando
2020-02-17 17:31:39 +00:00
Jonathan Watt
a149392cbb
Bug 1552966. Convert the printing code to stop using DocShellTree* classes. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D56830
--HG--
extra : moz-landing-system : lando
2020-02-14 16:31:01 +00:00
Simon Giesecke
b50347f917
Bug 1611415 - Prefer using std::move over forget. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli
91aa0518dd
Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE
2020-02-12 20:13:29 +02:00
Simon Giesecke
f604a47fa5
Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Simon Giesecke
5f35e84559
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in docshell. r=smaug
...
Depends on D62570
Differential Revision: https://phabricator.services.mozilla.com/D62571
--HG--
extra : moz-landing-system : lando
2020-02-12 13:38:55 +00:00
Christoph Kerschbaumer
7f70f4117c
Bug 1601887 - XFO: Display error page but still fire onload event in case x-frame-options blocks a load.r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D61862
--HG--
extra : moz-landing-system : lando
2020-02-11 18:40:54 +00:00
Kris Maglione
6dfb63c750
Bug 1582832: Part 3 - Correctly handle windowless BCs created for printing. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D61006
--HG--
extra : moz-landing-system : lando
2020-02-06 19:08:06 +00:00
Kris Maglione
44fded86b2
Bug 1582832: Part 2 - Don't attach a BrowsingContext before a FrameLoader is initialized. r=nika
...
There are cases where the initial BrowsingContext that we create for a
FrameLoader will never have a DocShell created for it. In the particular case
when the frame it belongs to is part of an inactive document, trying to
eagerly attach the BrowsingContext ends up attaching it as an active child of
its parent BrowsingContext, when it should be either cached or detached. Which
causes no end of problems.
This patch delays attaching the BrowsingContext until the FrameLoader is
initialized, which solves most of these problems.
Differential Revision: https://phabricator.services.mozilla.com/D59009
--HG--
extra : moz-landing-system : lando
2020-02-06 19:08:04 +00:00
Kris Maglione
1722817403
Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika
...
There are all sorts of lifecycle issues which arise from making DocShell
responsible for discarding BrowsingContexts. In this particular bug, we tend
to run into them in cases where we create a BrowsingContext for a FrameLoader,
and then never create a DocShell for it, leading to it never being destroyed.
But there are myriad other issues as well.
This patch moves the responsibility for BrowsingContext lifecycle management
to the FrameLoader/FrameLoaderOwner, rather than the DocShell, which makes
things more consistent, and more closely aligns with spec-defined behavior.
Differential Revision: https://phabricator.services.mozilla.com/D59008
--HG--
extra : moz-landing-system : lando
2020-02-06 19:07:56 +00:00