Dragana Damjanovic
7da0afd3c8
Bug 1043256 - If unKnownDecoder needs to be used, Content_Encodings will be loaded before OnStartRequest is called on the listener. This makes an error in e10s because Content_Encodings will be loaded before HttpChannelParent can disable them. r=bagder
2014-08-13 10:52:00 -04:00
Geoff Brown
1eb77ff50d
Bug 675039 - Enable some netwerk xpcshell tests; no review
2014-08-12 07:17:14 -06:00
Nathan Froyd
559ecb3f15
Bug 1050433 - part 2 - move TK_CFLAGS inclusion into moz.build; r=mshal
2014-08-07 14:46:58 -04:00
Nathan Froyd
8cad4e2ab5
Bug 1050433 - part 1 - move effective_tld_names.dat into xpcshell manifest declarations; r=mshal
2014-08-07 14:46:15 -04:00
Valentin Gosu
e32bd146bf
Bug 1009648: nsStandardURL crashes when calling SetHost after Clear() r=mcmanus
2014-08-11 12:14:03 +03:00
Ryan VanderMeulen
db7081fbb1
Backed out changeset dc22b1e92554 (bug 1009648
) for Windows debug shutdown crashes.
...
CLOSED TREE
2014-08-09 00:49:19 -04:00
Valentin Gosu
b4b9a0213d
Bug 1009648
- nsStandardURL crashes when calling SetHost after Clear(). r=mcmanus
2014-08-08 19:44:21 +03:00
Patrick McManus
a6dc4f8c2c
bug 1050598 - test for proxy_over_tls pref and https proxying r=hurley
...
--HG--
extra : rebase_source : 27e7e50586e4a9778299912ce45858b0df873bbd
2014-08-06 17:23:18 -04:00
Mike Hommey
89777800f9
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Nicholas Hurley
41eb41171a
Bug 1046892 part 2 - HTTP/2 draft 14 test updates r=mcmanus
2014-08-05 08:41:11 -07:00
Jeremy Poulin
890b61b742
Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal
2014-07-21 11:34:17 -07:00
Mike Hommey
5f6ba110e6
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Wes Kocher
5315b9b3cc
Merge inbound to m-c a=merge
2014-07-25 15:59:01 -07:00
Brad Lassey
d801604520
back out bug 1020416 for causing hangs on Firefox for Android
2014-07-25 13:21:42 -04:00
Steve Workman
e8c969cfc2
Bug 1041511 - Fix navigations to private resources after landing bug 354493 r=mcmanus
2014-07-23 10:25:26 -07:00
Mike Hommey
7cab62150a
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
95063176fa
Bug 1036894
part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
...
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf
Bug 1036894
part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
6d6d400ea1
Bug 1036894
part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps
2014-07-23 13:29:44 +09:00
Patrick McManus
7b3d6bf83d
Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout
2014-07-24 10:05:36 -04:00
Patrick McManus
17997be3f9
bug 1041511 - backout due to instability. r=backout a=backout
2014-07-24 09:59:42 -04:00
Jeremy Poulin
0cce7ce188
Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal
2014-07-21 11:34:17 -07:00
Carsten "Tomcat" Book
82d02bf40a
Backed out changeset a232fd36c827 (bug 1020416) for nightly startup crashed - bug 1041492 a=sheriffduty
2014-07-21 14:57:09 +02:00
Jeremy Poulin
21a95c5876
Bug 1020416 - Add forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, r=michal
2014-07-18 18:11:34 -07:00
Nathan Froyd
350d6299df
Bug 1043480
- move TestCookie into CPP_UNIT_TESTS; r=mshal
2014-07-24 13:01:43 -04:00
Patrick McManus
d1f18d1c0c
bug 1038304 - websockets offline hang r=sworkman
2014-07-17 11:56:38 -04:00
Steve Workman
111df17ab2
Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus
2014-07-17 11:08:20 -07:00
Honza Bambas
bbcf250ab6
Bug 1037447 - Introduce nsICacheEntry nsICacheStorage.openTruncate(URL, idEnhance), r=michal
2014-07-16 16:16:30 +02:00
Mats Palmgren
2be3560244
Bug 785753 - Adding two crashtests.
2014-07-13 13:01:43 +00:00
Michal Novotny
4141a9c05a
Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab
2014-07-10 07:59:29 +02:00
Wes Kocher
b4cf7d16de
Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges
2014-07-09 18:20:54 -07:00
Steve Workman
ce5c9f601f
Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus
2014-07-09 11:16:39 -07:00
Honza Bambas
e27b915555
Backing out b94c916122c8 (bug 1021612) for sudden windows xpcshell failures, r=backout
2014-07-08 19:01:46 +02:00
Honza Bambas
fd47c3f983
Bug 1021612 - test, r=michal
2014-07-08 16:48:01 +02:00
Carsten "Tomcat" Book
a98c31f1a8
merge fx-team to mozilla-central a=merge
2014-07-08 15:10:56 +02:00
Gregory Szorc
25170257c3
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
a5fa5f1298
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
74a506daf6
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
be993c90a5
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
fcbe2ec673
Bug 1032594 - Don't run test_cache2-24-exists.js on Android, r=jcranmer
2014-07-02 18:16:22 +02:00
Monica Chew
386ebd5ee3
Bug 1021419: Implement per-table update and gethash requests
2014-06-12 10:24:03 -07:00
Steve Workman
073b721981
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
9c72743446
Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell
2014-06-26 18:51:49 -07:00
Nicholas Hurley
6c7038956c
Bug 1026609 - HTTP/2 draft 13 part 2 - test updates. r=mcmanus
2014-06-25 17:33:17 -07:00
Honza Bambas
d01da37296
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
7e20285e70
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
b004cbf7cd
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
ff32bb14c1
Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus
2014-06-24 12:36:44 -04:00
Patrick McManus
68ae085486
bug 1027364 - multiple http/2 header frames on same stream r=hurley
2014-06-19 23:42:29 -04:00
Honza Bambas
3eda94bdc6
Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal
2014-06-24 18:08:35 +02:00
Carsten "Tomcat" Book
8e9e3ad772
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
b4da139db0
Bug 677754 - Fix test expecting a prompt for an unsafe redirect r=jduell
2014-06-22 23:35:01 +03:00
Honza Bambas
6740725987
Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal
2014-06-21 21:41:02 +02:00
Steve Workman
c035911e02
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
43f0c8ec63
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
a3e715ae45
Bug 1024635 - Add 'network' contract ID alias for the new cache service, r=bz
2014-06-13 01:45:43 +02:00
David Keeler
636e3ceae7
bug 1017160 - remove nsINSSCertErrorDialog and implementation r=cviecco
2014-06-09 16:35:35 -07:00
Honza Bambas
2cc64dd3e8
Backing out 400d92d915f4 (bug 938186) for opt build oranges, r=me
2014-06-09 22:17:01 +02:00
Honza Bambas
e96b1004a1
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
dc643a6389
Bug 1011503 - Remove external addresses from test_speculative_connect.js r=mcmanus
2014-06-07 10:04:51 -07:00
Honza Bambas
4b98e16e4c
Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell
2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
006487470f
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
995070a4f7
Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell
2014-06-05 18:27:38 +02:00
Honza Bambas
0219d2b402
Bug 938186 - introduce FORCE_ASYNC_CALLBACK for opening cache entries, r=michal
2014-06-05 18:27:38 +02:00
Jeremy Poulin
21428535f7
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
bfa80ae2c2
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
6fe994703a
Bug 974018: Implement nsIRedirectHistory (r=mayhemer)
2014-05-22 12:58:23 -07:00
Birunthan Mohanathas
952b834c76
Bug 869836 - Part 9: Use AssignLiteral instead of `Assign(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
19bebbc68d
Bug 869836 - Part 2: Use AppendLiteral instead of `Append(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
a5ab25c973
Bug 869836 - Part 1: Use EqualsLiteral instead of `== NS_LITERAL_STRING(...)`. r=ehsan
2014-05-22 06:48:50 +03:00
Honza Bambas
e72e80c669
Bug 1011150 - HTTP cache v2: reimplement AsyncDoomURI for appcache storage, r=michal
2014-05-18 20:03:57 +02:00
Honza Bambas
33f75366dc
Bug 1010783 - Base CacheFileInputStream::Read on ReadSegments - test, r=michal
2014-05-18 20:03:57 +02:00
Honza Bambas
8e145138f5
Bug 1009500 - HTTP cache v2: respect OPEN_BYPASS_IF_BUSY, r=michal
2014-05-14 23:12:38 +02:00
Nicholas Hurley
4f66bb13b6
Bug 1006804 - Enforce TLS key type and size restrictions in HTTP/2. r=mcmanus.
2014-05-14 10:37:05 -07:00
Nicholas Hurley
3069ed7bd9
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
5b1f7b4a77
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00
Henri Sivonen
34b67bca76
Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk.
2014-05-08 12:32:00 +03:00
Nicholas Hurley
9280dfb477
Bug 1005958 - Disable seer. r=mcmanus
2014-05-05 13:21:17 -07:00
Jim Blandy
bc756c3da1
Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus
2014-05-02 11:32:23 -07:00
Valentin Gosu
a673f808ca
Bug 983000 - "Intermittent test_ping_aboutnetworking.js | test failed (with xpcshell return code: 0), see following log | -1 != -1 - See following stack" r=mcmanus
2014-05-01 15:57:00 +02:00
Brian Smith
28ff9316f6
Bug 1004642: Fix compiler warning in TestUDPSocket.cpp, r=jduell
...
--HG--
extra : rebase_source : 6f1a68f6e009924e5661d084da1543503a5a4ee7
2014-05-01 14:35:17 -07:00
Honza Bambas
ec884e84a0
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-05-01 13:28:12 +02:00
Honza Bambas
fcfec4dbfa
Backing out bug 916052 (2557b51a47a0) for build bustage on linux/osx, r=bustage on CLOSED TREE
2014-04-30 13:05:43 +02:00
Honza Bambas
bbabececf4
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-04-30 12:39:18 +02:00
J. Ryan Stinnett
58bef3b4fb
Bug 960397 - Part 2: Multicast option support for UDPSocket. r=mayhemer
2014-04-29 21:35:00 +02:00
Nicholas Hurley
9090b45467
Bug 1001022 (part 2) - Update unit tests for http2 draft12. r=mcmanus
2014-04-29 18:46:05 -07:00
Nicholas Hurley
267eff4c3d
Bug 993937 (part 2) - Update unit tests for http2 draft11. r=mcmanus
...
This updates our copy of node-http2 to the version that implements
draft11, and has the one-line change to make the xpcshell test work.
2014-04-29 18:46:01 -07:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Valentin Gosu
ff4fa43bdb
Bug 991116 - Intermittent test_ping_aboutnetworking.js. r=mcmanus
...
Use nsMainThreadPtrHandle<NetDashboardCallback> for JS objects.
Remove pointles code that clears the JS callback.
Fix test using out of scope variable.
2014-04-23 23:45:10 +03:00
Martin Thomson
00ed9d62ef
Bug 907770 - Part 2: Test changes for https support on b2g/android. r=jmaher
2014-03-14 11:25:48 -07:00
Georg Koppen
ef52c3bbf9
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
Michal Novotny
993f02b514
Bug 977766 - HTTP cache v2: selective deletion of data (by load context info), r=honzab, michal
2014-04-10 12:47:20 +02:00
David Rajchenbach-Teller
6800ad98e4
Bug 928340 - Tests for nsIAsyncStreamCopier2. r=mayhemer
2014-04-10 10:00:08 +02:00
Honza Bambas
e0dd661ad6
Bug 968593 - HTTP cache v2: Make load context key (a.k.a key prefix) safely parsable, r=michal
2014-04-06 20:44:40 +02:00
Honza Bambas
0f645f0ad5
Bug 985932 - Fix error HTTP response in test_partially_cached_content.html, r=sworkman
2014-04-04 14:42:06 +02:00
Shu-yu Guo
82fe2098a8
Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop)
2014-04-03 19:29:40 -07:00
Nicholas Hurley
cd8edaa29a
Bug 965869 (part 2) - HTTP/2 draft10 tests. r=mcmanus
2014-03-26 10:58:11 -07:00
Pranav Kant
d0676baaa0
Bug 952927 : Part 2 - Extended TestUDPSocket for raw data functionality, r=mcmanus
2014-03-13 13:43:42 +08:00
Pranav Kant
7d5056ffbe
Bug 952927 : Part 3 - Added xpcshell-test for raw data functionality, r=mcmanus
2014-03-13 13:43:46 +08:00
Patrick McManus
ae599f9845
bug 477578 - http methods should be case sensitive r=hurley
2014-03-18 12:36:18 -04:00