Commit Graph

7233 Commits

Author SHA1 Message Date
Wes Kocher
3ab9c0079f Backed out changeset fc5cc380ddb3 (bug 1251873) for wpt cross-origin.swap-origin-redirect.http.html failures
MozReview-Commit-ID: Anr0ilrYczq
2016-02-29 13:34:55 -08:00
Ehsan Akhgari
7c3f2b7a03 Bug 1251873 - Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.  The test in this
patch shows the scenarios which would fail under such conditions.
2016-02-29 14:51:16 -05:00
Eric Rahm
dbb515a027 Bug 1251493 - Remove remaining references to MOZILLA_XPCOMRT_API from netwerk. r=mcmanus 2016-02-29 11:16:30 -08:00
Wes Kocher
bf8815d755 Backed out 2 changesets (bug 1243586) for dt5 bustage in netmonitor tests
Backed out changeset 06a4d2d48fb2 (bug 1243586)
Backed out changeset 846e31fe5eb2 (bug 1243586)

MozReview-Commit-ID: 69kiDIULtm2
2016-02-29 10:39:04 -08:00
Christoph Kerschbaumer
77d603857c Bug 1243586 - Implement Upgrade-Insecure-Requests HTTP Request Header Field (r=rbarnes) 2016-02-29 08:44:39 -08:00
Dragana Damjanovic dd.mozilla@gmail.com
e4b62863c4 Bug 1251595 - Check if mNetAddr is set before sending ipv4/6 telemetry. r=mcmanus 2016-02-26 08:00:00 -05:00
Joel Maher
1f1f66ccfc Bug 1251629 - remove unused reference to PREDICTOR_TESTS in netwerk/base/moz.build. r=nwgh
MozReview-Commit-ID: DMfX8ZCzbT
2016-02-26 08:28:08 -08:00
Tim Taubert
230478a40e Bug 1247860 - Enable ChaCha20/Poly1305 cipher suites r=emk,keeler 2016-02-26 12:37:19 +01:00
Paul Bignier
fd084c453b Bug 1245106 - necko compilation warnings r=mcmanus 2016-02-26 11:29:28 -05:00
Dragana Damjanovic
155721f0d8 Bug 580313 - New resource hints for link. r=smaug 2016-02-26 02:41:00 +01:00
Bogdan Postelnicu
d78dea2f30 Bug 1251253 - prevent null pointer dereference of |aContext| in CacheStorageService::DoomStorageEntries. r=mayhemer
MozReview-Commit-ID: BmXXg4eW25n
2016-02-25 20:41:52 +02:00
Bogdan Postelnicu
7637865f1c Bug 1234540 - verify the validity of hashEntry, if it's null return with NS_ERROR_FAILURE. r=michal 2016-02-26 10:30:12 +02:00
David Rajchenbach-Teller
07161a924f Bug 1249590 - Bullet-proofing AsyncShutdown wrt exceptions;r=froydnj
While investigating bug 1248489, we discovered that some code paths in
AsyncShutdown could possibly be sensitive to exceptions being thrown
in unexpected places. This patch attempts to make AsyncShutdown more
robust to such exceptions.

MozReview-Commit-ID: 5ImL9YNVgQr
2016-02-19 12:51:04 +01:00
Brian Smith
1fb3c958e4 Bug 571126: Remove NECKO_SEPARATE_STACKS support, r=jduell 2016-02-25 15:56:44 -08:00
Nicholas Nethercote
bc81aab021 Bug 1247835 (part 1) - Use binary search instead of a hash table in nsEffectiveTLDService. r=jduell.
This saves 128 KiB of memory per process. It requires putting the eTLD entries
in sorted order.
2016-02-25 13:31:01 +11:00
Andrea Marchesini
c6537709fd Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Andrea Marchesini
3e32d12d98 Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug 2016-02-25 16:41:13 +01:00
Andrea Marchesini
e33525b174 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Nathan Froyd
f4e4ca445e Bug 1247393 - use arrays of UniquePtr in ChannelEventQueue; r=mcmanus 2016-01-20 16:56:04 -05:00
Honza Bambas
1c6a5ba1fc Bug 1247644 - Don't do any I/O on doomed and unused HTTP cache entries, r=michal 2016-02-12 14:45:00 +01:00
Bogdan Postelnicu
c2a2694b10 Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W
2016-02-24 13:47:18 +02:00
Carsten "Tomcat" Book
54d02ff7b5 Backed out changeset 3955642fc8a9 (bug 1250115) for bustage 2016-02-24 12:17:39 +01:00
Bogdan Postelnicu
720e9a3be2 Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W
2016-02-24 11:59:07 +02:00
Honza Bambas
472456931c Bug 1050613 - Make sure force-valid for HTTP cache entries is removed when entries are removed, r=michal 2016-02-19 11:56:00 +01:00
Dylan Roeh
5045bcd749 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-22 15:57:18 -06:00
Dylan Roeh
e80a2cd5d5 Bug 1148544 - Figure out UA override once per LoadGroup and cache it, rather than once per channel. r=nwgh 2016-02-22 15:57:18 -06:00
Patrick McManus
c8590ec904 Bug 739029 - null check a thread allocation in notifyaddrlistener r=bagder 2016-02-19 15:21:28 -05:00
Patrick McManus
94632bfb7b Bug 831450 - No Range Requests against weak Etag r=mayhemer 2016-02-19 16:09:16 -05:00
Patrick McManus
e4e610a942 Bug 698882 - backout threadevent changes due to crashes with McAfee Firefox Hook r=backout 2016-02-21 17:41:21 -05:00
Patrick McManus
09107c452b Bug 1249432 - less h2 parallel conns r=hurley 2016-02-18 17:30:46 -05:00
Patrick McManus
c7928b9fb6 Bug 1249379 - H2 Push WindowUpdate not written to network r=hurley 2016-02-18 15:00:46 -05:00
Carsten "Tomcat" Book
1990919b33 Backed out changeset 27f3968ae8b2 (bug 1245184) 2016-02-19 15:55:23 +01:00
Andrea Marchesini
532ae28bc6 Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking 2016-02-19 14:49:50 +01:00
Honza Bambas
22b24b5641 Bug 1247998 - Let nsHttpChannel::AsyncOpen* throw after nsHttpHandler has been shutdown, r=mcmanus 2016-02-18 08:54:00 +01:00
Randell Jesup
5e9bb49bdd Bug 1240760: Update DataChannel::Close() r=mcmanus
MozReview-Commit-ID: 7nN9h3M3O8w
2016-02-19 01:08:07 -05:00
Honza Bambas
9c30d26122 Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown. r=michal 2016-02-12 09:36:00 -05:00
Patrick McManus
0a21c75b87 Bug 1248203 - streamline h2 stream flow control buffer r=hurley 2016-02-13 12:10:02 -05:00
Patrick McManus
7bbadcc77a Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-02-11 15:00:22 -05:00
Michal Novotny
ea8530a9b7 Bug 1248958 - CacheIndex mRWBuf ownership too fragile, read-after-free, r=honzab 2016-02-18 11:43:20 +01:00
Honza Bambas
ddc41d6cdf Bug 1248003 - Purge from HTTP cache memory pool only in reasonable intervals, r=michal 2016-02-15 11:45:00 +01:00
Kershaw Chang
d1637aa02a Bug 1239955 - Let DNSService rely on IOService::Offline, r=bagder 2016-02-17 22:29:00 +01:00
Honza Bambas
f7fb99277f Bug 587177 - Update all comments before SetOriginalURI to reflect reality, r=mcmanus 2016-02-17 10:46:00 +01:00
Daniel Holbert
82f8a5e482 Bug 1247733 part 4: Add xpcshell test for nsIStandardURL setDefaultPort() API. r=valentin 2016-02-17 19:24:42 -08:00
Daniel Holbert
6e5d395ba3 Bug 1247733 part 2: Give nsIStandardURL an API to set its default port, and use it when upgrading HTTP connections to HTTPS. r=valentin 2016-02-17 19:24:36 -08:00
Daniel Holbert
ceeeb4e21f Bug 1247733 part 1: Create a helper function for nsStandardURL's code to add/remove/replace a port in the URL string. r=valentin 2016-02-17 19:24:34 -08:00
Daniel Holbert
339b378243 Bug 1248452: Rewrite NS_IsHSTSUpgradeRedirect to use HttpBaseChannel::GetSecureUpgradedURI. r=jduell 2016-02-17 19:03:41 -08:00
Christoph Kerschbaumer
cec3750232 Bug 1246220: Update test_bug337744 (r=mcmanus) 2016-02-12 17:18:29 -08:00
Matt Wobensmith
8562186c68 Bug 1246220 - Remove SEC_NORMAL from netwerk/test (r=ckerschb,mcmanus) 2016-02-16 16:10:14 -08:00
Michal Novotny
a7cf8773b0 Bug 1248389 - Cache index causing CPU loops, r=honzab 2016-02-17 11:47:47 +01:00
radu stoica
09acbe0483 Bug 1248558 - "[Static Analysis][Unintentional integer overflow][CacheFile.cpp::PreloadChunk, CacheFile.cpp::GetChunkLocked]". r=michal 2016-02-16 04:29:00 +01:00