Commit Graph

6362 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
cc0919a14b Bug 1625918: Remove superfluous null checks for mLoadInfo within Necko. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D68790

--HG--
extra : moz-landing-system : lando
2020-04-01 06:58:13 +00:00
sonakshi
18f7d63c13 Bug 1544868 - Remove network predictor code and network.predictor.cleaned-up preference r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68341

--HG--
extra : moz-landing-system : lando
2020-03-31 13:57:09 +00:00
Michal Novotny
6ea08bf0d7 Bug 1622335 - Add telemetry for PAC scripts served over FTP r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67912

--HG--
extra : moz-landing-system : lando
2020-03-24 18:32:57 +00:00
Jeff Walden
6a774342a0 Bug 1626105 - Convert |JS::Compile| for UTF-8 to |JS::CompileDontInflate| semantics, and remove |JS::CompileDontInflate|. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D68905

--HG--
extra : moz-landing-system : lando
2020-03-31 01:30:05 +00:00
Tim Huang
da4b3a697c Bug 1616788 - Part 1: Add a hasStoragePermission flag in the LoadInfo. r=dimi,baku
We add a flag 'HasStoragePermission' in the LoadInfo. This flag
represents whether the loading document, for docuemnt loads, or the
loading resource has the storage permission. And this flag would only
get updated in the parent process when opening the channel.

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

--HG--
extra : moz-landing-system : lando
2020-03-30 14:10:07 +00:00
MahakBansal
77ec5a107b Bug 1179250 - Make implementation of GetInterface return NS_ERROR_NO_INTERFACE on error.r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68607

--HG--
extra : moz-landing-system : lando
2020-03-29 20:31:27 +00:00
sonakshi
b204bf50aa Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-29 19:18:56 +00:00
undef1nd
e4b22f47c2 Bug 1624227 - Generate MozURL_ffi.h using cbindgen, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68619

--HG--
extra : moz-landing-system : lando
2020-03-27 19:29:02 +00:00
Cosmin Sabou
79929c6462 Backed out changeset ad4847d17298 (bug 1551306) for causing build bustages. CLOSED TREE 2020-03-27 20:24:17 +02:00
sonakshi
145046fde2 Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-27 17:57:10 +00:00
JulianWels
b9a66ff272 Bug 1622028 - Log failed upgrades for HTTPS Only Mode. r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D68026

--HG--
extra : moz-landing-system : lando
2020-03-27 17:09:15 +00:00
Oana Pop Rus
679f10ce5f Backed out changeset 9d3487044f9a (bug 1622028) for build bustages in nsHTTPSOnlyStreamListener.h on a CLOSED TREE 2020-03-27 17:47:07 +02:00
JulianWels
8d65d4a658 Bug 1622028 - Log failed upgrades for HTTPS Only Mode. r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D68026

--HG--
extra : moz-landing-system : lando
2020-03-27 14:35:33 +00:00
Mihai Alexandru Michis
c1256a18a6 Backed out changeset d91e4acdd63c (bug 1551306) for causing bustages in request::InitBitsRequest
CLOSED TREE
2020-03-27 16:12:47 +02:00
sonakshi
b5f7fb3be7 Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-27 14:05:02 +00:00
Michal Novotny
4d386edd17 Bug 1625284 - Increase receive buffer size of QUIC socket r=dragana
Receive buffer size is increased to 1MB to avoid packet loss in case of high incoming traffic.

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

--HG--
extra : moz-landing-system : lando
2020-03-27 12:26:38 +00:00
sonakshi
4a48c5d739 Bug 1594432 - Remove aContext from nsIChildChannel.completeRedirectSetup r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68177

--HG--
extra : moz-landing-system : lando
2020-03-26 11:07:10 +00:00
Kershaw Chang
d5305f9c5c Bug 1607221 - Make mTimeouts protected by a lock r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D68018

--HG--
extra : moz-landing-system : lando
2020-03-26 12:08:33 +00:00
sonakshi
d0bf0d67e0 Bug 1608599 - Add preloaded status for requests in the Network panel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67764

--HG--
extra : moz-landing-system : lando
2020-03-25 13:04:35 +00:00
MahakBansal
0481f58467 Bug 1624279 - Convert nsOnStartRequestEvent* to RefPtr<nsOnStartRequestEvent> r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67907

--HG--
extra : moz-landing-system : lando
2020-03-25 12:28:31 +00:00
Kristen Wright
656a5d7c45 Bug 1622111 - Convert four security.mixed_content.* prefs in nsMixedContentBlocker r=njn
Converts `security.mixed_content.block_object_subrequest`, `security.mixed_content.block_display_content`, `security.mixed_content.upgrade_display_content`, and `security.mixed_content.block_active_content` to static prefs.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 00:54:29 +00:00
Kristen Wright
5094f72a18 Bug 1622111 - Convert security.data_uri.unique_opaque_origin to static pref and remove ClientPrefs. r=njn
Converts security.data_uri.unique_opaque_origin to a static pref. This pref was initialized by the ClientManager in ClientPrefs, so this commit also removes those files. Somehow this pref was getting added in VarCache twice, so it also removes the places where the pref was added in Networking.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:08:52 +00:00
undef1nd
c9ce90a9d3 Bug 1624189 - Generate rust-helper's header file via cbindgen r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67786

--HG--
extra : moz-landing-system : lando
2020-03-23 15:01:18 +00:00
Mihai Alexandru Michis
2b56315b69 Backed out changeset 41f948371551 (bug 1624189) for causing bustages in base/nsURLHelper.cpp
CLOSED TREE
2020-03-23 15:18:09 +02:00
undef1nd
eaecb6baf8 Bug 1624189 - Generate rust-helper's header file via cbindgen r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67786

--HG--
extra : moz-landing-system : lando
2020-03-23 12:57:45 +00:00
anjali1903
75f45064cc Bug 1622794 Replace URIParams with nsIURI in PNecko.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67567

--HG--
extra : moz-landing-system : lando
2020-03-23 12:54:35 +00:00
Tom Schuster
d99e2a3133 Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67029

--HG--
extra : moz-landing-system : lando
2020-03-21 20:14:13 +00:00
Mihai Alexandru Michis
13d1400778 Backed out 4 changesets (bug 1622562) for causing wpt failures.
CLOSED TREE

Backed out changeset 1ab69d63949b (bug 1622562)
Backed out changeset a5c299f23df7 (bug 1622562)
Backed out changeset 233b80b283fb (bug 1622562)
Backed out changeset e76f213e7f04 (bug 1622562)

--HG--
extra : rebase_source : 3765e25897f0d8f95a7304e11713bf5aed8f5b83
2020-03-20 20:56:58 +02:00
Tom Schuster
7328dae6e3 Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67029

--HG--
extra : moz-landing-system : lando
2020-03-20 17:24:28 +00:00
Bogdan Tara
a3db8af185 Backed out 3 changesets (bug 1602832) for assertion failing on IOInterposer.cpp CLOSED TREE
Backed out changeset 9123faab0d42 (bug 1602832)
Backed out changeset 4c3764b3d7bc (bug 1602832)
Backed out changeset 9c955a99c95d (bug 1602832)
2020-03-20 14:03:28 +02:00
Kershaw Chang
1e77753c5b Bug 1602832 - P1: Run xpcshell tests without e10s with socket process r=dragana
1. Add `network.process.enabled` beck to `all.js`, since it's easier to run xpcshell tests locally.
2. Launch socket process at `nsHttpHandler::Init`.
3. Allow to launch socket process for running xpcshell test without e10s.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 10:29:57 +00:00
Christoph Kerschbaumer
3e884ce321 Bug 1188538: Ensure every protocol handler sets a valid security flag. r=bholley,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D67496

--HG--
extra : moz-landing-system : lando
2020-03-20 08:25:18 +00:00
Andrea Marchesini
4a7c415e8a Bug 1585306 - nsILoadGroup observes last-pb-context-exit to monitor the browsing context, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66745

--HG--
extra : moz-landing-system : lando
2020-03-19 16:24:21 +00:00
Andrea Marchesini
f1cec250a8 Bug 1585306 - nsILoadGroup and nsILoadGroupChild as builtinclass, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66744

--HG--
extra : moz-landing-system : lando
2020-03-19 16:21:26 +00:00
Honza Bambas
c182c59955 Bug 1607218 - Make nsProxyInfo.mResolveFlags Atomic, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D64807

--HG--
extra : moz-landing-system : lando
2020-02-28 20:14:07 +00:00
Mihai Alexandru Michis
93ec4f0381 Backed out changeset f01596089356 (bug 1220810) for causing crashes in test_performance_attributes_exist_in_object.html
CLOSED TREE
2020-03-19 17:12:32 +02:00
Andrea Marchesini
e4db0e4496 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586

--HG--
extra : moz-landing-system : lando
2020-03-19 13:06:48 +00:00
Masatoshi Kimura
3df19bc1d4 Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen
Only 3 callers are using a non-UTF-8 charset as the first parameter.
* MediaDocument.cpp: This does not make sense because the "filename" part of
  URLs will always be encoded with UTF-8.
* nsContextMenu.js: This is wrong because "mailto:" URLs don't care about the
  document charset.
* Finder.jsm: This caused bug 1623222.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 10:45:28 +00:00
Stefan Hindli
5f419e4b50 Backed out 9 changesets (bug 1622111) for causing mochitest failures in dom/animation/test/mozilla/test_restyles.html CLOSED TREE
Backed out changeset c244160797f8 (bug 1622111)
Backed out changeset dd9209f6bd8b (bug 1622111)
Backed out changeset d694c9e7061f (bug 1622111)
Backed out changeset 486aae809f6d (bug 1622111)
Backed out changeset 709266168c41 (bug 1622111)
Backed out changeset ca0d47bb86a8 (bug 1622111)
Backed out changeset caa735c8bb91 (bug 1622111)
Backed out changeset 12397711ab25 (bug 1622111)
Backed out changeset b66002fd1480 (bug 1622111)
2020-03-19 02:47:51 +02:00
Kristen Wright
edf4e23c7d Bug 1622111 - Convert four security.mixed_content.* prefs in nsMixedContentBlocker r=njn
Converts `security.mixed_content.block_object_subrequest`, `security.mixed_content.block_display_content`, `security.mixed_content.upgrade_display_content`, and `security.mixed_content.block_active_content` to static prefs.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 23:25:13 +00:00
Kristen Wright
54ef9a89c8 Bug 1622111 - Convert security.data_uri.unique_opaque_origin to static pref and remove ClientPrefs. r=njn
Converts security.data_uri.unique_opaque_origin to a static pref. This pref was initialized by the ClientManager in ClientPrefs, so this commit also removes those files. Somehow this pref was getting added in VarCache twice, so it also removes the places where the pref was added in Networking.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 22:12:20 +00:00
Kershaw Chang
18721df102 Bug 1619584 - P1: Introduce TRRLoadInfo for TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66772

--HG--
extra : moz-landing-system : lando
2020-03-18 15:12:36 +00:00
Ciure Andrei
078138600a Backed out 3 changesets (bug 1619584) for causing build bustages CLOSED TREE
Backed out changeset 264d787ca2e7 (bug 1619584)
Backed out changeset d9cc82da0150 (bug 1619584)
Backed out changeset f9566be72ee5 (bug 1619584)
2020-03-17 22:55:52 +02:00
Kershaw Chang
35dfea302c Bug 1619584 - P1: Introduce NullLoadInfo for TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66772

--HG--
extra : moz-landing-system : lando
2020-03-17 20:38:55 +00:00
JulianWels
e5c3036681 Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62590

--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-17 19:24:31 +00:00
Kershaw Chang
c523e09d38 Bug 1527384 - Make net_EnsurePSMInit() work on socket process r=dragana
`net_EnsurePSMInit()` in socket process is called from `nsHttpConnectionMgr::SpeculativeConnect`, so let's also call `EnsureNSSInitializedChromeOrContent` to ensure NSS component is initialized.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 16:32:32 +00:00
Brindusan Cristian
2e859a7b70 Backed out 3 changesets (bug 1619584) for build bustages at UniquePtr.h. CLOSED TREE
Backed out changeset 0f77b2c11966 (bug 1619584)
Backed out changeset 330cffde7320 (bug 1619584)
Backed out changeset 563470b21a8f (bug 1619584)
2020-03-17 18:36:09 +02:00
Kershaw Chang
568d63c2bd Bug 1619584 - P1: Introduce TRRLoadInfo for TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66772

--HG--
extra : moz-landing-system : lando
2020-03-17 14:15:32 +00:00
anjali1903
4018161e48 Bug 1621251 Replace NS_ADDREF(*var = other) with *var = do_AddRef(other).take() in /netwerk r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66818

--HG--
extra : moz-landing-system : lando
2020-03-17 15:05:26 +00:00
MahakBansal
aed05546dc Bug 1599373 - Checking for http proxy should compare only 4 characters.r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D66860

--HG--
extra : moz-landing-system : lando
2020-03-17 11:22:10 +00:00