Commit Graph

1017 Commits

Author SHA1 Message Date
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
Carsten "Tomcat" Book
518f246c5e merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
54c4d3b9ae Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07: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
Honza Bambas
079be537aa Bug 1032594 - Don't run test_cache2-24-exists.js on Android, r=jcranmer 2014-07-02 18:16:22 +02:00
Monica Chew
a78d3a2975 Bug 1021419: Implement per-table update and gethash requests 2014-06-12 10:24:03 -07:00
Steve Workman
ef258ae285 Bug 1024015 - Only enable HTTP response timeout when TCP Keepalives are disabled for HTTP r=mcmanus 2014-06-26 11:03:45 -07: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
Nicholas Hurley
fe7a4927a4 Bug 1026609 - HTTP/2 draft 13 part 2 - test updates. r=mcmanus 2014-06-25 17:33:17 -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
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Jim Blandy
432c882fdd Bug 914753: Fix broken Emacs mode lines. DONTBUILD r=ehsan
Don't bother to fix the misspelled mode names; we'll drop them in the next patch.
2014-06-24 22:11:56 -07:00
Benoit Jacob
4180218bc7 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Patrick McManus
6d4aa948ec bug 1027364 - multiple http/2 header frames on same stream r=hurley 2014-06-19 23:42:29 -04: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
Valentin Gosu
a8a162ead7 Bug 677754 - Fix test expecting a prompt for an unsafe redirect r=jduell 2014-06-22 23:35:01 +03:00
Honza Bambas
e697db4ce4 Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-21 21:41:02 +02:00
Steve Workman
2e3efd88bd Bug 237623 - Listen for window's load event in test_partially_cached_content.html r=mcmanus 2014-06-13 13:39:00 +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
David Keeler
65bc823886 bug 1017160 - remove nsINSSCertErrorDialog and implementation r=cviecco 2014-06-09 16:35:35 -07:00
Honza Bambas
3b88a5649c Backing out 400d92d915f4 (bug 938186) for opt build oranges, r=me 2014-06-09 22:17:01 +02:00
Honza Bambas
22461fd77e Bug 938186 - HTTP cache v2: introduce DISALLOW_SYNC_CALLBACK for opening cache entries, r=michal 2014-06-09 20:59:08 +02:00
Steve Workman
5e587223a9 Bug 1011503 - Remove external addresses from test_speculative_connect.js r=mcmanus 2014-06-07 10:04:51 -07:00
Honza Bambas
4f2a59d172 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +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
b1feb7e13a Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02: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
Valentin Gosu
4dd1a9d8b8 Bug 960014 - Make nsStandardURL::SetHost less magical around IPv6 r=honzab
Enforces brackets for IPv6 URLs in SetHost
Removed unreachable _if (!*host)_ block in nsStandardURL::SetHost
SetHostPort fails for empty and non-int strings
2014-05-02 06:31:43 +03:00
Monica Chew
3f0f699d9c Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
5d51a7d58f Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...). r=ehsan 2014-05-22 06:48:50 +03:00
Honza Bambas
702d63544d Bug 1011150 - HTTP cache v2: reimplement AsyncDoomURI for appcache storage, r=michal 2014-05-18 20:03:57 +02: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
19786453ec Bug 1006804 - Enforce TLS key type and size restrictions in HTTP/2. r=mcmanus. 2014-05-14 10:37:05 -07: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
Neil Rashbrook
f9520ae677 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Henri Sivonen
6a6cd36d81 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03: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