Dan Glastonbury
081870285c
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.
Depends on D80406
Differential Revision: https://phabricator.services.mozilla.com/D80407
2020-07-21 01:01:05 +00:00
Dan Glastonbury
6cc4f21ec3
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.
Depends on D80404
Differential Revision: https://phabricator.services.mozilla.com/D80405
2020-07-21 01:01:00 +00:00
Dan Glastonbury
89ba945ff2
Bug 1646899 - P1: Deduplicate initialization of LoadInfo default values. r=necko-reviewers,dragana
...
LoadInfo has a lot of state. Simplify initialization so most have one definition
of truth.
Differential Revision: https://phabricator.services.mozilla.com/D80404
2020-07-21 01:00:53 +00:00
Valentin Gosu
846a198de3
Bug 1653201 - Remove internal nsStandardURL punycode pref r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D84105
2020-07-19 19:40:05 +00:00
Marco Bonardo
9717edb569
Bug 1637745. r=Gijs,necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D80345
2020-07-17 13:45:58 +00:00
Anny Gakhokidze
4621d13002
Bug 1642468 - Part 2: Remove outer windowId from LoadInfo constructors, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D83563
2020-07-17 17:13:33 +00:00
Anny Gakhokidze
deced955d5
Bug 1642468 - Part 1: Remove all outer windowId fields from LoadInfo, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D83562
2020-07-17 17:13:26 +00:00
Simon Giesecke
4792d7c14e
Bug 1651931 - Remove unnecessary includes from ContentChild.h. r=nika
...
Before these changes, ContentChild.h was the #9 most expensive header to include:
217505 ms: /home/simon/work/fuzzy/obj-x86_64-pc-linux-gnu-optimized/dist/include/mozilla/dom/ContentChild.h (included 105 times, avg 2071 ms)
After these changes, it is no longer among the top 30 most expensive headers.
Some missing includes in other files are added along.
Differential Revision: https://phabricator.services.mozilla.com/D83049
2020-07-15 12:45:10 +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
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
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
Dan Glastonbury
98dc480963
Bug 1646899 - P1: Deduplicate initialization of LoadInfo default values. r=necko-reviewers,dragana
...
LoadInfo has a lot of state. Simplify initialization so most have one definition
of truth.
Differential Revision: https://phabricator.services.mozilla.com/D80404
2020-07-13 00:48:45 +00:00
Narcis Beleuzu
d27be427c9
Backed out changeset 83749e9e67bd (bug 1220810) for bc failures on browser_fall_back_to_https.js . CLOSED TREE
2020-07-10 18:42:17 +03:00
Andrea Marchesini
23052342cb
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 14:30:58 +00:00
Mihai Alexandru Michis
b62be4d15f
Backed out changeset 1b035d80fb9f (bug 1220810) for causing bustages in netwerk/dns/DNS.cpp
...
CLOSED TREE
2020-07-10 17:17:20 +03:00
Andrea Marchesini
f498accc17
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 13:08:14 +00:00
Mihai Alexandru Michis
44cad01e29
Backed out changeset 1b44f13206d0 (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:37:45 +03:00
Andrea Marchesini
2144af13e9
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 12:23:46 +00:00
Mihai Alexandru Michis
61006875dd
Backed out changeset 36f368ba214c (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:00:15 +03:00
Andrea Marchesini
f36d351374
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 11:34:10 +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
Kershaw Chang
3e2bb60df1
Bug 1647759
- P1: Make nsIOService::mOffline and nsIOService::mConnectivity atomic r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82351
2020-07-09 12:56:03 +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
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
Kershaw Chang
18ea12a27d
Bug 1647759
- P1: Make nsIOService::mOffline and nsIOService::mConnectivity atomic r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82351
2020-07-06 18:26:16 +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
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
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
Kris Maglione
5837ad4bdd
Bug 1580764: Part 3 - Remove unused AncestorOuterWindowIDs from LoadInfo. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D82465
2020-07-07 21:14:34 +00:00
Kris Maglione
bd94db4e9a
Bug 1580764: Part 2 - Use BrowsingContext IDs rather than window IDs to compute frame IDs. r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D82464
2020-07-07 21:37:53 +00:00
Kris Maglione
01ca404c30
Bug 1580764: Part 1 - Add ancestor BrowsingContext IDs to LoadInfo. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D82463
2020-07-07 21:14:42 +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
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
Kershaw Chang
bfef77cb06
Bug 1607426 - Add a mutex to protect nsPACMan::mLoader r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D73286
2020-07-03 12:31:31 +00:00
Kershaw Chang
555ff876d1
Bug 1648008 - Don't report DNS error if the socket is closed by client side r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D81469
2020-06-29 09:09:21 +00:00
Andreas Farre
91413414ea
Bug 1645781 - Part 2: Make nsMIMEInputStream always be serializable. r=baku,necko-reviewers
...
nsMIMEInputStream was conditionally serializable depending on the
wrapped stream. In general when a stream needs to be sent over IPC, if
it isn't serializable we send it using
InputStreamHelper::SerializeInputStreamAsPipe. There is no reason to
not branch on the wrapped stream when serializing nsMIMEInputStream
and use that, instead of sending the nsMIMEInputStream itself over a
pipe.
Differential Revision: https://phabricator.services.mozilla.com/D80890
2020-07-01 14:20:06 +00:00
Simon Giesecke
9364b353d4
Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80631
2020-07-01 08:42:31 +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
Jean-Yves Avenard
735a4b5c2c
Bug 1648898 - Fix data race on STS loop start. r=mayhemer
...
The STS dispatched the first event before setting mThread member. It was possible that the STS::Run() task got started before mThread was set and causing one of the nsISerialEventTarget methods to read mThread/mInitialised/mShuttingDown value as null or zero and they would have returned an error.
We rewrite and simplify the access to mThread such that it's a lockless operation.
ApplyPortRemapPreference assert that it's running on the taskqueue; however if called before initialization, it would have been run on whatever thread called ApplyPortRemap.
Differential Revision: https://phabricator.services.mozilla.com/D81334
2020-06-30 11:06:31 +00:00
Narcis Beleuzu
b151157eee
Backed out changeset f16199c7d45e (bug 1648898) for causing Bug 1649333 . CLOSED TREE
2020-06-30 09:57:42 +03:00
Jean-Yves Avenard
6ca26ca6d3
Bug 1648898 - Fix data race on STS loop start. r=mayhemer
...
The STS dispatched the first event before setting mThread member. It was possible that the STS::Run() task got started before mThread was set and causing one of the nsISerialEventTarget methods to read mThread/mInitialised/mShuttingDown value as null or zero and they would have returned an error.
We rewrite and simplify the access to mThread such that it's a lockless operation.
ApplyPortRemapPreference assert that it's running on the taskqueue; however if called before initialization, it would have been run on whatever thread called ApplyPortRemap.
Differential Revision: https://phabricator.services.mozilla.com/D81334
2020-06-29 22:59:20 +00:00