Commit Graph

17826 Commits

Author SHA1 Message Date
Fabio Alessandrelli
aec49ddacd Bug 1529695: Implement RTCDataChannel.negotiated. r=bwc,smaug
--HG--
extra : amend_source : d16ca9ffde03d531b012c8f7263d49ef1137327b
2019-05-16 23:11:46 +02:00
Andrea Marchesini
4e58d1f5a3 Bug 1551826 - Use StaticPrefs for network.cookie.staleThreshold in nsCookie, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D31218

--HG--
extra : moz-landing-system : lando
2019-05-15 13:33:47 +00:00
Andrea Marchesini
289365e128 Bug 1551821 - Get rid of pref network.cookie.same-site.enabled, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D31217

--HG--
extra : moz-landing-system : lando
2019-05-15 13:33:45 +00:00
Honza Bambas
4534b7e9ee Bug 1548804 - Remove origin suffix isolation for proxy credentials when setting authentication cache entry, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D30911

--HG--
extra : moz-landing-system : lando
2019-05-14 13:40:30 +00:00
Honza Bambas
7e08712a6a Bug 1550498, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D30510

--HG--
extra : moz-landing-system : lando
2019-05-09 17:42:17 +00:00
Honza Bambas
ad027c9594 Bug 1548822, r=kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D30364

--HG--
extra : moz-landing-system : lando
2019-05-09 16:39:59 +00:00
Honza Bambas
f739775f6f Bug 1540759, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D30382

--HG--
extra : moz-landing-system : lando
2019-05-08 21:07:05 +00:00
dlee
d7aece18ce Bug 1548517 - Add hash for test entries added via HostInPrefTables. r=baku
Origin telemetry expects every tracking channel has tracker's hash.
Without hash value for test entries, it will trigger MOZ_ASSERT while running
testcases.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 19:39:24 +00:00
dlee
00f63d827c Bug 1549405 - Use LOAD_BYPASS_URL_ClASSIFIER flag for TRR request. r=valentin
We should add LOAD_BYPASS_URL_ClASSIFIER to TRR request because if
"network.trr.mode" is set to 3, blocked TRR request means DNS resolution
fail, we don't fall back to regular DNS in this scenario.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 19:05:02 +00:00
Valentin Gosu
74914bc5a5 Bug 1548994 - Release nsCompleteUpgradeData.mUpgradeListener on the main thread as it is not always threadsafe r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D30022

--HG--
extra : moz-landing-system : lando
2019-05-13 22:49:02 +00:00
Andrew McCreight
2841945140 Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).

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

--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
Michal Novotny
9bfa74da09 Bug 1550874 - Don't call SSL_SetResumptionToken if SSL_NO_CACHE option was set on the socket, r=valentin
We shouldn't search the cache and try to set TLS resumption token in nsSocketTransport::InitiateSocket() if the socket has SSL_NO_CACHE flag set, because NSS code might not honor the flag when the token is provided via API for external TLS session caches.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 15:14:46 +00:00
Andrew McCreight
4e2463d64c Bug 1550591 - nsIRequestTailUnblockCallback and nsIRequestContext don't need to be scriptable. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D30607

--HG--
extra : moz-landing-system : lando
2019-05-10 06:04:53 +00:00
Valentin Gosu
2246580609 Bug 1547882 - Fix test_bug337744.js that expects no %2f in the query of resource URLs r=kmag,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D30351

--HG--
extra : moz-landing-system : lando
2019-05-10 13:56:27 +00:00
Valentin Gosu
ab2249cd48 Bug 1547882 - Don't unescape %2e and %2f in the query or hash or moz-extension URLs. r=kershaw
Since the SubstitutingProtocolHandler is also extended by nsResProtocolHandler, this change would also apply to resource:// URLs.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 13:56:05 +00:00
Michal Novotny
224fc95a6b Bug 1548472 - Collect telemetry about how is the cache split by the content type, r=mayhemer
Like in case of bug 1506534, this telemetry is sampled periodically every time 2GB of data is written to the cache, i.e. when the cache was used for some time and there is a chance that its content has changed significantly.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 13:15:40 +00:00
Michal Novotny
242a096333 Bug 1546975 - Cache SSL resumption tokens in necko, r=mayhemer
SSLTokensCache is a simple memory only storage for resumption tokens which are get and set using API for external TLS session caches in NSS.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 22:04:43 +00:00
Byron Campen [:bwc]
6bc474b4f7 Bug 1548272: Don't look at mFlags in GetOrdered (since this is called on main). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D29529

--HG--
extra : moz-landing-system : lando
2019-05-09 15:37:55 +00:00
Byron Campen [:bwc]
d9e760b079 Bug 1529612 - Part 4: Work around issue where receiver would get message before sender saw its bufferedAmount drop. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30389

--HG--
extra : moz-landing-system : lando
2019-05-09 16:12:35 +00:00
Byron Campen [:bwc]
eb8300b947 Bug 1529612 - Part 2: Keep/update bufferedAmount on main only. Some simplifications. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28526

--HG--
extra : moz-landing-system : lando
2019-05-09 15:39:05 +00:00
Noemi Erli
6430d23336 Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
Ehsan Akhgari
b9c7626390 Bug 1547813 - Part 9: Ensure the cookie service does third-party checks when the cookie policy is set to nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30118

--HG--
extra : moz-landing-system : lando
2019-05-08 19:38:08 +00:00
Ehsan Akhgari
c7cb5521d1 Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30117

--HG--
extra : moz-landing-system : lando
2019-05-08 20:22:18 +00:00
Ehsan Akhgari
f33f21e80b Bug 1547813 - Part 7: Introduce a storage partitioning API; r=baku
This API abstracts away the details of the decision on what context should be
partitioned away from the consumers and centralizes the decision making into
the same location in the code base.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:15:13 +00:00
Ehsan Akhgari
564ae33dab Bug 1547813 - Part 1: Introduce nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
This new code designates our new cookie policy for blocking cookies and
storage access from third-party trackers and partitioning the cookie jar
of the rest of third-party resources.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 19:37:40 +00:00
Kershaw Chang
0b4a4597ab Bug 1545226 - Enable gtests r=valentin
This patch fixes some build issues on Android and also enables some gtests.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:56:51 +00:00
Andrea Marchesini
42390cde39 Bug 1546598 - Remove domain cookies in nsICookieService.removeCookiesFromRootDomain(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D30384

--HG--
extra : moz-landing-system : lando
2019-05-08 22:37:02 +00:00
Dragana Damjanovic
28355093cb Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28811

--HG--
extra : moz-landing-system : lando
2019-05-08 19:29:16 +00:00
Andrea Marchesini
c97597a819 Bug 1457503 - Removal of http-equiv cookies. draft, r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D29841

--HG--
extra : moz-landing-system : lando
2019-05-08 13:50:45 +00:00
Ehsan Akhgari
3d7881e880 Bug 1549011 - Ignore cookie name-value-pair strings with an empty name; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29929

--HG--
extra : moz-landing-system : lando
2019-05-08 08:51:42 +00:00
Haik Aftandilian
45bb7b8823 Bug 1546544 - Enable TCSM r=asuth,spohl,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29046

--HG--
extra : moz-landing-system : lando
2019-05-07 22:16:14 +00:00
Bogdan Tara
be70e99ad1 Backed out changeset 723587a2ae49 (bug 1531344) for netwerk/test/unit/test_* failures CLOSED TREE 2019-05-08 00:04:32 +03:00
Dragana Damjanovic
463cf81c74 Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28811

--HG--
extra : moz-landing-system : lando
2019-05-07 17:57:33 +00:00
arthur.iakab
62df572c1c Backed out 2 changesets (bug 1546544) for causing mochitest-chrome test failures on automation.py CLOSED TREE
Backed out changeset d4b67960c0f9 (bug 1546544)
Backed out changeset fda45db5f8e9 (bug 1546544)
2019-05-07 05:38:37 +03:00
Valentin Gosu
987a27b272 Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884

--HG--
extra : moz-landing-system : lando
2019-05-06 16:38:16 +00:00
Valentin Gosu
b20ae58567 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883

--HG--
extra : moz-landing-system : lando
2019-05-06 16:37:01 +00:00
Valentin Gosu
975c55c679 Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26882

--HG--
extra : moz-landing-system : lando
2019-05-06 16:47:14 +00:00
Haik Aftandilian
cd1c25bb79 Bug 1546544 - Enable TCSM r=asuth,spohl,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29046

--HG--
extra : moz-landing-system : lando
2019-05-06 06:09:10 +00:00
Honza Bambas
994f162385 Bug 1549368 - Let proxyAuthorizationHeader and connectionIsolationKey in proxy.onRequest apply only to HTTPS proxies, no test, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D30066

--HG--
extra : moz-landing-system : lando
2019-05-06 16:28:25 +00:00
Geoff Brown
069ac0b409 Bug 1545226 - Enable some android gtests in netwerk/test/gtest/parse-ftp; r=jmaher
With changes from bug 1548555, one of the gtests previously disabled on Android
can be re-enabled, but most of the tests in netwerk/test/gtest are still problematic
(some won't build for me).

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

--HG--
extra : moz-landing-system : lando
2019-05-06 18:53:55 +00:00
Honza Bambas
2555fb9646 Bug 1545420 - Allow extensions to set Proxy-Authorization and connection isolation key through proxy.onRequest, r=dragana,mixedpuppy+mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D29825

--HG--
extra : moz-landing-system : lando
2019-05-06 07:22:18 +00:00
dlee
c46d88af6d Bug 1548486 - Set tracking info in fingerprinting annotation & cryptoming annotation. r=baku
The enable channels classified by these two features contain tracker's
hash value.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:06:56 +00:00
Cosmin Sabou
43e85c587a Bug 1140656 - Disable test_socks.js on mac debug for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29967

--HG--
extra : moz-landing-system : lando
2019-05-05 22:40:37 +00:00
Liang-Heng Chen
784cd8785e Bug 1544598 - Part 1: use hash to record origin telemetry; r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29357

--HG--
extra : moz-landing-system : lando
2019-05-03 15:37:14 +00:00
Andrea Marchesini
360fec5787 Bug 1542170 - Expose http channel Id to WebSocketEvent listeners, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D28865

--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:44 +00:00
Andrea Marchesini
fc1e01dc0b Bug 1542170 - Introduce nsIWebSocketChannel.httpChannelId, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D28864

--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:24 +00:00
Andrea Marchesini
000c5d8a75 Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D29356

--HG--
extra : moz-landing-system : lando
2019-05-03 17:14:23 +00:00
Andrea Marchesini
d179c5015e Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:47 +00:00
Andrea Marchesini
f8565bf748 Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Geoff Brown
0f0beaf249 Bug 1546553 - Disable some xpcshell tests on Android x86_64; r=jmaher
These tests need to be disabled to get a green run on the Android x86_64
test platform. The failures in toolkit/components/extensions are
concerning and definitely require follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:50:15 +00:00