20 Commits

Author SHA1 Message Date
jwalden%mit.edu
3468f29f28 Add a bunch of forgotten |false| parameters to setHeader calls in httpd.js server handlers; no functionality change because absence defaulted to false. No bug, test-only set of trivial changes so self-reviewing...
git-svn-id: svn://10.0.0.236/trunk@248085 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 17:42:39 +00:00
jwalden%mit.edu
6ea98923fa Bug 401649 - JS CGI support in httpd.js -- create responses conditioned on header values and HTTP method types! r=sayrer
git-svn-id: svn://10.0.0.236/trunk@244964 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 01:12:33 +00:00
jwalden%mit.edu
35463d00dd Update an obsolete comment in a NPOTB file.
git-svn-id: svn://10.0.0.236/trunk@235520 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 00:27:01 +00:00
jwalden%mit.edu
934a937aa7 Bug 395559 - Fix two typos in httpd.js which prevented the registerFile API from working correctly, and add a dumpn so that errors in handlers can be detected more easily by reading console dumps. r=sayrer, NPOTB, test-only, etc.
git-svn-id: svn://10.0.0.236/trunk@235519 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 00:24:26 +00:00
jwalden%mit.edu
6b8244f646 Bug 370245 - Make the HTTP server asynchronously process requests, and pave the way for future improvements to processing. r=biesi, a=bsmedberg on a testing-only change
git-svn-id: svn://10.0.0.236/trunk@232981 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 22:07:40 +00:00
jwalden%mit.edu
1fe811c921 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
git-svn-id: svn://10.0.0.236/trunk@230233 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:32:51 +00:00
jwalden%mit.edu
9db2c68826 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.
git-svn-id: svn://10.0.0.236/trunk@229859 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 23:33:51 +00:00
jwalden%mit.edu
b45886c5d1 Back out 384192.
git-svn-id: svn://10.0.0.236/trunk@229797 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 08:46:10 +00:00
jwalden%mit.edu
dcb91f2642 Turn on server debugging for a cycle to figure out the orange, bug 384192.
git-svn-id: svn://10.0.0.236/trunk@229793 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 06:41:56 +00:00
jwalden%mit.edu
68fec6168b 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
git-svn-id: svn://10.0.0.236/trunk@229790 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 05:38:48 +00:00
jwalden%mit.edu
8444b0125a 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
git-svn-id: svn://10.0.0.236/trunk@226689 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 01:35:08 +00:00
jwalden%mit.edu
1c83a04091 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
git-svn-id: svn://10.0.0.236/trunk@219448 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 06:15:26 +00:00
jwalden%mit.edu
6d7428a45a 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
git-svn-id: svn://10.0.0.236/trunk@219443 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:46:09 +00:00
jwalden%mit.edu
a5bbba2cb4 Unbreak test -- the previous commit should work fine. Bug 351968 is completely committed!
git-svn-id: svn://10.0.0.236/trunk@219239 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:49:10 +00:00
jwalden%mit.edu
8b7aba480c 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).
git-svn-id: svn://10.0.0.236/trunk@219238 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:22:12 +00:00
jwalden%mit.edu
1d0e6fa95c Testing something to determine the problem that's breaking the MozillaTest tinderboxen running automated tests
git-svn-id: svn://10.0.0.236/trunk@219220 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:58:25 +00:00
jwalden%mit.edu
83d07a5ce5 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
git-svn-id: svn://10.0.0.236/trunk@219219 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:25:46 +00:00
jwalden%mit.edu
3129d5bf52 Bug 368211 - Pretty generated directory listings for directories not containing index.html in the JS HTTP server. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219019 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 23:48:34 +00:00
sayrer%gmail.com
2bb21ff6ea bug 367537. enhancements to httpd.js. add an index handler and respose.write. r=jwalden
git-svn-id: svn://10.0.0.236/trunk@218841 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 16:57:03 +00:00
jwalden%mit.edu
6262239dc7 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
git-svn-id: svn://10.0.0.236/trunk@217001 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 02:13:54 +00:00