Commit Graph

508 Commits

Author SHA1 Message Date
Patrick McManus
947b301aa8 bug 911325 - detect mismatch between 206 content-range and 200 content-length r=jduell 2013-09-17 18:44:03 -04:00
Simone Carletti
e248caa61d Bug 910095 - update .sv and .om in PSL, and relevant test. r=gerv.
--HG--
extra : rebase_source : a6866a18f959f15af84640e1efa935b1e16ca415
2013-09-17 17:51:49 +01:00
Ryan VanderMeulen
982559c42b Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Robert Bindar
45b7d4594d Bug 912103 - Tests for about:networking - http, dns, sockets, and websockets. r=valentin.gosu 2013-09-11 09:49:51 -04:00
Jim Blandy
44724c65c2 Bug 913848: Attempt to fix intermittent test_unix_domain.js timeout with MOAR ASYNC. r=mayhemer
This patch makes the tests avoid expecting data from the client to be
available to the server immediately upon accepting a connection; instead,
the server uses asyncWait to receive those first bytes. This changes both
test_echo and test_connect_permission.

I've pushed this through the try server twice, and it didn't hang. In
either case, it adds a few more do_prints to give me more clues about the
source of the problem.
2013-09-11 14:00:19 -07:00
Jim Blandy
3ce8b0ca6a Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
544b219f25 Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Sahil Chelaramani
0bfcb9e6b0 Bug 909283 - Change all occurances of yield to (yield undefined) in test_cache_jar.js. r=jdm 2013-08-30 23:08:44 -04:00
Geoff Brown
5a46efbe2b Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Patrick McManus
36d43a2d51 bug 750932 - multipart delimiter check r=jduell 2013-08-22 08:52:50 -04:00
Christian Holler
d19b8c335a Bug 905636 - Disable a netwerk xpcshell test under ASan. r=jduell 2013-08-15 18:18:39 +02:00
Mihnea Dobrescu-Balaur
1fd9cbedbe Bug 906106 - Make test_file_protocol.js use do_get_tempdir. r=ted 2013-08-16 10:43:46 -07:00
Mook
0ce5f94aa5 content: sync load service: don't die when channels have unknown size (b=894586 r=ehsan r=jduell) 2013-07-30 14:38:26 -07:00
Simon Montagu
7cb47ec935 Only test IDN nodes against kMaxDNSNodeLen on string-prepped IDNs that we're going to send to DNS, not the Unicode form for display only. Bug 892370, r=honzab
--HG--
rename : netwerk/test/unit/test_bug722299.js => netwerk/test/unit/test_idn_urls.js
2013-07-29 22:32:37 -07:00
Ryan VanderMeulen
d07905c6bc Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE. 2013-07-26 22:49:13 -04:00
Mook
9a443aeeaf content: sync load service: don't die when channels have unknown size (b=894586 r=jst r=jduell) 2013-07-26 15:25:27 -07:00
Paolo Amadini
301448fba6 Bug 896179 - Crash in BackgroundFileSaver when append is enabled and hashing is disabled. r=mcmanus 2013-07-24 10:16:01 +02:00
Mihnea Dobrescu-Balaur
9f146077b1 Bug 888350 - Use a dynamic port in network/test/unit* xpcshell tests so they can be run in parallel. r=honzab 2013-07-19 10:19:28 -07:00
Paolo Amadini
b81678a70d Bug 887425 - BackgroundFileSaver should support appending to an existing file. r=mcmanus, sr=biesi 2013-07-09 13:59:59 +02:00
Patrick McManus
e4328009f9 bug 888551 incomplete parsing of cache-control max-age r=hurley 2013-06-28 21:16:43 -04:00
Julian Reschke
878caa031c Bug 875615: re-enable RFC2047 decoding (disable bug 601933) until we have telemetry r=jduell 2013-06-14 15:52:36 -07:00
Georg Koppen
8c6c4c7716 Bug 856978 - Make authorization headers removable if they observe "http-on-modify-request". r=mayhemer 2013-06-10 08:30:25 -04:00
Mook
7ef03f74db Bug 877961 - PrivateBrowsingChannel: Allow SetPrivate on a channel with a load group but no load context; r=ehsan, r=jduell 2013-06-06 19:46:06 -07:00
Patrick McManus
f8dd46986c bug 790388 part 6 - spdy push xpcshell test r=hurley
--HG--
extra : rebase_source : 54a3f24aa543ee96ff2e2edb9a2ee7fe52e3dcbd
2013-05-29 00:07:03 -04:00
Patrick McManus
82c1b207d8 bug 790388 part 5 - xpcshell tests for spdy/3 r=hurley
--HG--
extra : rebase_source : f6ca50052918d23d410a3f110323344472a62e6e
2013-05-29 00:07:03 -04:00
Patrick McManus
4362dcc156 bug 855185 - test for thread safety of resetIPFamily() r=honzab 2013-04-30 23:43:31 -04:00
Geoff Brown
df6a7529fe Bug 865006 - Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-04-30 12:38:18 -06:00
Patrick McManus
1626ec7a89 bug 866867 test_spdy.js flaky with parallel connections r=hurley 2013-04-29 20:05:39 -04:00
Simon Montagu
26e7d37aeb Exclude U+30FB KATAKANA MIDDLE DOT from the non-recommended characters that force IDN labels to be displayed as punycode. Bug 857490, r=jfkthame 2013-04-09 05:47:03 -07:00
Simon Montagu
e8db6078f1 Disable the check for mixed Simplified and Traditional Chinese characters when determining whether to display IDN labels as unicode or punycode. Bug 857481, r=honzab 2013-04-08 01:36:52 -07:00
Gavin Sharp
39d19cfbf2 Bug 851586, r=bz
--HG--
extra : rebase_source : 4144764238b0f38f1457358b1c9f61bc4d347424
2013-03-19 12:23:43 +01:00
Jason Duell
d40764ef79 Bug 845273 - Backout Access-Control-Allow-Origin checks (bug 814117) for site breakage r=jduell 2013-03-14 13:59:33 -07:00
Jason Duell
5abed2ad22 Bug 795254. Intermittent test_private_channel.js failure r=jdm
--HG--
rename : netwerk/test/unit/test_private_channel.js => netwerk/test/unit/test_private_necko_channel.js
2013-03-07 12:12:10 -08:00
Monica Chew
81433243a3 Bug 844392 - Fix race condition where ProcessStateChange can remove a file before cleanup. r=paolo 2013-03-07 08:35:38 -05:00
Simon Montagu
3db2434df6 Remove network.enableIDN pref. Bug 842282, r=honza.b 2013-03-03 18:36:37 +02:00
Simon Montagu
dbc02fca09 Tests for bug 722299, r=honza.b 2013-03-01 03:56:45 -08:00
Simon Montagu
4c50d5e15d Changes to existing tests caused by bug 722299, r=honza.b 2013-03-01 03:56:45 -08:00
Ryan VanderMeulen
2f8259daf4 Backed out 4 changesets (bug 722299) for B2G mochitest failures on a CLOSED TREE. 2013-02-28 20:44:53 -05:00
Simon Montagu
13751f7ffa Tests for bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Simon Montagu
86d405f644 Changes to existing tests caused by bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Jonathan Mayer
4bd2d83991 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
Julian Reschke
a617a9e1fb Bug 601933: remove RFC 2047 encoding support for HTTP header field parameters. r=jduell 2013-02-21 05:36:00 -08:00
Monica Chew
4ff96dd2b0 Bug 829832 - NEEDS CLOBBER - Compute SHA256 hash on saving files in BackgroundFileSaver. (r=paolo,cviecco,sr=biesi) 2013-02-19 12:47:59 -08:00
Karl Tomlinson
f2bfe73bab back out f24c22852083 for xpcshell failures b=829832
--HG--
extra : rebase_source : 151e69e6a280c9c67e9b49d55c11aad1fc0def94
2013-02-20 11:15:51 +13:00
Monica Chew
b099c6aca7 Bug 829832 - Compute SHA256 hash on saving files in BackgroundFileSaver. (r=paolo,cviecco,sr=biesi) 2013-02-19 12:47:59 -08:00
Patrick McManus
0ba9803546 bug 840592 - two tests XPCWrappedJS on wrong thread via JS nsISystemProxySettings implementations r=jduell 2013-02-14 09:32:31 -05:00
Josh Matthews
9e0dec7780 Bug 837091 - Rename cookie-changed notification for private cookies. r=ehsan 2013-02-05 10:44:21 +00:00
Mounir Lamouri
f249ee5c89 Bug 823175 - Add a method to return the next sub domain of a given host in nsIEffectiveTLDService. r=bz 2013-02-04 17:59:49 +00:00
Dave Townsend
6c649be569 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Nicholas Nethercote
d0f259110b Bug 833208 (part 4) - Remove e4x support from xpcshell tests. r=jorendorff.
--HG--
extra : rebase_source : a7bd33905120f74e6c242e0c236450dd3be54436
2013-01-30 16:56:16 -08:00