Peter Van der Beken
da46069826
Bug 1648038 - Create session history entry in the parent without checking if session history is on for the browsing context, because we only find out later if session history is disabled. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D80884
2020-07-14 10:41:04 +00:00
Simon Giesecke
fea9dab7f2
Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug
...
With these changes, on my Linux analysis with ClangBuildAnalyzer, the
top two expensive headers, DOMTypes.h and TabMessageUtils.h are no longer
among the 30 most expensive headers.
Differential Revision: https://phabricator.services.mozilla.com/D82935
2020-07-15 13:24:20 +00:00
Frederik Braun
a7153982e8
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Razvan Maries
4f6b5e6e2a
Backed out 2 changesets (bug 1648038) for build bustages on nsDocShell.cpp. CLOSED TREE
...
Backed out changeset 78b8a2b9277a (bug 1648038)
Backed out changeset b6b620d72e6b (bug 1648038)
2020-07-14 12:17:31 +03:00
Peter Van der Beken
48cb1143b8
Bug 1648038 - Create session history entry in the parent without checking if session history is on for the browsing context, because we only find out later if session history is disabled. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D80884
2020-07-14 08:57:59 +00:00
Narcis Beleuzu
8981494089
Backed out 5 changesets (bug 1646899) for mochitest failures on DocumentLoadListener.cpp . CLOSED TREE
...
Backed out changeset f41ac122a801 (bug 1646899)
Backed out changeset 86a5e0827050 (bug 1646899)
Backed out changeset d2fd0f955e24 (bug 1646899)
Backed out changeset 7a7194146fe1 (bug 1646899)
Backed out changeset 4731d76dae88 (bug 1646899)
2020-07-13 05:43:30 +03:00
Dan Glastonbury
f5fd7b3d97
Bug 1646899 - P4: Handle object & embed via DocumentChannel. r=mattwoodrow,jya
...
Pass internal content policy type to DLL and switch behavior depending on type
being loaded. This implementation immediately redirects channel back to the
content process for further handling.
Differential Revision: https://phabricator.services.mozilla.com/D80407
2020-07-13 00:48:57 +00:00
Dan Glastonbury
8847465b59
Bug 1646899 - P3: Modify CanUseDocumentChannel to take necessary vars. r=mattwoodrow
...
Allows checking if DocumentChannel can be used with out creating an
nsDocShellLoadState object.
Differential Revision: https://phabricator.services.mozilla.com/D80406
2020-07-13 00:48:54 +00:00
Dan Glastonbury
6bc2c8f1eb
Bug 1646899 - P2: Use named factories to create LoadInfo. r=mattwoodrow
...
LoadInfo has a number of constructors intended to be used in different contexts.
Add named factory functions to make it clearer in which context the returns
LoadInfo is being used.
Differential Revision: https://phabricator.services.mozilla.com/D80405
2020-07-13 00:48:52 +00:00
Matt Woodrow
3a2853e4cf
Bug 1649349 - Don't delay rejecting DocumentLoadListener's Open promise when we switch process. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D81648
2020-07-12 22:50:34 +00:00
Kershaw Chang
b280988bb5
Bug 1647759 - P3: Send init attributes to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82353
2020-07-09 15:15:13 +00:00
Kershaw Chang
18a55ef0fd
Bug 1647759 - P2: Send connectivity status to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82352
2020-07-09 12:56:00 +00:00
Razvan Maries
ab9f3eb05b
Backed out 3 changesets (bug 1647759) for GTest perma failures. CLOSED TREE
...
Backed out changeset 94c175860a86 (bug 1647759 )
Backed out changeset e7d8a7d2bdf1 (bug 1647759 )
Backed out changeset 2972984413b8 (bug 1647759 )
2020-07-09 15:41:22 +03:00
Kershaw Chang
9c8f0c8d00
Bug 1647759 - P3: Send init attributes to socket process r=dragana
...
Depends on D82352
Differential Revision: https://phabricator.services.mozilla.com/D82353
2020-07-07 11:51:17 +00:00
Kershaw Chang
6cb09fb6f3
Bug 1647759 - P2: Send connectivity status to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82352
2020-07-06 18:26:49 +00:00
Matt Woodrow
17fbf88433
Bug 1649879 - Handle URIFixup that happens on a failed channel in DocumentLoadListener if available, rather than waiting for it to reach nsDocShell. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D81947
2020-07-08 23:38:22 +00:00
Nika Layzell
3f8ded27c9
Bug 1650163 - Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82106
2020-07-08 20:16:04 +00:00
Nika Layzell
22a65a237e
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
1ba2a3f6f6
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
64031d88e9
Bug 1650163 - Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82106
2020-07-08 01:13:45 +00:00
Nika Layzell
c850a94434
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
Kershaw Chang
39ecbeff00
Bug 1527256 - P3: Get HttpData from socket process r=dragana
...
Depends on D20355
Differential Revision: https://phabricator.services.mozilla.com/D82320
2020-07-08 10:29:01 +00:00
Kershaw Chang
3a97f39f6d
Bug 1527256 - P2: Get DNSCacheEntries from socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D20355
2020-07-08 10:29:03 +00:00
Kershaw Chang
907a9dedd4
Bug 1527256 - P1: Get SocketData from socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D20354
2020-07-08 12:49:44 +00:00
julianwels
c44ea283e8
Bug 1644456 - Manage HTTPS-Only Mode permission with SitePermissions interface. r=necko-reviewers,pbz,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D79427
2020-07-08 12:06:02 +00:00
Bogdan Tara
cfe6f49083
Backed out 4 changesets (bug 1527256) for network related bustage CLOSED TREE
...
Backed out changeset 5f3e90d1112e (bug 1527256)
Backed out changeset 8172b4bbba7b (bug 1527256)
Backed out changeset c15bc3e821ea (bug 1527256)
Backed out changeset a37b0cdf3155 (bug 1527256)
2020-07-08 13:25:34 +03:00
Kershaw Chang
aad41f988e
Bug 1527256 - P3: Get HttpData from socket process r=dragana
...
Depends on D20355
Differential Revision: https://phabricator.services.mozilla.com/D82320
2020-07-06 11:01:51 +00:00
Kershaw Chang
0a2066141b
Bug 1527256 - P2: Get DNSCacheEntries from socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D20355
2020-07-06 11:01:03 +00:00
Kershaw Chang
f7ab79b775
Bug 1527256 - P1: Get SocketData from socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D20354
2020-07-06 10:59:29 +00:00
Narcis Beleuzu
8359f16846
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
Junior Hsu
cea21a8121
Bug 1646592 - P2 remove NeckoTargetChannelEvent which could not be specialized for HttpChannelChild, r=mayhemer,necko-reviewers
...
NeckoTargetChannelEvent uses a protected member function, which couldn't compile with instantiation of HttpChannelChild
https://searchfox.org/mozilla-central/rev/cfaa250d14e344834932de4c2eed0061701654da/netwerk/ipc/ChannelEventQueue.h#64
Depends on D81272
Differential Revision: https://phabricator.services.mozilla.com/D81273
2020-07-07 21:45:08 +00:00
Nika Layzell
a3b4b6cba4
Bug 1650163 - Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82106
2020-07-06 20:27:59 +00:00
Nika Layzell
df351180c3
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
41154a7fb8
Bug 1599579 - Part 3: Load toplevel extension frames into a per-extension BrowsingContextGroup, r=kmag
...
This is done by tracking a specific BrowsingContextGroup ID on the
WebExtensionPolicy in the parent process. Whenever a load is done with that
policy, the browsing context is replaced to ensure it is loaded in the correct
BrowsingContextGroup.
This patch also ensures that extension iframes are always loaded in the same
process as their embedder document, even if the frame was previously remote.
Differential Revision: https://phabricator.services.mozilla.com/D80256
2020-07-06 19:45:39 +00:00
Nika Layzell
1592543886
Bug 1599579 - Part 2: Reorganize RemoteType logic in MaybeTriggerProcessSwitch, r=mattwoodrow,necko-reviewers,valentin
...
The goal with this is to avoid having multiple booleans and other values
computed in arbitrary places and used around the method, and instead pre-compute
common shared information, and group each remoteType special-case together.
Hopefully, this should make it easier to extend the behaviour in
MaybeTriggerProcessSwitch in the future.
Differential Revision: https://phabricator.services.mozilla.com/D80255
2020-07-06 19:45:31 +00:00
Nika Layzell
cafcceeb34
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
Christoph Kerschbaumer
402b0a5c46
Bug 1647719: Introduce Pref for HTTS-Only in Private Browsing Mode. r=JulianWels,jcj
...
Differential Revision: https://phabricator.services.mozilla.com/D80873
2020-07-06 08:52:02 +00:00
Coroiu Cristina
057efa89c8
Backed out 5 changesets (bug 1649879) for browser-chrome failures at browser/base/content/test/tabs/browser_progress_keyword_search_handling.js
...
Backed out changeset f9670eed4ac5 (bug 1649879)
Backed out changeset 76ab8adad34b (bug 1649879)
Backed out changeset 6dc2e9474f43 (bug 1649879)
Backed out changeset 6f905d33681f (bug 1649879)
Backed out changeset 13b19e14a332 (bug 1649879)
2020-07-06 10:44:56 +03:00
Matt Woodrow
1ef58514bd
Bug 1649879 - Handle URIFixup that happens on a failed channel in DocumentLoadListener if available, rather than waiting for it to reach nsDocShell. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D81947
2020-07-06 04:29:33 +00:00
Jean-Yves Avenard
8fd158d479
Bug 1649684 - Use the current nsISerialEventTarget with the various process hosts. r=nika
...
In all those cases, the current nsISerialEventTarget is either the main thread or the MessageChannel's nsISerialEventTarget (since bug 1634846)
Differential Revision: https://phabricator.services.mozilla.com/D81966
2020-07-02 22:59:24 +00:00
Noemi Erli
d60357a61d
Backed out changeset 3e349b00a1e4 (bug 1649349) for causing failures in browser_CORS-console-warnings.js
2020-07-02 14:01:25 +03:00
Matt Woodrow
2ffa50a0da
Bug 1649349 - Don't delay rejecting DocumentLoadListener's Open promise when we switch process. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D81648
2020-07-02 07:12:23 +00:00
Mihai Alexandru Michis
9a29f7817f
Backed out changeset 28298106459d (bug 1649349) for causing multiple mochitest failures.
...
CLOSED TREE
2020-07-02 05:18:07 +03:00
Matt Woodrow
ff289259d3
Bug 1649349 - Don't delay rejecting DocumentLoadListener's Open promise when we switch process. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D81648
2020-06-30 19:19:59 +00:00
Simon Giesecke
e3c223da3e
Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80861
2020-07-01 08:34:12 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Butkovits Atila
b75fb2d3e0
Backed out 4 changesets (bug 1646592) for xpcshell failures on test_ext_webRequest_filterResponseData.js CLOSED TREE
...
Backed out changeset cc60e258290e (bug 1646592)
Backed out changeset 3a514b227127 (bug 1646592)
Backed out changeset de9ba1eaded1 (bug 1646592)
Backed out changeset 31aab78792d8 (bug 1646592)
2020-06-30 21:50:45 +03:00
Butkovits Atila
146ad267af
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
4977d4d393
Bug 1599579 - Part 3: Load toplevel extension frames into a per-extension BrowsingContextGroup, r=kmag
...
This is done by tracking a specific BrowsingContextGroup ID on the
WebExtensionPolicy in the parent process. Whenever a load is done with that
policy, the browsing context is replaced to ensure it is loaded in the correct
BrowsingContextGroup.
This patch also ensures that extension iframes are always loaded in the same
process as their embedder document, even if the frame was previously remote.
Differential Revision: https://phabricator.services.mozilla.com/D80256
2020-06-30 15:55:43 +00:00
Nika Layzell
c42a21e44a
Bug 1599579 - Part 2: Reorganize RemoteType logic in MaybeTriggerProcessSwitch, r=mattwoodrow,necko-reviewers,valentin
...
The goal with this is to avoid having multiple booleans and other values
computed in arbitrary places and used around the method, and instead pre-compute
common shared information, and group each remoteType special-case together.
Hopefully, this should make it easier to extend the behaviour in
MaybeTriggerProcessSwitch in the future.
Differential Revision: https://phabricator.services.mozilla.com/D80255
2020-06-30 15:55:35 +00:00