Граф коммитов

12605 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari befc43a124 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 217f7e1cbf Bug 1251493 - Remove remaining references to MOZILLA_XPCOMRT_API from netwerk. r=mcmanus 2016-02-29 11:16:30 -08:00
Wes Kocher 4712647d7d 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 a863521d73 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 d4dfbeb3b6 Bug 1251595 - Check if mNetAddr is set before sending ipv4/6 telemetry. r=mcmanus 2016-02-26 08:00:00 -05:00
Joel Maher e31f4f8868 Bug 1251629 - remove unused reference to PREDICTOR_TESTS in netwerk/base/moz.build. r=nwgh
MozReview-Commit-ID: DMfX8ZCzbT

--HG--
extra : rebase_source : 198e78d68c9af6fbc0e13e101735a433a1de1f16
2016-02-26 08:28:08 -08:00
Tim Taubert 896a7362d7 Bug 1247860 - Enable ChaCha20/Poly1305 cipher suites r=emk,keeler 2016-02-26 12:37:19 +01:00
Paul Bignier 1d1fd489f5 Bug 1245106 - necko compilation warnings r=mcmanus
--HG--
extra : rebase_source : 6f4adf253af73a58d3ff5561e33e34eed94e456b
2016-02-26 11:29:28 -05:00
Dragana Damjanovic 5031bdb80e Bug 580313 - New resource hints for link. r=smaug
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Bogdan Postelnicu 3de845aa19 Bug 1251253 - prevent null pointer dereference of |aContext| in CacheStorageService::DoomStorageEntries. r=mayhemer
MozReview-Commit-ID: BmXXg4eW25n

--HG--
extra : rebase_source : 35ca2824ebdd618fef7b6de4858de8214571f466
2016-02-25 20:41:52 +02:00
Bogdan Postelnicu b700af6edd 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 48f2be74e2 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

--HG--
extra : rebase_source : 823ee41406f7b341750e0339dfe3d5dbaa6d0cc9
2016-02-19 12:51:04 +01:00
Brian Smith 0005663935 Bug 571126: Remove NECKO_SEPARATE_STACKS support, r=jduell 2016-02-25 15:56:44 -08:00
Nicholas Nethercote 9d2a708f22 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.

--HG--
extra : rebase_source : 96678fcd91089a5151760dcced77e459bcbd4821
2016-02-25 13:31:01 +11:00
Andrea Marchesini b1768e7ec3 Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Andrea Marchesini 8cd3c16e81 Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug 2016-02-25 16:41:13 +01:00
Andrea Marchesini ed31fee8d4 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Nathan Froyd f1a24ff6a0 Bug 1247393 - use arrays of UniquePtr in ChannelEventQueue; r=mcmanus 2016-01-20 16:56:04 -05:00
Honza Bambas f6e228e9d3 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 855925309f Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W

--HG--
extra : rebase_source : c12a2a3342ed74909125cf18ebb54726fdeac35a
2016-02-24 13:47:18 +02:00
Carsten "Tomcat" Book fc53b9744d Backed out changeset 3955642fc8a9 (bug 1250115) for bustage 2016-02-24 12:17:39 +01:00
Bogdan Postelnicu 6948abc600 Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W

--HG--
extra : rebase_source : 718c383cfd6f000a78f0f3d850911aea32fbb13e
2016-02-24 11:59:07 +02:00
Honza Bambas 68a7636bf1 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 30e72a8b98 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 93886420a6 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 3355f2b1ed Bug 739029 - null check a thread allocation in notifyaddrlistener r=bagder 2016-02-19 15:21:28 -05:00
Patrick McManus 529544b457 Bug 831450 - No Range Requests against weak Etag r=mayhemer 2016-02-19 16:09:16 -05:00
Patrick McManus 4033d4ec3c Bug 698882 - backout threadevent changes due to crashes with McAfee Firefox Hook r=backout 2016-02-21 17:41:21 -05:00
Patrick McManus bb76653375 Bug 1249432 - less h2 parallel conns r=hurley 2016-02-18 17:30:46 -05:00
Patrick McManus 57205a2a42 Bug 1249379 - H2 Push WindowUpdate not written to network r=hurley 2016-02-18 15:00:46 -05:00
Carsten "Tomcat" Book f2a98554ec Backed out changeset 27f3968ae8b2 (bug 1245184) 2016-02-19 15:55:23 +01:00
Andrea Marchesini 0a72c5e9e3 Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking 2016-02-19 14:49:50 +01:00
Honza Bambas d9866a3576 Bug 1247998 - Let nsHttpChannel::AsyncOpen* throw after nsHttpHandler has been shutdown, r=mcmanus 2016-02-18 08:54:00 +01:00
Randell Jesup d4303cccdf Bug 1240760: Update DataChannel::Close() r=mcmanus
MozReview-Commit-ID: 7nN9h3M3O8w
2016-02-19 01:08:07 -05:00
Honza Bambas fd14c17712 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 0acb222f9a Bug 1248203 - streamline h2 stream flow control buffer r=hurley 2016-02-13 12:10:02 -05:00
Patrick McManus ab744ac5a1 Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-02-11 15:00:22 -05:00
Michal Novotny 83b2b79f9d Bug 1248958 - CacheIndex mRWBuf ownership too fragile, read-after-free, r=honzab 2016-02-18 11:43:20 +01:00
Honza Bambas 581cd94d0a Bug 1248003 - Purge from HTTP cache memory pool only in reasonable intervals, r=michal 2016-02-15 11:45:00 +01:00
Kershaw Chang d5f84ee56f Bug 1239955 - Let DNSService rely on IOService::Offline, r=bagder 2016-02-17 22:29:00 +01:00
Honza Bambas d5d114572a Bug 587177 - Update all comments before SetOriginalURI to reflect reality, r=mcmanus
--HG--
extra : rebase_source : adbb70cbdc4a1f58af02f19bdba4f5a6eb06e9f0
2016-02-17 10:46:00 +01:00
Daniel Holbert cad2de7926 Bug 1247733 part 4: Add xpcshell test for nsIStandardURL setDefaultPort() API. r=valentin 2016-02-17 19:24:42 -08:00
Daniel Holbert e064e82632 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 ba4e93c003 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 aabf7f299c Bug 1248452: Rewrite NS_IsHSTSUpgradeRedirect to use HttpBaseChannel::GetSecureUpgradedURI. r=jduell 2016-02-17 19:03:41 -08:00
Christoph Kerschbaumer dcdf6d76c6 Bug 1246220: Update test_bug337744 (r=mcmanus) 2016-02-12 17:18:29 -08:00
Matt Wobensmith 26f0256436 Bug 1246220 - Remove SEC_NORMAL from netwerk/test (r=ckerschb,mcmanus) 2016-02-16 16:10:14 -08:00
Michal Novotny 5546f7149d Bug 1248389 - Cache index causing CPU loops, r=honzab 2016-02-17 11:47:47 +01:00
radu stoica 913ed1d7ab Bug 1248558 - "[Static Analysis][Unintentional integer overflow][CacheFile.cpp::PreloadChunk, CacheFile.cpp::GetChunkLocked]". r=michal
--HG--
extra : rebase_source : a13923fa1d2618f7a00363b17e3a8f9bf090e89f
2016-02-16 04:29:00 +01:00
J.C. Jones 70bc936cba Bug 1231681 - "Implement window.u2f interface". r=baku, r=dkeeler 2016-02-09 16:43:00 +01:00