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

118 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 87ef7e0ec7 Backed out 6 changesets (bug 1618445) for leaks at mozilla::dom::Console::CreateInstance
Backed out changeset 0a996e80d92a (bug 1618445)
Backed out changeset 4281c434f737 (bug 1618445)
Backed out changeset 846b67024a9a (bug 1618445)
Backed out changeset 439d0b9ba0fc (bug 1618445)
Backed out changeset 79ae5f86d927 (bug 1618445)
Backed out changeset c09a442d8ddf (bug 1618445)
2020-03-17 11:14:12 +02:00
Paul Bone b5939550b5 Bug 1618445 - pt 6. Add some logging to shouldLoadUri r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D66525

--HG--
extra : moz-landing-system : lando
2020-03-17 04:32:03 +00:00
Paul Bone 7ac279aeeb Bug 1618445 - pt 5. Add logging to validatedWebRemoteType() r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D66516

--HG--
extra : moz-landing-system : lando
2020-03-17 04:32:24 +00:00
Paul Bone acbeea528b Bug 1618445 - pt 4. Use the new logger for existing E10SUtils debug messages r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D65442

--HG--
extra : moz-landing-system : lando
2020-03-17 04:32:24 +00:00
Paul Bone 7cb945b749 Bug 1618445 - pt 2. Move process switch logging to E10SUtils r=mattwoodrow
* Create new logger.
 * Use logger for process switch logging.
 * Remove "[process-switch]: " string from log messages, it is redundant.

This may eventually move to a whole new module if/when process switching
moves there.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 04:25:33 +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
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 2fd69bd52e Bug 1597154 - pt 2. Fix out-of-date comment r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D58898

--HG--
extra : moz-landing-system : lando
2020-02-20 23:53:27 +00:00
Agi Sferro 9f665f844c Bug 1608731 - Remove messageManager fallback for Browser:LoadURI. r=mconley
Actor was added as part of Bug 1554302.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:07:53 +00:00
Paul Bone 983fef7556 Bug 1603006 - Ignore allowLinkedWebInFile when documentChannel is enabled r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D56832

--HG--
extra : moz-landing-system : lando
2020-02-12 23:56:01 +00:00
Kris Maglione ab5a99dd15 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 21:32:28 +00:00
Neil Deakin 87bf897e88 Bug 1598919, move Browser:LoadURI into BrowserTabParent actor, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D54411

--HG--
extra : moz-landing-system : lando
2020-01-20 15:19:14 +00:00
Dorel Luca 69b213c6ee Backed out 5 changesets (bug 1597154) for Mochitest error in docshell/test/mochitest/test_bug529119-2.html. CLOSED TREE
Backed out changeset 051d6f3a237c (bug 1597154)
Backed out changeset 8f8a663e3118 (bug 1597154)
Backed out changeset 1638767d4977 (bug 1597154)
Backed out changeset cc9c332c22a6 (bug 1597154)
Backed out changeset 9580b0a08782 (bug 1597154)
2020-01-16 07:44:40 +02:00
Paul Bone b15b836c17 Bug 1597154 - pt 5. Rename SchemeUsesDocChannel r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59823

--HG--
extra : moz-landing-system : lando
2020-01-16 03:53:46 +00:00
Paul Bone 6557402e10 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-01-16 03:52:46 +00:00
Paul Bone c31347cc28 Bug 1597154 - pt 2. Fix out-of-date comment r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D58898

--HG--
extra : moz-landing-system : lando
2020-01-16 03:52:24 +00:00
Matt Woodrow 95e5a521b3 Bug 1601779 - Try using response process selection more often for front-end loads. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D58890

--HG--
extra : moz-landing-system : lando
2020-01-09 02:40:36 +00:00
Paul Bone d8a910b09e Bug 1592894 - pt 3. Remove useHttpResponseProcessSelection from SessionStore.jsm r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53762

--HG--
extra : moz-landing-system : lando
2019-12-11 02:31:04 +00:00
Matt Woodrow 0e188f2ae7 Bug 1598516 - Don't run extension iframes in their own process. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D55605

--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:52 +00:00
Bogdan Tara 0108d839e9 Backed out 8 changesets (bug 1598516) for run startup hangs CLOSED TREE
Backed out changeset bc0035aa57fe (bug 1598516)
Backed out changeset 33603b723337 (bug 1598516)
Backed out changeset 31c11dd9146d (bug 1598516)
Backed out changeset 4e269a638350 (bug 1598516)
Backed out changeset 76b86080c868 (bug 1598516)
Backed out changeset b6f84b01cbd9 (bug 1598516)
Backed out changeset 74d136798dd3 (bug 1598516)
Backed out changeset bf370938463e (bug 1598516)
2019-12-04 00:48:17 +02:00
Matt Woodrow 6cd452dc84 Bug 1598516 - Don't run extension iframes in their own process. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D55605

--HG--
extra : moz-landing-system : lando
2019-12-03 20:44:33 +00:00
Gurzau Raul 2e8639b3b4 Backed out 8 changesets (bug 1598516) for build bustage at ParentChannelListener.cpp on a CLOSED TREE.
Backed out changeset 7ac1b091aa5f (bug 1598516)
Backed out changeset b62c5b49b91c (bug 1598516)
Backed out changeset e48c0ce38498 (bug 1598516)
Backed out changeset cc2599921b5e (bug 1598516)
Backed out changeset 0a0f80b0b278 (bug 1598516)
Backed out changeset 1dc19a039cab (bug 1598516)
Backed out changeset b664c8af6e2d (bug 1598516)
Backed out changeset 943b440179b9 (bug 1598516)
2019-12-03 21:48:14 +02:00
Matt Woodrow 95623dc72d Bug 1598516 - Don't run extension iframes in their own process. r=kmag
Depends on D55604

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

--HG--
extra : moz-landing-system : lando
2019-12-03 19:16:23 +00:00
Noemi Erli 434c4a9abd Backed out 4 changesets (bug 1592894) for failing in browser_httpResponseProcessSelection.js
Backed out changeset 2e3a515756cc (bug 1592894)
Backed out changeset f431b1c95887 (bug 1592894)
Backed out changeset d9fcadf796da (bug 1592894)
Backed out changeset 79a9d3e1e255 (bug 1592894)
2019-12-03 04:09:56 +02:00
Paul Bone fd9085a1fb Bug 1592894 - pt 4. Add an assertion to onMayChangeProcess r=mattwoodrow
Depends on D53764

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

--HG--
extra : moz-landing-system : lando
2019-12-02 19:56:57 +00:00
Paul Bone 0b99bc72b3 Bug 1592894 - pt 1. Remove useHttpResponseProcessSelection from SessionStore.jsm r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53762

--HG--
extra : moz-landing-system : lando
2019-12-02 04:01:43 +00:00
Matt Woodrow 7872bad7d1 Bug 1599818 - Remove debugging prints. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D55013

--HG--
extra : moz-landing-system : lando
2019-11-27 20:31:07 +00:00
Matt Woodrow 943ad54b32 Bug 1584031 - Add a pref to put data URIs in their own process when using fission. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D53894

--HG--
extra : moz-landing-system : lando
2019-11-27 02:19:38 +00:00
Matt Woodrow 4e9f06f73c Bug 1584031 - Allow non-http channels into on-may-change-process. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D53893

--HG--
extra : moz-landing-system : lando
2019-11-27 02:19:17 +00:00
Brindusan Cristian 6c34625fa0 Backed out 4 changesets (bug 1584031) for crashtest failures at crashtests/914521.html.
Backed out changeset 48a289c7226f (bug 1584031)
Backed out changeset cac72426ac2a (bug 1584031)
Backed out changeset bfb6286d68b6 (bug 1584031)
Backed out changeset c94a216693c5 (bug 1584031)
2019-11-26 06:42:14 +02:00
Matt Woodrow 9497ec8582 Bug 1584031 - Add a pref to put data URIs in their own process when using fission. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D53894

--HG--
extra : moz-landing-system : lando
2019-11-26 03:18:38 +00:00
Nika Layzell e026d2f6e0 Bug 1594221 - Ignore useHttpResponseProcessSelection when fission enabled, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D51941

--HG--
extra : moz-landing-system : lando
2019-11-21 04:29:35 +00:00
Andrew McCreight b5dbc2b2e5 Bug 1580212, part 1 - Drop the equal sign from FISSION_WEB_REMOTE_TYPE_PREFIX and add it to ContentParent.h. r=kmag
Right now, this constant has an equal sign in it. I want to use it in
C++ without the equal sign in the next patch. So, for consistency,
move the equal sign to the places that use this constant. Also, add
the constant to C++.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 23:14:00 +00:00
Nika Layzell 63cd4eca5f Bug 1594236 - Use real result principal for DocumentChannel process selection, r=mattwoodrow
Currently the logic for process selection extracts a URI from the principal, and
uses that URI to perform process selection. This patch adds a codepath for
passing the result principal through the remote type selection logic and using
it directly.

This should ideally improve the behaviour of URIs with less obvious origins,
such as those which inherit their origin.

Unfortunately, OriginAttributes are still ignored by process selection, due to
some code using the fallback logic which is unaware of OAs. This should be fixed
in the future.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 02:30:38 +00:00
Andreas Farre 1cf2611bf8 Bug 1582716 - Remove nsDocShell::GetIsOnlyToplevelInTabGroup. r=nika
We can remove isOnlyToplevelInTabGroup entirely since we have
BrowsingContext/BrowsingContextGroup exposed through
chrome-webidl. Checking if a browsing context is the only top level
(auxilliary or otherwise) is only a matter of checking that there
isn't a parent, and that the size of the browsing context group is 1.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 10:54:49 +00:00
Anny Gakhokidze 1045c9332f Bug 1585777 - Part 1: Make BrowserTestUtils.loadURI Fission-compatible, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D50370

--HG--
extra : moz-landing-system : lando
2019-10-30 21:44:15 +00:00
Gijs Kruitbosch cbe6115aca Bug 1585732 - cache fission.rebuild_frameloaders_on_remoteness_change pref instead of refetching it, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50956

--HG--
extra : moz-landing-system : lando
2019-10-29 23:33:54 +00:00
Valentin Gosu 982bdfbbbd Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 08:02:16 +00:00
shindli ebcb4e6fbf Backed out changeset 5686e9cc48b2 (bug 1579992) for causing bc failures in browser/components/aboutlogins/tests/browser/browser_dismissFooter.js CLOSED TREE 2019-10-21 21:09:24 +03:00
Valentin Gosu 74ec329cc9 Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 16:56:00 +00:00
Gijs Kruitbosch 738962d0bf Bug 1586148 - fix web protocol handler behaviour under fission, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D48238

--HG--
extra : moz-landing-system : lando
2019-10-16 14:56:23 +00:00
Marco Bonardo cff612c7b4 Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs
Add a new FIXUP_FLAG_PRIVATE_CONTEXT to nsIURIFixup, make it use the default
private search engine when it's set.
Update consumers to pass the new flag when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 12:37:51 +00:00
Andrew McCreight 470ee2aab6 Bug 1579835, part 2 - Add mozilla::dom::IsWebRemoteType. r=nika
This is the equivalent to E10SUtils.isWebRemoteType, except for C++.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 21:09:40 +00:00
Andrew McCreight 663c40c506 Bug 1579835, part 1b - Directly pass in remote type to E10SUtils.isWebRemoteType. r=mconley
Now that we only use a single field of the browser that gets passed in
to isWebRemoteType, I think it makes more sense to just pass in the
remote type directly.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:16:28 +00:00