Commit Graph

20387 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
dd5e04a92b Backed out changeset cc9bea1151d3 (bug 1645219) for causing failures in netinet/sctp_usrreq.c
CLOSED TREE
2020-06-18 05:07:54 +03:00
Byron Campen [:bwc]
f0925b9486 Bug 1645219: Repurpose DataChannelShutdown into DataChannelRegistry (which gives us some weak-pointer-like semantics) r=ng
Differential Revision: https://phabricator.services.mozilla.com/D79375
2020-06-16 00:17:10 +00:00
Valentin Gosu
f1f9d94272 Bug 1641303 - Use query and ref lengths if available r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D77418
2020-06-17 08:29:21 +00:00
Gijs Kruitbosch
19220a3149 Bug 1644863 - fix trailing whitespace and windows line endings in locale files, r=fluent-reviewers,flod,Pike
Differential Revision: https://phabricator.services.mozilla.com/D79203
2020-06-17 22:46:22 +00:00
Gijs Kruitbosch
222e2d1158 Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Kris Maglione
316de88922 Bug 1642425: Part 2 - Remove IsFrame() from GlobalWindow(Inner|Outer). r=smaug
It does not return sensible values under Fission.

Differential Revision: https://phabricator.services.mozilla.com/D77701
2020-06-17 18:01:02 +00:00
Kris Maglione
4b1ac04706 Bug 1642425: Part 1 - Remove IsTopLevelWindow() method. r=baku
It doesn't do anything sensible under Fission.

Differential Revision: https://phabricator.services.mozilla.com/D77700
2020-06-17 18:01:00 +00:00
Andy Grover
caf191f33d Bug 1646106 - Update to Neqo 0.4.3 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79893
2020-06-17 07:09:52 +00:00
Sebastian Streich
8ca2760980 Bug 1645079 backout XTCO Telemetry r=ckerschb
- c2ec766b798c

Differential Revision: https://phabricator.services.mozilla.com/D79814
2020-06-17 17:21:12 +00:00
Dimi Lee
a10e95cd91 Bug 1645406 - Remove getContentBlockingAllowListPrincipalFromWindow from mozIThirdPartyUtil.idl r=timhuang,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79464
2020-06-17 15:34:21 +00:00
Valentin Gosu
4b2dbd9043 Bug 1645715 - Check if uri is null in ComputeCrossOriginOpenerPolicyMismatch r=michal,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79657
2020-06-17 13:59:53 +00:00
Michal Novotny
a19fb4691b Bug 1644374 - Return NS_BASE_STREAM_WOULD_BLOCK from Http3Stream::OnWriteSegment() when no data was written r=necko-reviewers,dragana
HTTP/3 server can start sending the response before the whole request is sent (e.g. server decides
to ignore the POST data). In such case Http3Stream::OnWriteSegment() can be called in a state when
we don't want to read the data yet. We need to return NS_BASE_STREAM_WOULD_BLOCK instead of NS_OK
to avoid hitting an assertion in nsHttpTransaction::WritePipeSegment().

Differential Revision: https://phabricator.services.mozilla.com/D79984
2020-06-17 10:57:39 +00:00
Matt Woodrow
d3e50c8f76 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
c350ad5bd6 Backed out changeset f56d5efc5e43 (bug 1644943) for build bustages on nsFrameLoaderOwner.cpp. CLOSED TREE 2020-06-17 02:55:01 +03:00
Nicholas Nethercote
a8f5f49b8a Bug 1645982 - Rename some service getters in Services.py to better match the types. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D79791
2020-06-16 23:32:21 +00:00
Matt Woodrow
645b2bc301 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
Razvan Maries
d653f63b03 Backed out changeset 1c9058277ddd (bug 1641905) for perma failures on test_ext_cookies_firstParty.js. CLOSED TREE 2020-06-16 22:16:58 +03:00
Andrea Marchesini
f7efe6a94c Bug 1641905 - ThirdPartyUtil::IsThirdPartyWindow for fission, r=dimi,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D79307
2020-06-16 17:46:41 +00:00
Kershaw Chang
4d210f91f7 Bug 1544378 - Implement RetargetDeliveryTo for HttpTransactionParent r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D79429
2020-06-16 14:59:40 +00:00
Junior Hsu
97115bd8ef Bug 1645527 - P2 move OverrideReferrerInfoDuringBeginConnect to PHttpChannel::OnStartRequest, r=baku,valentin,necko-reviewers,mayhemer
We're going to send OnStartRequest via PHttpBackgroundChannel, anything sending via PHttpChannel before OnStartRequest
would be a race.

https://phabricator.services.mozilla.com/D49773#inline-303635
This link implicates that OverrideReferrerInfoDuringBeginConnect is fine just before OnStartRequest. To reduce the
racy and number of IPCs, I move the referrer info overridden to HttpChannelParent::OnStartRequest.

Differential Revision: https://phabricator.services.mozilla.com/D79580
2020-06-16 15:10:03 +00:00
Junior Hsu
e195192267 Bug 1645527 - P1 AssociateApplicationCache should be sent in PHttpChannel::OnStartRequest, r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79579
2020-06-16 01:42:55 +00:00
Andrea Marchesini
a9d21d61f2 Bug 1642971 - Do not allow cookies for FTP channels, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D79663
2020-06-16 12:26:34 +00:00
Sylvestre Ledru
85c05f3a47 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D79795
2020-06-16 14:37:23 +00:00
Kershaw Chang
6e1e227d7c Bug 1645346 - Clear transaction pump in OnStopRequest to avoid meaningless suspend and resume, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D79437
2020-06-16 13:04:19 +00:00
Michal Novotny
542d54d4f7 Bug 1644374 - Remember NS_BASE_STREAM_WOULD_BLOCK error in Http3Stream::OnReadSegment() r=necko-reviewers,dragana
Errors are lost between Http3Stream::OnReadSegment() and Http3Stream::ReadSegments() in nsBufferedInputStream::ReadSegments(). In case of NS_BASE_STREAM_WOULD_BLOCK this means we proceed to the next state without sending all request data.

Differential Revision: https://phabricator.services.mozilla.com/D79262
2020-06-15 17:21:59 +00:00
Butkovits Atila
16a71ee2b8 Backed out changeset 4e775c2385b2 (bug 1641222) for causing failure at test_trr_httpssvc_wrap.js. CLOSED TREE 2020-06-16 14:49:01 +03:00
Valentin Gosu
2972e378b7 Bug 1641222 - Follow CNAME/AliasForm chains r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79264
2020-06-16 10:12:00 +00:00
Kershaw Chang
d4338024af Bug 1640105 - Don't initialize user agent components in socket process r=dragana
Since system info service may not be available in socket process, user agent components should be initialized in parent process only.

Differential Revision: https://phabricator.services.mozilla.com/D79153
2020-06-15 18:14:29 +00:00
Kershaw Chang
bd91b973bb Bug 1640105 - Don't launch socket process during shutdown r=dragana
Depends on D77303

Differential Revision: https://phabricator.services.mozilla.com/D77304
2020-06-15 18:14:29 +00:00
Kershaw Chang
e1aaf7e9c2 Bug 1640105 - Initialize necessary services eariler r=dragana
Initialize http handler, DNS service, and IOService earlier to avoid crash.

Differential Revision: https://phabricator.services.mozilla.com/D77303
2020-06-09 14:44:19 +00:00
Nika Layzell
cde53b3bec Bug 1508306 - Part 1: Migate the Large-Allocation handler to DocumentLoadListener, r=mattwoodrow,necko-reviewers,geckoview-reviewers,agi,valentin
This removes the diagnostic warnings which used to be logged when the
Large-Allocation header was present, but failed to switch into a
Large-Allocation process. Due to the low adoption of the header, this shouldn't
be too large of a problem, but we can look into re-adding the diagnostics if
needed in the future.

The new codepath no longer performs multiple network requests for
Large-Allocation resources, and now relies on the battle-tested
DocumentLoadListener codepath for process switching.

Differential Revision: https://phabricator.services.mozilla.com/D78998
2020-06-15 23:24:07 +00:00
Nika Layzell
4a9372aa21 Bug 1640019 - Part 4: Get rid of PROCESS_BEHAVIOR_CUSTOM, r=mattwoodrow,Gijs,necko-reviewers,valentin
As tabbrowser now uses `PROCESS_BEHAVIOR_STANDARD`, `PROCESS_BEHAVIOR_CUSTOM` is
now unused. This patch removes that now-unused code.

Differential Revision: https://phabricator.services.mozilla.com/D78972
2020-06-15 23:23:56 +00:00
Nika Layzell
025dcf4a90 Bug 1640019 - Part 3: Also allow switching between remote and non-remote, r=mattwoodrow,necko-reviewers,valentin
Due to the PPDC process switching changes, we also handle switching between
remote and non-remote browsers with DocumentLoadListener. Adds support to
CanonicalBrowsingContext::ChangeFrameRemoteness to allow it to handle non-remote
browsers as well.

Differential Revision: https://phabricator.services.mozilla.com/D78971
2020-06-15 23:23:53 +00:00
Nika Layzell
212943c862 Bug 1640019 - Part 1: Support toplevel process switches outside of tabbrowser, r=mattwoodrow
This new process switching behavior is only enabled for some browser elements,
which have specified a specific attribute. Turning this on for all browsers with
a `remote` attribute causes breakage in reftests.

The initial version does not handle switching from remote to parent or
vice-versa, that is covered in a later part.

Differential Revision: https://phabricator.services.mozilla.com/D78969
2020-06-15 23:23:43 +00:00
Henri Sivonen
d5b9be12ce Bug 1603712 - Remove intl.charset.detector.ng.enabled pref and resulting dead code. r=Gijs,fluent-reviewers,valentin,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D79101
2020-06-15 15:32:21 +00:00
ffxbld
ec8c8c7bde No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D79691
2020-06-15 14:33:28 +00:00
julianwels
68d7c6ffa2 Bug 1640853 - Using PermissionManager for HTTPS Only Mode upgrade exceptions. r=ckerschb,nhnt11,nika,johannh,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D77040
2020-06-15 11:19:39 +00:00
Andrea Marchesini
20ad814e4c Bug 1636823 - nsInputTransport must support blocking and async source - part 4 - gtest for inputStreamTransport, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78236
2020-06-13 06:30:52 +00:00
Andrea Marchesini
ad5c1e46d5 Bug 1636823 - nsInputTransport must support blocking and async source - part 3 - move gtests, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78235
2020-06-12 22:48:03 +00:00
Andrea Marchesini
b5ce8bd6df Bug 1636823 - nsInputTransport must support blocking and async source - part 2 - implementation, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78234
2020-06-12 22:48:05 +00:00
Andrea Marchesini
6cd06a958e Bug 1636823 - nsInputTransport must support blocking and async source - part 1 - Use NS_MakeAsyncNonBlockingInputStream, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78233
2020-06-12 22:48:07 +00:00
Narcis Beleuzu
f5fcf19b63 Backed out 4 changesets (bug 1636823) for bustages on TestReadStreamToString.cpp . CLOSED TREE
Backed out changeset 13ab343d2c45 (bug 1636823)
Backed out changeset 50dd67f96214 (bug 1636823)
Backed out changeset 9cdc2e31ee04 (bug 1636823)
Backed out changeset 7d220fd9ac49 (bug 1636823)
2020-06-13 01:13:40 +03:00
Andrea Marchesini
4d26a02b74 Bug 1636823 - nsInputTransport must support blocking and async source - part 4 - gtest for inputStreamTransport, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78236
2020-06-12 20:22:07 +00:00
Andrea Marchesini
d7b59f05bc Bug 1636823 - nsInputTransport must support blocking and async source - part 3 - move gtests, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78235
2020-06-12 15:51:42 +00:00
Andrea Marchesini
62f91f5b57 Bug 1636823 - nsInputTransport must support blocking and async source - part 2 - implementation, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78234
2020-06-12 15:51:35 +00:00
Andrea Marchesini
3b2a995725 Bug 1636823 - nsInputTransport must support blocking and async source - part 1 - Use NS_MakeAsyncNonBlockingInputStream, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78233
2020-06-12 15:51:38 +00:00
Olli Pettay
3b7865f462 Bug 1644119 - Pass loadingEntry to the docshell also when load is similar origin, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D78814
2020-06-12 20:53:11 +00:00
Matt Woodrow
20d25fdc03 Bug 1644945 - Implement a wrapper nsIParentChannel for ParentProcessDocumentChannel so that we can use the same code in DocumentLoadListener. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D79241
2020-06-12 21:03:06 +00:00
Narcis Beleuzu
a8dde16e58 Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE
Backed out changeset 8844170ff408 (bug 1508306)
Backed out changeset b750f1d873cf (bug 1508306)
Backed out changeset c7170e76e676 (bug 1640019)
Backed out changeset 5905995e4815 (bug 1640019)
Backed out changeset 7bf86513348e (bug 1640019)
Backed out changeset f7d0605295f7 (bug 1640019)
Backed out changeset 521b4d5a9a89 (bug 1640019)
Backed out changeset 8542edc564bc (bug 1640019)
Backed out changeset 4f6a03152526 (bug 1640019)
Backed out changeset 30d2bf04719b (bug 1640019)
2020-06-12 22:47:50 +03:00
Nika Layzell
47c0aeb539 Bug 1508306 - Part 1: Migate the Large-Allocation handler to DocumentLoadListener, r=mattwoodrow,necko-reviewers,geckoview-reviewers,agi,valentin
This removes the diagnostic warnings which used to be logged when the
Large-Allocation header was present, but failed to switch into a
Large-Allocation process. Due to the low adoption of the header, this shouldn't
be too large of a problem, but we can look into re-adding the diagnostics if
needed in the future.

The new codepath no longer performs multiple network requests for
Large-Allocation resources, and now relies on the battle-tested
DocumentLoadListener codepath for process switching.

Differential Revision: https://phabricator.services.mozilla.com/D78998
2020-06-12 16:52:13 +00:00