Commit Graph

875 Commits

Author SHA1 Message Date
Ehsan Akhgari
e405bd80a2 Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Birunthan Mohanathas
eefecb0ae1 Bug 784739 - Switch from NULL to nullptr in netwerk/ (2/2); r=ehsan 2013-09-19 15:29:27 -04: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
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
Ryan VanderMeulen
917e565db3 Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
Steve Workman
e677ae56d1 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-06-13 10:42:48 -07:00
Bobby Holley
2ff95d98aa 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-13 10:09:26 -07:00
Joey Armstrong
410e37a8c5 bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04: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
Jason Duell
5ec44ea857 Bug 879054: fix printf of status in HttpChannelParent. r=mcmanus 2013-06-04 16:32:31 -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
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -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
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -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
aceman
b20aad1de4 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04: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
Ehsan Akhgari
aa3139644f Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07: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
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Cykesiopka
c4d44d38d7 Bug 92979 - Remove unused parameters in nsNetUtil.h methods. r=biesi 2013-03-08 08:30:13 -05: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
Albert Crespell
06ca517382 Bug 839757 - Tests. r=honzab 2013-03-03 09:08:44 +01:00
Ryan VanderMeulen
19b1ecb4eb Merge m-c to inbound. 2013-03-03 13:45:57 -05:00
Simon Montagu
3db2434df6 Remove network.enableIDN pref. Bug 842282, r=honza.b 2013-03-03 18:36:37 +02:00
Ryan VanderMeulen
e26237e7ee Merge m-c to fx-team. 2013-03-02 23:46:08 -05: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
Tim Taubert
5fb2e270cf Bug 842512 - Specify a character set for error pages; r=Waldo 2013-02-22 19:56:26 +01:00
Gregory Szorc
cb829ec2a0 Bug 784841 - Part 18z: Convert /netwerk; f=Ms2ger rs=ted 2013-02-25 12:47:23 -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