Commit Graph

581 Commits

Author SHA1 Message Date
enndeakin@sympatico.ca
8efc7f8e46 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07:00
jwalden@mit.edu
3f90535472 Bug 376489 - Serve reftests from a web server so as not to depend on external resources, if the reftest is marked as needing HTTP; also picks up support for HTTP header and status modification in reftest files. r=dbaron 2007-07-18 14:32:50 -07:00
bzbarsky@mit.edu
8b31383627 Make SetPort actually update the internal offsets correctly. Bug 388281, r+sr=biesi 2007-07-16 21:48:47 -07:00
dwitte@stanford.edu
be600f0162 add cookie tests for creation time ordering and eviction. 2007-07-16 14:06:55 -07:00
jwalden@mit.edu
95e60dc065 Attempt to recommit part of the patch for bug 384192, in the hopes that this makes it easier to figure out what part of it is wrong. This part enables proxying for the added domains but doesn't actually use it. 2007-07-12 16:33:51 -07:00
jwalden@mit.edu
04d9e6523f Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
e4d23fa12c Turn on server debugging for a cycle to figure out the orange, bug 384192. 2007-07-11 23:41:56 -07:00
jwalden@mit.edu
13dd7e4db5 Bug 384192 - Mochitest needs to support subdomain tests; use a proxy hack to pretend the tests are available on example.com, example.org, and various subdomains of each, on various ports, to satisfy this need. r=robcee 2007-07-11 22:38:47 -07:00
dwitte@stanford.edu
a06fef8172 add unit tests for previous checkin. 2007-07-10 20:28:01 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
dwitte@stanford.edu
c9d4ef4c68 prevent creating, modifying, and deleting HttpOnly cookies from web content, and add unit tests to that effect. b=383181, r+sr=dveditz 2007-06-26 01:36:50 -07:00
dwitte@stanford.edu
6d2c342bb5 missed this file in previous checkin. 2007-06-17 17:01:10 -07:00
kherron@fmailbox.com
46876b4cf8 Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger. 2007-06-17 05:29:08 -07:00
dwitte@stanford.edu
18ccaa21a1 removing unused p3p-related files. 2007-06-16 17:42:13 -07:00
db48x@yahoo.com
f9f342643d Bug 321706 - Some elements of pages in sub-directories are not loaded if the URL ends by /.patch by Florian Quèze <f.qu@queze.net>, r+sr=cbiesinger 2007-06-03 07:31:14 -07:00
timeless@mozdev.org
945e198423 Bug 191187 Request for UDP/IP (datagram) socket provider and supportbased on dougt's workpatch by mook.moz+mozbz@gmail.comr=biesi sr=bz 2007-05-30 23:07:26 -07:00
jwalden@mit.edu
2b27fe648e Bug 367214 - mod_cern_meta support in the HTTP server, enabling modification of the HTTP status and headers sent in the response for a file. r=biesi 2007-05-20 18:35:06 -07:00
mozilla.mano@sent.com
4e60ba0a57 Re-enabling digest auth. tests, a=sayrer. 2007-05-19 17:33:28 -07:00
mozilla.mano@sent.com
d3274b766d Commenting out some failing authentication tests to check whetehr places-bookmarks build on the windows machines of MozillaTest, a=sayrer. 2007-05-18 14:53:18 -07:00
asqueella@gmail.com
79da1f0638 Bug 369787 - calling nsHttpChannel::SetContentType on a closed channel doesn't work as expected.p=Sylvain Pasche <sylvain.pasche@gmail.com>r=biesi, sr=darin 2007-05-13 10:09:52 -07:00
dwitte@stanford.edu
b391e7785e unit test for new cookie path checks, per bug 373228. 2007-05-07 04:40:23 -07:00
dwitte@stanford.edu
21747bccfe add nsICookieManager{2} interface tests. 2007-05-05 18:31:06 -07:00
sayrer@gmail.com
39801af7f6 Bug 378787. Digest Authentication Request Splitting. r=biesi, sr=brendan 2007-05-03 20:31:30 -07:00
asqueella@gmail.com
b5c4810735 test for bug 261425 - a space in a url between the : and // does nothing.p=Ryan Jones <sciguyryan@gmail.com>r=biesi 2007-04-27 09:20:26 -07:00
asqueella@gmail.com
96d282fde2 Bug 368702 - Effective TLD Service should treat trailing dot properlyp=Wladimir Palant <trev.moz@adblockplus.org>r=biesi, sr=dveditz 2007-04-27 07:50:15 -07:00
asqueella@gmail.com
cb0fbc5f4c Bug 376865 - nsInputStreamPump::AsyncRead does not null check listenerp=Ryan Jones <sciguyryan@gmail.com>r+sr=biesi 2007-04-25 13:52:16 -07:00
cbiesinger@web.de
ea7c508abd extend test for bug 376660: also test failure cases. r=bz 2007-04-22 13:00:17 -07:00
bzbarsky@mit.edu
258bf44955 Add test and some docs for bug 376660. r=biesi 2007-04-16 18:47:57 -07:00
cbiesinger@web.de
3698410a1a Bug 372486 – Document and enforce that channels can't be reopenedpatch by Sylvain Pasche <sylvain.pasche@gmail.com> r=biesi sr=darin 2007-03-23 14:56:32 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
mkaply%us.ibm.com
d8d01a6b19 Bug 178993 - r=sayrer - Unit testcase for httponly 2007-03-14 17:16:51 +00:00
asqueella%gmail.com
bac46cf8e9 Bug 371473 - Stack overflow when URLs (jar:, view-source:, etc) are nested too deeply
p=Ryan Jones <sciguyryan@gmail.com>
r=bzbarsky, sr=biesi
2007-03-12 05:56:45 +00:00
benjamin%smedbergs.us
31bfdfa0fb Followup patch to deal with escaped characters, bug 367428 r=biesi 2007-02-26 16:57:48 +00:00
benjamin%smedbergs.us
853f382728 Bug 367428 - sanity-check resource URIs, r=biesi 2007-02-26 15:09:02 +00:00
asqueella%gmail.com
88e519f7ef Bug 223846 - AuthName with escaped " in it sets wrong realm
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=biesi
2007-02-11 00:33:29 +00:00
jwalden%mit.edu
93e94c1015 Bug 369169 - Turn off server debug output, uncluttering test logs -- if you need to debug the server or want to see where something's going awry, tweak the new DEBUG constant manually. r=sayrer 2007-02-03 06:15:26 +00:00
jwalden%mit.edu
45bb59aa84 Bug 368942 - Add a do_get_file(path) function to xpcshell-simple, remove do_get_topsrcdir() as unnecessary. Also fix bug 368944 (invalid use of nsILocalFile API in test-harness) at the same time. r=sayrer 2007-02-03 01:46:09 +00:00
jwalden%mit.edu
383959ca01 Unbreak test -- the previous commit should work fine. Bug 351968 is completely committed! 2007-01-31 07:49:10 +00:00
jwalden%mit.edu
c0fc6a93d5 Final try at bug 351968 -- make relative topsrcdirs work, fixing the last build errors. Because xpcshell tests are fragile, this commit intentionally breaks a test so that I can verify correctness; I'll remove the break when I verify the fix works correctly (via broken test error messages). 2007-01-31 07:22:12 +00:00
jwalden%mit.edu
28501d84a3 Testing something to determine the problem that's breaking the MozillaTest tinderboxen running automated tests 2007-01-31 03:58:25 +00:00
jwalden%mit.edu
7eeed473b4 Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg 2007-01-31 03:25:46 +00:00
jwalden%mit.edu
6b07e41dd6 Bug 368211 - Pretty generated directory listings for directories not containing index.html in the JS HTTP server. r=sayrer 2007-01-26 23:48:34 +00:00
sayrer%gmail.com
48038f6dc5 bug 367537. enhancements to httpd.js. add an index handler and respose.write. r=jwalden 2007-01-24 16:57:03 +00:00
jwalden%mit.edu
0e8e968c7b Bug 342877 - Substantially revamp/rewrite the testing-only HTTP server used in necko unit tests, making it suitable for use in Mozilla tests which require files be stored on an HTTP server (e.g. because the test depends on certain HTTP headers being set or not set, the functionality uses HTTP, etc.) but which don't require that the server have a specified hostname. Docs, implementation, and tests (!) are in netwerk/test/httpserver/; if you have questions about using the server in unit tests or have some use case which the server could support better or doesn't support at all, CC me on the bug and I'll see how I can help. Huge (huge) thanks to biesi for the review of the huge patch. r=davel on test-harness changes, r=biesi on the server and test changes 2006-12-15 02:13:54 +00:00
jwalden%mit.edu
6dcb43a12a Bug 360930 - test_file_protocol.js can fail based on execution environment (where TmpD contains a particularly large number of files). r+sr=biesi 2006-11-16 21:44:46 +00:00
joshmoz%gmail.com
eafe54770a remove XP_MAC from network. b=281889 r=darin 2006-11-15 21:38:48 +00:00
bzbarsky%mit.edu
0a3a624149 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
2006-11-10 23:49:08 +00:00
benjamin%smedbergs.us
bfcb485faf Unit testcase for bug 337744, r=darin 2006-10-25 19:35:13 +00:00
bzbarsky%mit.edu
0ce72c77cd Make nsIStreamLoader and nsIUnicharStreamLoader be stream listeners. Bug
281153, patch by Son Le <son.le0@gmail.com>, r=biesi, sr=darin
2006-10-24 21:47:40 +00:00
cbiesinger%web.de
9a381e7875 bug 354410 move auth prompt strings out of necko. also, use the correct
strings for prompting without a realm and for prompting only for a password.
r=darin
2006-09-28 20:11:33 +00:00
cbiesinger%web.de
79738ef491 Bug 265780 make FTP use nsIAuthPrompt2
r=darin
2006-09-22 21:06:57 +00:00
cbiesinger%web.de
9823d58566 removing unnecessary util dependency 2006-09-21 02:43:15 +00:00
cbiesinger%web.de
058a0734eb netwerk/test doesn't need to link to libmozjs, r=darin 2006-09-12 20:03:37 +00:00
cbiesinger%web.de
7cb0ae5c43 remove unused include 2006-09-08 21:59:27 +00:00
cbiesinger%web.de
d3117cbea4 Bug 265780 make the level argument to nsIAuthPrompt2 useful by introducing a
new flag for nsIHttpAuthenticators indicating whether the PW will be encrypted
r=darin
2006-09-05 23:47:30 +00:00
cbiesinger%web.de
53e3d8497d Bug 350790 Don't send the request to the server if an on-modify-request
observer or a loadgroup observer cancelled the channel
r=darin
2006-08-31 17:51:52 +00:00
cbiesinger%web.de
8c59aae763 Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at
http://wiki.mozilla.org/Necko:nsIAuthPrompt2
r=darin
2006-08-26 21:42:54 +00:00
cbiesinger%web.de
f9a96047a4 actually call test_wrongpw1, and shut down the HTTP server before the scope
goes away
2006-08-02 02:02:37 +00:00
cbiesinger%web.de
b5f6ef01ec add more authprompt tests 2006-08-01 21:47:04 +00:00
cbiesinger%web.de
2326f69720 Bug 346323 add a unit test for the IDN service
r=darin
2006-08-01 21:30:10 +00:00
cbiesinger%web.de
447660b4bb bug 346016 add a unit test for authentication prompts
r=darin
2006-07-26 23:10:48 +00:00
neil%parkwaycc.co.uk
457b3880e8 Bug 310403 merge formatting.css from communicator into global p=surkov.alexander@gmail.com r=me sr=jag 2006-07-12 15:43:17 +00:00
mnyromyr%tprac.de
a561f2dcd2 Bug 115924: removal of communicatorOverlay.xul; p=Giacomo Magnini <giacomo.magnini@portalis.it>, r=neil, sr=mscott 2006-07-09 12:49:47 +00:00
darin%meer.net
85e5760bb5 removing unused files (bug 306896) 2006-06-27 18:10:46 +00:00
darin%meer.net
b1554032ae fixes bug 331825 "Unable to do conditional gets via XMLHttpRequest with 1.5.0.1, works in 1.0.7" r=biesi sr=bzbarsky 2006-06-23 00:49:40 +00:00
darin%meer.net
e9232626de adding unit test for bug 336501. 2006-06-23 00:06:22 +00:00
darin%meer.net
ac465186ba fixes bug 338332 "netwerk/test/TestCookie logic error?" patch by davel, r=darin 2006-06-22 22:22:44 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
kairo%kairo.at
6aea674984 bug 328317 - merge platform .jar files into en-US.jar, r=mento for the mozilla/config changes r=jag sr=Neil 2006-04-08 11:49:47 +00:00
kairo%kairo.at
91acb7039c bug 325473 - Undo separation of language and region/content packs, part 4: move pref panel into communictor pefs in suite/, correct installer manifests and fix rough edges of parts 1-3, r=bsmedberg for build system changes (removal of content-packs extension) r=ajschult for installer manifests r=jag sr=Neil 2006-04-08 11:17:06 +00:00
darin%meer.net
1b73e64f90 fixes bug 287646 "Eliminate nsPIProtocolProxyService and introduce reloadPAC method" r=biesi,neil,beng,mscott sr=bzbarsky 2006-03-30 17:31:15 +00:00
cbiesinger%web.de
055af5662f bug 324985 Allow components to register in a category to get told about all page
loads and allow sniffing the content type. Only works for docshell-initiated
loads.
r=darin sr=bz
2006-03-03 21:06:53 +00:00
cbiesinger%web.de
9ca6a7aab1 Bug 315598 Allow more than one global redirect observer, using the
"net-channel-event-sinks" category.
r=darin sr=bz
2006-02-22 14:07:21 +00:00
benjamin%smedbergs.us
d58e68beb2 Bug 327168 - test holds COMPtrs past XPCOM shutdown, r=darin 2006-02-14 19:39:52 +00:00
cbiesinger%web.de
7d20ed1ad6 bug 326693 filechannel ignores content-type hints
r+sr=darin
2006-02-14 18:46:12 +00:00
cbiesinger%web.de
5cdaeda098 bug 327065 misc necko cleanup, see bug for details
r+sr=darin
2006-02-14 15:37:10 +00:00
cbiesinger%web.de
25c82aa71f bug 325815 add an HTTP server for necko tests
r=darin
2006-02-04 17:23:30 +00:00
davel%mozilla.com
da85bb10e1 Unify necko and content test harnesses. Create common versions of test harness
files in tools/test-harness/xpcshell-simple, and modify the existing
instances to use the common files.  Bug 322894, r=darin,bzbarsky,
sr=benjamin
2006-01-27 20:56:16 +00:00
timeless%mozdev.org
c034e6fe1c Bug 319003 remove unused variable gSession from TestCacheService
r=darin sr=darin
2005-12-11 02:38:15 +00:00
darin%meer.net
697c78f1ea Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2005-11-12 18:17:19 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
darin%meer.net
446ecfcbd1 fix error in last checkin: a.Left(b, 10) != a = Substring(b, 10)
r=biesi
2005-11-08 23:39:42 +00:00
bsmedberg%covad.net
3d9340e0ae Bug 315087 - convert necko tests to use the glue, r=darin 2005-11-08 19:23:00 +00:00
darin%meer.net
57399917a2 fixes bug 314325 "necko_unit_tests/test_localstreams.js fails" r=biesi 2005-10-29 17:26:12 +00:00
bsmedberg%covad.net
004d195a07 Bug 307492 - 64-bit unsafe cast r=darin 2005-09-09 12:47:41 +00:00
darin%meer.net
2f04acaa5c Repair some broken networking tests. 2005-08-30 00:30:38 +00:00
cbiesinger%web.de
4868e46b76 bug 304414
- Run TestCookie in make check
- Make TestCookie return an error code if the test failed
- Mention the tested bug# in test_cookie_header.js
- Add a test for bug 304414: Make sure that local streams behave "sanely" (don't
return PR_UINT32_MAX, don't return PR_INT32_MAX, don't have more data at EOF)
and can read the entire file.

r=bz
2005-08-21 14:20:40 +00:00
cbiesinger%web.de
89d68b8b89 bug 250375 allow necko consumers to append to the Cookie header
r+sr=darin
2005-08-13 11:46:11 +00:00
cbiesinger%web.de
170136bfb7 bug 63368 adds a "make check" rule to the build system, which currently runs necko unit tests + the version comparator tests
r=cls,bsmedberg a=bsmedberg
2005-08-11 16:41:54 +00:00
darin%meer.net
469d6310bd Fix testcase for latest protocol proxy service API. r=biesi 2005-08-10 23:41:01 +00:00
darin%meer.net
5802d3b4a6 landing another tweak to patch for bug 297078 "really check for null byte in header values" r+sr=bzbarsky a=sparky 2005-07-27 18:13:11 +00:00
darin%meer.net
4be75474e9 landing follow-up patch to bug 297078 "fix signed character math" r+sr=bzbarsky a=sparky 2005-07-26 21:35:58 +00:00
darin%meer.net
bcc3c00f8f fixes bug 297078 "restrict characters used in headers and the method name" r+sr=bzbarsky a=dveditz 2005-07-26 20:58:35 +00:00
bzbarsky%mit.edu
6c59f965fd Make our content-type header parsing closer to spec (it wasn't allowing some
perfectly valid things), and have only one function for doing said parsing
instead of two separate functions.  Bug 244964, r+sr=darin, a=bsmedberg
2005-07-25 20:27:04 +00:00
darin%meer.net
0b27f2e150 fixes bug 291910 "Provide utility for incremental download" r=biesi,dougt sr=bzbarsky a=shaver 2005-06-01 18:05:36 +00:00
roc+%cs.cmu.edu
a2a26e1b5b Bug 291234. netwerk tests don't need to depend on GTK anymore. r+sr=dbaron,a=asa 2005-04-21 20:59:15 +00:00
darin%meer.net
a476e7129d fixes bug 283049 "nsISocketTransportService cleanup" r=biesi sr=bzbarsky a=asa 2005-04-14 23:18:34 +00:00
darin%meer.net
d7eef06aeb make test_all.sh run on Mac OSX. not part of the build. 2005-04-06 19:32:26 +00:00
darin%meer.net
9791154211 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky 2005-04-06 01:33:28 +00:00
cbiesinger%web.de
44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00