Commit Graph

823 Commits

Author SHA1 Message Date
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
Wes Kocher
2b1697dede Backed out changeset 88fd66b4944c (bug 897221) 2013-09-09 15:50:32 -07:00
Jim Chen
61597cacd1 Bug 897221 - Add test for UserAgentUpdates.jsm; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
58bde26ed5 Bug 897221 - Initialize UserAgentUpdates.jsm inside UserAgentOverrides; r=fabrice 2013-09-09 15:47:47 -04: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
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09: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
Geoff Brown
b35d3fe181 Bug 905344 - Change server port to -1 in test_load_module.js; r=waldo 2013-08-23 09:11:34 -06:00
Jim Chen
800f5d9ffd Bug 901085 - Add test for UserAgentOverrides.jsm; r=dao 2013-08-22 14:41:43 -04:00
Patrick McManus
36d43a2d51 bug 750932 - multipart delimiter check r=jduell 2013-08-22 08:52:50 -04:00
Makoto Kato
9d06ff2f05 Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg 2013-08-22 19:31:48 +09:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02: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
Ms2ger
4579943f93 Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
David Keeler
f6f47c149c bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-08-02 16:23:18 -07:00
David Keeler
e02475356e bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
Ryan VanderMeulen
e91e143e66 Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
David Keeler
a746ca39ba bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-07-01 10:49:40 -07:00
David Keeler
503e645f01 bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Joey Armstrong
4246f49c03 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04: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
David Keeler
5ac4ee12c2 bug 846825 - refactor, make HSTS header parser more spec-conformant r=cviecco r=grobinson 2013-07-25 16:13:50 -07:00
Ed Morley
a4c659faee Merge mozilla-central and fx-team 2013-07-24 13:37:09 +01:00
Tim Taubert
4c63bf75c7 merge m-c to fx-team 2013-07-24 12:15:50 +02:00
Ms2ger
8ab83f380e Merge m-c to inbound. 2013-07-24 11:53:22 +02: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
Ms2ger
7d7359c752 Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
Gregory Szorc
c5eba49bad Bug 896093 - Reference proper variable when blocked port is used; r=trivial 2013-07-23 13:53:01 -07:00
Joshua Cranmer
9254ed8d14 Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05: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
Gregory Szorc
ec8d692359 Bug 895542 - Only automatically select ports that aren't blocked from clients; r=Waldo 2013-07-19 10:30:06 -07:00
Ehsan Akhgari
c069003a4b Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Mihnea Dobrescu-Balaur
bb9069e806 Bug 887706 - Use a dynamic port in httpserver xpcshell tests so they can be run in parallel. r=Waldo 2013-07-17 09:11:19 -04: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
Steve Workman
6abb9aa415 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-07-08 18:45:25 -07:00
Patrick McManus
e4328009f9 bug 888551 incomplete parsing of cache-control max-age r=hurley 2013-06-28 21:16:43 -04:00
Bobby Holley
8ddaa2c00c Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Nathan Froyd
f815bcde54 Bug 883981 - correctly reflect the server's port in httpd.js; r=ted 2013-06-17 14:58:56 -04:00
Ryan VanderMeulen
94cb0b7478 Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Steve Workman
57928119fc Bug 497003 - Adjust partial content test and revert httpd.js r=jduell 2013-06-14 19:34:17 -07: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
Vladimir Vukicevic
9e17b8825a b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00