Commit Graph

1036 Commits

Author SHA1 Message Date
Honza Bambas
420f7458b0 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
a399b90ef2 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
6a323418e1 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Honza Bambas
97d6f59ea9 Bug 938186 - introduce FORCE_ASYNC_CALLBACK for opening cache entries, r=michal 2014-06-05 18:27:38 +02:00
Jeremy Poulin
ab83f7f8dd 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
3b7f8f794f 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
d12c20c0b3 Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Birunthan Mohanathas
849371302f Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
41bdca1ff6 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
34c5fc5a49 Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...). r=ehsan 2014-05-22 06:48:50 +03:00
Honza Bambas
9f27c74a01 Bug 1011150 - HTTP cache v2: reimplement AsyncDoomURI for appcache storage, r=michal 2014-05-18 20:03:57 +02:00
Honza Bambas
2a3f9f44d0 Bug 1010783 - Base CacheFileInputStream::Read on ReadSegments - test, r=michal 2014-05-18 20:03:57 +02:00
Honza Bambas
4f3dee8ee7 Bug 1009500 - HTTP cache v2: respect OPEN_BYPASS_IF_BUSY, r=michal 2014-05-14 23:12:38 +02:00
Nicholas Hurley
ad26b26ca7 Bug 1006804 - Enforce TLS key type and size restrictions in HTTP/2. r=mcmanus. 2014-05-14 10:37:05 -07:00
Nicholas Hurley
93b53da044 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
8fc1ba5e06 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Henri Sivonen
97f4c4b92d Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Nicholas Hurley
b2090eb053 Bug 1005958 - Disable seer. r=mcmanus 2014-05-05 13:21:17 -07:00
Jim Blandy
cbe08bbca4 Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus 2014-05-02 11:32:23 -07:00
Valentin Gosu
56672cf72c 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
4ecfb6ddec 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
f58519de04 Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-05-01 13:28:12 +02:00
Honza Bambas
80c232b29e 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
3463b9921d 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
1f032f9d21 Bug 960397 - Part 2: Multicast option support for UDPSocket. r=mayhemer 2014-04-29 21:35:00 +02:00
Nicholas Hurley
6d0ca475a0 Bug 1001022 (part 2) - Update unit tests for http2 draft12. r=mcmanus 2014-04-29 18:46:05 -07:00
Nicholas Hurley
20f2673df9 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
504b581650 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
11baa63cd7 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
9583f4340e Bug 907770 - Part 2: Test changes for https support on b2g/android. r=jmaher 2014-03-14 11:25:48 -07:00
Georg Koppen
e3befbc39c 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
de7c98ded1 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
64240d7a93 Bug 928340 - Tests for nsIAsyncStreamCopier2. r=mayhemer 2014-04-10 10:00:08 +02:00
Honza Bambas
9daae001cd 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
0a884a3a0c 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
58c41cce91 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
f12f50e586 Bug 965869 (part 2) - HTTP/2 draft10 tests. r=mcmanus 2014-03-26 10:58:11 -07:00
Pranav Kant
1746151311 Bug 952927 : Part 2 - Extended TestUDPSocket for raw data functionality, r=mcmanus 2014-03-13 13:43:42 +08:00
Pranav Kant
34560dc600 Bug 952927 : Part 3 - Added xpcshell-test for raw data functionality, r=mcmanus 2014-03-13 13:43:46 +08:00
Patrick McManus
807863d95e bug 477578 - http methods should be case sensitive r=hurley 2014-03-18 12:36:18 -04:00
Paolo Amadini
e7ed1c1bf4 Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-03-18 15:16:02 +01:00
Neil Rashbrook
921625ab05 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
f83724018d Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Bill McCloskey
d960718b48 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
624ffda758 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
292a923c8e Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Valentin Gosu
6e645786d4 Bug 983000 - Call requestSockets only after successfully establishing a connection. r=mcmanus 2014-03-13 13:08:04 +01:00
Michal Novotny
dde791d737 Bug 966438 - Use nsICacheStorageService.clear() instead of nsICacheStorage.asyncEvictStorage() to clear the cache, r=honzab 2014-03-11 13:50:04 +01:00
Ed Morley
d0fc1b898f Backed out changeset f74bf7d090ee (bug 952927) 2014-03-07 15:17:55 +00:00
Ed Morley
82b64423ff Backed out changeset 07e1893cb0f9 (bug 952927) 2014-03-07 15:17:51 +00:00
Pranav Kant
6305b84708 Bug 952927 - Part 3: Added xpcshell-test for raw data functionality. r=mcmanus 2014-03-07 08:55:16 -05:00
Pranav Kant
f50e57f5bc Bug 952927 - Part 2: Extended TestUDPSocket for raw data functionality. r=mcmanus 2014-03-07 08:55:16 -05:00
Scott West
5c2e99cf97 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
Geoff Brown
b5068ac63a Bug 969612 - Split test_URIs.js into 2 halves; r=jesup 2014-02-24 17:51:16 -07:00
Gábor Molnár
adc92e4516 Bug 961616 - simple HTTP2 Cookie crumbling unit tests 2014-02-24 11:42:15 -08:00
Patrick McManus
056e30d3bd bug 967341 - uri management r=honzab 2014-02-04 11:55:02 -05:00
Brian O'Keefe
e3f6084e7a Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Ehsan Akhgari
82ebdc883f Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Gregory Szorc
1f28da1c9c Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Honza Bambas
0a0ee0e298 Bug 969160 - disable test_cache2-12-evict-disk.js on android, r=jduell 2014-02-07 22:15:24 +01:00
Nicholas Hurley
de59044be1 Bug 964563 - Remove custom node binary. r=ted 2014-02-06 15:00:19 -08:00
Honza Bambas
b28b6714a9 Bug 968860 - Disable test_cache2-07-visit-memory.js on Android 2.2 Armv6, r=jduell 2014-02-06 19:30:21 +01:00
Monica Chew
968b3e5df1 Bug 928536: Use WinVerifyTrust to get certificate information on downloaded binaries (r=paolo,keeler,sr=mossop) 2014-01-27 12:38:35 -08:00
Honza Bambas
338b7ce50d Bug 967862 - HTTP cache v2: fix xpcshell tests to be independent on difference between use-new-cache in CacheObserver and in preferences, r=michal 2014-01-09 00:27:29 +01:00
Phil Ringnalda
55cf2ee63a Backed out 3 changesets (bug 928536) for build bustage
CLOSED TREE

Backed out changeset 750054102e68 (bug 928536)
Backed out changeset baa309383864 (bug 928536)
Backed out changeset 1ff2aed7f76f (bug 928536)
2014-02-05 08:29:17 -08:00
Monica Chew
d469602273 Bug 928536: Use WinVerifyTrust to get certificate information on downloaded binaries (r=paolo,keeler,sr=mossop) 2014-01-27 12:38:35 -08:00
Honza Bambas
f7941fb815 Bug 913820 - Base for size limit preferences in HTTP cache v2, r=michal 2014-02-04 01:53:00 +01:00
Honza Bambas
93f00fa94f Bug 949175 - Remove possibility to un-persist a cache entry after it has been opened, r=michal 2014-02-04 01:52:59 +01:00
Honza Bambas
63ff469210 Bug 956930 - Launching an app preloading appcache throws an offline error, r=jduell+sicking 2014-02-04 01:52:57 +01:00
Shih-Chiang Chien
309f98f931 Bug 948725 - Invoke |QuitPumpingEvent| after response packet is received. r=jduell 2014-01-30 10:59:15 -05:00
Jim Chen
3491e5208c Bug 963592 - Perform replacements for updated UA overrides. r=fabrice 2014-01-28 09:04:39 -05:00
Daniel Stenberg
c2eabb726c Bug 676358 - HTTP auth realm parameter parsed as quoted-string doesn't get unescaped r=jduell 2014-01-24 15:07:37 -08:00
Daniel Stenberg
48aca7476e Bug 959100 - Make ParseChunkRemaining detect chunk size overflow. r=jduell 2014-01-17 17:07:29 +01:00
Nicholas Hurley
21a023c3f5 Bug 945779 - Use transactions to batch up Seer I/O. r=honzab 2014-01-17 17:45:46 -08:00
Ryan VanderMeulen
ac3fd5b3ca Backed out changeset 8a5f36d486b4 (bug 959100) for bustage.
CLOSED TREE
2014-01-17 10:19:31 -05:00
Daniel Stenberg
8aab912b84 Bug 959100 - Detect chunk size overflow in ParseChunkRemaining. r=jduell 2014-01-17 10:03:44 -05:00
Gian-Carlo Pascutto
26c50812c6 Bug 783047 - Remove SafeBrowsing rekey tests. r=mmc 2014-01-16 09:27:59 +01:00
Honza Bambas
b2cdbb84eb Bug 949667 - crash in mozilla::net::HttpChannelParent::OnStartRequest, fail redirect to unsupported protocol on child process, r=jduell 2014-01-14 15:59:00 +01:00
Nicholas Hurley
24a28d7f96 Bug 948205 - Rename seer.sqlite (and fixup schema in the process). r=mcmanus r=vladan 2014-01-13 17:57:46 -08:00
Gábor Molnár
403d4f41bd Bug 958992 - http2 draft09 test support. r=hurley 2014-01-13 17:16:28 -08:00
Gabor Molnar
e9575018d9 bug 950768 - http2 tests in node.js r=hurley r=mcmanus 2013-10-20 16:03:07 +02:00
Honza Bambas
3c8748480b Bug 937601 - HTTP cache v2: onCacheEntryCheck not called for R/O callbacks, r=michal 2014-01-08 20:36:57 +01:00
Andrea Marchesini
baa0ead999 Bug 930450 - Setting port to the empty string should set URL's port to the default value. Setting it to "0" should set URL's port to 0., r=bz, r=honzab 2014-01-04 20:42:42 +00:00
Ehsan Akhgari
ac73237d97 Merge m-c into inbound 2014-01-04 12:14:57 -05:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Steve Workman
c07bb2996a Bug 947391 - Add test for HTTP response timeouts r=mcmanus 2013-12-18 15:03:48 -08:00
Ryan VanderMeulen
551f4e8d70 Backed out changesets 58db1fb509be and 7301ccf7e0be (bug 947391) for Android xpcshell orange. 2013-12-18 19:41:29 -05:00
Steve Workman
61fc702a07 Bug 947391 - Add test for HTTP response timeouts r=mcmanus 2013-12-18 15:03:48 -08:00
Gregory Szorc
461b5aef7e Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Jason Duell
3b0bd1832e Bug 945066: remote nsIDNSService to child. r=jdm
* * *
bug 945066. Fix windows bustage.  r=jduell
2013-12-11 11:03:51 -08:00
Carsten "Tomcat" Book
a7de8ea634 Backed out changeset 3072c9af15b3 (bug 945066) for fixing bustage on a CLOSED TREE 2013-12-11 11:51:35 +01:00
Jason Duell
78c1377587 Bug 945066: Make nsIDNSService work on child processes. r=jdm 2013-12-11 01:37:57 -08:00
Jim Chen
e28a3aa78c Bug 942470 - Don't apply user agent update if updates have been disabled. r=fabrice 2013-12-06 10:22:18 -05:00
Phil Ringnalda
bb72c964ac Bug 942470 - Disable test_user_agent_updates.html for intermittently failing to unset its override of the UA string, breaking other tests 2013-12-02 22:15:10 -08:00
Phil Ringnalda
7dec953f3a Bug 942470 - Disable test_user_agent_updates.html for intermittently failing to unset its override of the UA string, breaking other tests
CLOSED TREE
2013-12-02 19:24:30 -08:00
Ryan VanderMeulen
08fd5ddf08 Backed out changeset 13c1b3a2d135 (bug 880625) for xpcshell failures. 2013-12-02 13:07:46 -05:00