Commit Graph
188 Commits
Author SHA1 Message Date
Jeff Walden 7ea663379f Bug 381598 - HTTP server tests cleanup, round two. r=me because the old tests are difficult to understand and it's not worth making someone read them to do a review 2008-12-18 11:05:40 -08:00
Jeff Walden 0221364275 Bug 381598 - HTTP server tests cleanup. r=me because I don't think it's a good use of anyone's time to disentangle the tests as they were written prior to this checkin 2008-12-15 21:02:41 -08:00
Jeff Walden 4e3906faab Bug 465921 - httpd.js fails to deliver after about 35 reloads of test_seek1.html, most likely because the connection is being prematurely terminated by the client. r=bz 2008-12-15 21:02:40 -08:00
Jeff Walden 74aa7b2d68 Followup nitfix from review comment, bumping iteration count up one to 'fail' more places if a regression happens. 2008-12-12 11:43:51 -08:00
Jeff Walden 9327412cbe Bug 468467 - If onInputStreamReady doesn't process all of the Request-Line the first time, httpd.js asserts. r=honzab 2008-12-12 11:31:30 -08:00
Jeff Walden f33c2cd7d4 Bug 463327 - Enable stateful SJS handlers somehow other than through universal insta-XSS. r=honzab 2008-12-03 22:24:59 -08:00
Jeff Walden 30661ff4c3 Bug 463254 - httpd.js fails on mac when running test_CrossSiteXHR.html. The problem was that exceptions were causing files not to be closed on OS X, and we were hitting the open-file limit; add some try-finally magic to close in a failsafe manner. r=honzab 2008-11-06 12:44:27 -08:00
Jeff Walden 8a596f03d6 Bug 462864 - Expose request body as a stream, state-machine refactoring in httpd.js. r=honzab 2008-11-05 15:31:30 -08:00
Jeff Walden 23c0b41b4c Consistently rebrand to httpd.js, since that's basically how everyone knows about it and because the older name was ugly. No bug, basically comment-only changes, r+sr+ui-r+a=mconnor per the inestimable firebot 2008-11-02 22:46:54 -08:00
Chris Double 569d9219af Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13:00
Jonas Sicking c8e37fb5f2 Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Chris Double d81dc83f45 Backed out changeset c2e02e6250db 2008-09-25 19:34:29 +12:00
Chris Double e14cb1d359 Bug 398185 - Add byte range request support to JS httpd - r+=sayrer 2008-09-25 15:30:35 +12:00
Olli Pettay d658d45525 Bug 454217, httpd.js doesn't handle large body properly, r=sayrer, +change XHR POST test to use request.body 2008-09-09 12:32:35 +03:00
Honza Bambas e48930c72c Bug 443610 - Add body and PUT handling to httpd.js; "DELETE" part; r=sayrer 2008-09-07 17:19:08 +02:00
Honza Bambas 3f22508a1a Bug 443610 - Add body and PUT handling to httpd.js; "PUT" part; r=sayrer 2008-09-07 17:18:06 +02:00
Jeff Walden c1031870fd Bug 428009 - Update the HTTP server to require a *correct* host be specified with it, not just *a* host via an absolute URI as Request-URI or a specified Host header. This also gives request handlers proper details about the location to which the request was targeted. r=biesi on the raw socket usage in the test code, r=ted on the build changes, r=sayrer on the server changes 2008-06-07 02:43:15 -04:00
Benjamin Smedberg 22f6a79e79 Bug 427831 - CHECK FAILED: file.txt == CVS/ -- no more CVS! r=waldo 2008-04-09 00:07:04 -04:00
c9f91ed125 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... 2008-03-18 10:42:39 -07:00
c0672b4a6d Bug 401649 - JS CGI support in httpd.js -- create responses conditioned on header values and HTTP method types! r=sayrer 2008-02-05 17:12:32 -08:00
b32fab8f83 Update an obsolete comment in a NPOTB file. 2007-09-11 17:27:01 -07:00
adeaf241d2 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. 2007-09-11 17:24:08 -07:00
72ae1d302f 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 2007-08-23 15:07:40 -07:00
de77792dce 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
cad3fdd8bb 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
81d47693d5 Back out 384192. 2007-07-12 01:46:07 -07:00
512039af3a Turn on server debugging for a cycle to figure out the orange, bug 384192. 2007-07-11 23:41:56 -07:00
4e8723d890 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
07b035143e 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
[email protected] 2abb490bf1 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
[email protected] 264288d844 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
[email protected] fc1bc8acd6 Unbreak test -- the previous commit should work fine. Bug 351968 is completely committed! 2007-01-31 07:49:10 +00:00
[email protected] 042643bcb8 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
[email protected] 55d2bf4f96 Testing something to determine the problem that's breaking the MozillaTest tinderboxen running automated tests 2007-01-31 03:58:25 +00:00
[email protected] 45fff10b33 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
[email protected] c758ad288a 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
[email protected] b1b39ea2da bug 367537. enhancements to httpd.js. add an index handler and respose.write. r=jwalden 2007-01-24 16:57:03 +00:00
[email protected] 8abcb88e27 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