Commit Graph

191 Commits

Author SHA1 Message Date
Dragana Damjanovic
5c1e528724 Bug 947721 - Fix function CancelAsyncRequest and add the same function for the child process. r=sworkman
--HG--
extra : rebase_source : b89d296732cd65e8bfc0c6ff563095a668484eae
2014-08-26 05:09:00 -04:00
Shih-Chiang Chien
eef3ad620b Bug 745283 - Part 1: Expose nsINetAddr for the local address of nsUDPSocket and support send with InputStream. r=jduell, r=mayhemer
--HG--
rename : netwerk/test/unit/test_bug952927.js => netwerk/test/unit/test_udpsocket.js
2014-04-21 09:33:00 +08:00
Robert O'Callahan
622145dd8d Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Ryan VanderMeulen
fc020ce791 Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures. 2014-08-22 10:08:10 -04:00
Robert O'Callahan
0850121797 Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Geoff Brown
d964248d50 Bug 675039 - Enable some netwerk xpcshell tests; no review 2014-08-12 07:17:14 -06:00
Nathan Froyd
103ed7a5b0 Bug 1050433 - part 1 - move effective_tld_names.dat into xpcshell manifest declarations; r=mshal 2014-08-07 14:46:15 -04:00
Jeremy Poulin
6c6625bdc1 Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
Wes Kocher
00a0a043dc Merge inbound to m-c a=merge 2014-07-25 15:59:01 -07:00
Brad Lassey
7182a3e7c2 back out bug 1020416 for causing hangs on Firefox for Android 2014-07-25 13:21:42 -04:00
Patrick McManus
8d789efedf Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Jeremy Poulin
16fc6097b4 Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
Carsten "Tomcat" Book
d671713557 Backed out changeset a232fd36c827 (bug 1020416) for nightly startup crashed - bug 1041492 a=sheriffduty 2014-07-21 14:57:09 +02:00
Jeremy Poulin
ea5c6439a8 Bug 1020416 - Add forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, r=michal 2014-07-18 18:11:34 -07:00
Patrick McManus
1dacb7015a bug 1038304 - websockets offline hang r=sworkman 2014-07-17 11:56:38 -04:00
Steve Workman
793520eac4 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Honza Bambas
429e043d0b Bug 1037447 - Introduce nsICacheEntry nsICacheStorage.openTruncate(URL, idEnhance), r=michal 2014-07-16 16:16:30 +02:00
Michal Novotny
c3742f1212 Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02:00
Wes Kocher
4a69a1eeba Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges 2014-07-09 18:20:54 -07:00
Steve Workman
f80ce043ba Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus 2014-07-09 11:16:39 -07:00
Honza Bambas
d96f12a470 Backing out b94c916122c8 (bug 1021612) for sudden windows xpcshell failures, r=backout 2014-07-08 19:01:46 +02:00
Honza Bambas
e3ef90d8c4 Bug 1021612 - test, r=michal 2014-07-08 16:48:01 +02:00
Honza Bambas
4e4ec17651 Bug 1032992 - Set mHasData in CacheEntry when metadata are filled but no data are written, r=michal 2014-07-07 20:58:26 +02:00
Honza Bambas
d54cb76071 Backing out 6c5c6cbad330 (bug 1032992) for Adnroid failures - GC doesn't work there as on other platforms..., r=backout 2014-07-02 19:53:00 +02:00
Honza Bambas
01d5bedc2c Bug 1032992 - Set mHasData in CacheEntry when metadata are filled but no data are written, r=michal 2014-07-02 18:16:22 +02:00
Dragana Damjanovic
a025cf6b18 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Honza Bambas
afdfde986b Bug 1025913 - Let memory-only HTTP cache entries doom disk entries, CacheEntry.mUseDisk immutable, r=michal 2014-06-25 18:42:50 +02:00
Honza Bambas
40a16c956f Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-24 18:08:35 +02:00
Carsten "Tomcat" Book
05066fba21 Backed out changeset f2c5626b3cec (bug 1023413) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE 2014-06-23 13:06:30 +02:00
Honza Bambas
e697db4ce4 Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-21 21:41:02 +02:00
Daniel Stenberg
a29ee21efd Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Honza Bambas
eb9e89b8fe Bug 1024635 - Add 'network' contract ID alias for the new cache service, r=bz 2014-06-13 01:45:43 +02:00
Ryan VanderMeulen
d4516e53a4 Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
97dcef96df Bug 938186 - introduce FORCE_ASYNC_CALLBACK for opening cache entries, r=michal 2014-06-05 18:27:38 +02:00
Jeremy Poulin
4c8dd6d4b2 Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Monica Chew
3f0f699d9c Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Honza Bambas
3c66e9fb04 Bug 1010783 - Base CacheFileInputStream::Read on ReadSegments - test, r=michal 2014-05-18 20:03:57 +02:00
Honza Bambas
0a9a6f7ec8 Bug 1009500 - HTTP cache v2: respect OPEN_BYPASS_IF_BUSY, r=michal 2014-05-14 23:12:38 +02:00
Nicholas Hurley
688dabf305 Bug 1006091 - Seer test needs to make sure pref is true before running. r=mcmanus 2014-05-07 16:03:00 -04:00
Nicholas Hurley
0e5dc5eb62 Bug 1005958 - Disable seer. r=mcmanus 2014-05-05 13:21:17 -07:00
Jim Blandy
af64a62438 Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus 2014-05-02 11:32:23 -07:00
J. Ryan Stinnett
9e8afb8adf Bug 960397 - Part 2: Multicast option support for UDPSocket. r=mayhemer 2014-04-29 21:35:00 +02:00
Georg Koppen
39179ce95a Bug 971153 - Write a test for bug 751465. r=mcmanus
This patch adds a) a test for the fixed proxy bypass in bug 751465 and
makes b) some underlying changes to the nsDNSService to be able to write
that test in the first place.
2014-04-15 22:13:00 +02:00
Pranav Kant
d0a12e3e17 Bug 952927 : Part 3 - Added xpcshell-test for raw data functionality, r=mcmanus 2014-03-13 13:43:46 +08:00
Patrick McManus
88cc90ed8f bug 477578 - http methods should be case sensitive r=hurley 2014-03-18 12:36:18 -04:00
Ed Morley
4c2035c362 Backed out changeset 07e1893cb0f9 (bug 952927) 2014-03-07 15:17:51 +00:00
Pranav Kant
ae3d3765f0 Bug 952927 - Part 3: Added xpcshell-test for raw data functionality. r=mcmanus 2014-03-07 08:55:16 -05:00
Scott West
267d3c1715 Bug 401564 - Test and fix for redirection losing Accept header. r=mcmanus
The test has a redirect where the initial GET request had Accept:
application/json, and ensures that this is also the type of the
redirected request.

The fix is done in the setup of the replicated HttpBaseChannel, where
the previous channel's Accept header is copied to the new one, if it
exists.
2014-02-26 09:03:14 -05:00
Honza Bambas
1c283141ac Bug 969160 - disable test_cache2-12-evict-disk.js on android, r=jduell 2014-02-07 22:15:24 +01:00
Nicholas Hurley
5bb3b95056 Bug 964563 - Remove custom node binary. r=ted 2014-02-06 15:00:19 -08:00