Commit Graph

180 Commits

Author SHA1 Message Date
Jeff Walden
060e9f580e Bug 462864 - Expose request body as a stream, state-machine refactoring in httpd.js. r=honzab 2008-11-05 15:31:30 -08:00
Gavin Sharp
d54eed15ff Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
d6bc35b4d4 Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, original patch by shaver@mozilla.org, r+sr=biesi 2008-11-04 23:11:31 -05:00
Ehsan Akhgari
4770654ff7 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
Jeff Walden
0b43a90166 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
Ehsan Akhgari
6b5f7550c0 Bug 411952 - Cookie's creationTime needs to be exposed via nsICookie2; r=mconnor, sr=bzbarsky (unit test) 2008-10-31 17:21:31 +03:30
Ehsan Akhgari
7324bfd3ea Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cache part]; r=cbiesinger,dcamp sr=cbiesinger 2008-10-25 13:56:20 +03:30
Boris Zbarsky
d2d14f4bcb Fixing test to actually pass on Mac 2008-10-22 13:45:07 -04:00
Boris Zbarsky
91368d770a Fixing indent 2008-10-22 11:44:51 -04:00
Boris Zbarsky
2938178520 Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
Ehsan Akhgari
90c0874889 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cookie part]; r=dwitte,mconnor sr=bzbarsky 2008-10-20 00:42:53 +03:30
Chris Double
22956f0d68 Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13:00
Michal Novotny
ca0850cf6f Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
Michal Novotny
50b78fb725 Bug 412945 - "Malformed POST requests generated when using elance.com" [r=biesi sr=bzbarsky] 2008-10-01 00:31:24 -05:00
Michal Novotny
0b7776d77b Bug 365133 - "The FTP folder won't open!" [r=bzbarsky sr=dougt] 2008-10-01 00:28:39 -05:00
Daniel Veditz
e519ee34e1 Bug 380994 - "Fix for bug 367428 lets through escaped slashes on Linux (windows too on trunk)" [r=biesi] 2008-10-01 00:15:58 -05:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Chris Double
b800307262 Backed out changeset c2e02e6250db 2008-09-25 19:34:29 +12:00
Chris Double
b73459c8fc Bug 398185 - Add byte range request support to JS httpd - r+=sayrer 2008-09-25 15:30:35 +12:00
Ehsan Akhgari
530b63bf4e Bug 455598 - nsICookieManager2.cookieExists incorrectly assumes a nsCookie param; test; r=dwitte sr=bzbarsky 2008-09-20 16:28:09 +02:00
Magnus Melin
e3168d95a2 Bug 431890: nsStandardURL::SetSpec does not fail when host contains leading space " ". r+sr=cbiesinger 2008-09-14 21:15:06 +03:00
Boris Zbarsky
ce2a8dfd0a Bug 454411. Fix caching of redirects to actually work. r+sr=biesi 2008-09-09 21:39:38 -04:00
Olli Pettay
a4dcb20ef2 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
8ee27486d6 Bug 443610 - Add body and PUT handling to httpd.js; "DELETE" part; r=sayrer 2008-09-07 17:19:08 +02:00
Honza Bambas
4dba47826b Bug 443610 - Add body and PUT handling to httpd.js; "PUT" part; r=sayrer 2008-09-07 17:18:06 +02:00
Jan Odvarko
232d776f64 Bug 430155. New nsHttpChannel interface to allow examination of HTTP data before it is passed to the channel's creator. r=biesi, sr=bzbarsky 2008-08-25 13:21:28 -04:00
Michal Novotny
96ad2865a5 Bug 379034 - Relative URLs with capitalized schemes are treated as absolute, r=biesi sr=bzbarsky 2008-08-19 10:48:10 -04:00
Serge Gautherie
df8933a41f Bug 450177 - "TestBlockingSocket.cpp(158) : warning C4390: ';' : empty controlled statement found; is this the intent?", r+sr=biesi 2008-08-14 08:44:42 +02:00
Boris Zbarsky
ba6f01e79d Bug 426273. Make sure to clear out bogus Content-Disposition values before checking whether we can handle the 206 response. r+sr=biesi 2008-07-31 17:55:14 -07:00
Dave Camp
eb4bfaeb1c Bug 448712. Make sure to remove the storage for an empty entry in a cache block file. r+sr=biesi 2008-07-31 17:53:12 -07:00
Benjamin Smedberg
9961c9eb16 Bug 445853 - Add namespaces to various tests: these tests share a class name with other tests, which makes XPCOMGC rewriting very confused. r=biesi 2008-07-27 21:09:10 -04:00
Gervase Markham
0579f178a3 Bug 438585 - "Updates to Public Suffix List" [p=dwitte] 2008-07-12 06:56:15 -05:00
Gervase Markham
b0f81b497d Back out Public Suffix List changes at myk's request 2008-07-10 23:04:06 +01:00
Gervase Markham
9d5f37bb67 Bug 438585 - Updates to Public Suffix List. Patch by gerv; r=dwitte. 2008-07-10 18:26:25 +01:00
Mats Palmgren
aaa49ce031 URI.path one character short after redirect involving fragment. b=438288 r+sr=cbiesinger 2008-06-19 23:39:46 +02:00
Gavin Sharp
21f5e4e8bf Bug 407538: newURI(http://foo.com:80).port is 80, should be -1 (can set a URI's port to its default value by setting .spec), r+sr=biesi 2008-06-15 21:16:57 -04:00
Jeff Walden
074efa08c7 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
jorendorff@mozilla.com
9b2db511f4 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsobj.c => js/src/jsobj.cpp
2008-05-07 17:37:49 -07:00
gavin@gavinsharp.com
c097befe30 Bug 431774: make this test actually test what it was supposed to, instead of always passing, r=biesi 2008-05-05 14:00:59 -07:00
Benjamin Smedberg
160d9d1766 Merge cvs-trunk-mirror to mozilla-central. Automated merge, no manual conflict resolution necessary.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jslong.c => js/src/jslong.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-04-29 10:20:07 -04:00
cbiesinger@gmail.com
b7fc55e78b Bug 429128 correctly adjust mRef when changing the query part of a URL r+sr=bz a=beltzner; unit test by bz r+sr=biesi 2008-04-17 01:27:44 -07:00
Benjamin Smedberg
b3c6962a6c Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-15 13:59:01 -04:00
smontagu@smontagu.org
1811675432 Pass domain names to stringprep label by label. Bug 427959, r+sr=biesi, a1.9+b1.9=beltzner 2008-04-14 01:26:55 -07:00
Benjamin Smedberg
ef687634db Bug 427831 - CHECK FAILED: file.txt == CVS/ -- no more CVS! r=waldo 2008-04-09 00:07:04 -04:00
reed@reedloden.com
eb60d3138f Bug 407845 - "nsCookieService::FindCookie() shouldn't return expired cookies" [p=dwitte@stanford.edu (Dan Witte [dwitte]) r+sr=biesi a1.9=damons] 2008-04-08 12:24:58 -07:00
smontagu@smontagu.org
3e8c717a6d Fallback to null-padding in nsMimeHeaderParam::GetParameter if all other conversions fail. Bug 419157, r+sr=biesi, b=beltzner 2008-04-08 11:45:55 -07:00
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
jwalden@mit.edu
9156d6bbff 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
dwitte@stanford.edu
13effbe655 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
bzbarsky@mit.edu
1201485052 Add the charset right after the type, before all other params, if there is no existing charset in the type. Bug 413974, r=biesi, sr=sicking, a=beltzner 2008-02-28 20:24:32 -08:00
jwalden@mit.edu
0ac722e734 Bug 417218 - nsStandardURL::SetPath does the wrong thing when the path is '/' and is being set to ''. r+sr=biesi, a=beltzner 2008-02-26 14:48:42 -08:00
jwalden@mit.edu
35761034ba Bug 414122 - Preprocess effective TLD data into C++ code (eliminate file I/O to read, move parsing out of C++, remove an arena, etc.). r=dwitte, sr=bsmedberg, a=blocker 2008-02-14 14:57:20 -08:00
jwalden@mit.edu
38eebf9225 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
reed@reedloden.com
23e398896c Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
reed@reedloden.com
db5d659dcd Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 01:00:59 -08:00
reed@reedloden.com
41073ec644 Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 00:51:29 -08:00
enndeakin@sympatico.ca
d23cbccf38 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
dwitte@stanford.edu
4b820329c8 Bug 409614 - IDN with non-ASCII TLD is displayed in Punycode. r+sr=biesi, a=damons 2008-01-28 22:06:01 -08:00
reed@reedloden.com
f5a03f70fc Disable sporatically failing test that bz enabled earlier due to oranges. 2008-01-28 21:33:21 -08:00
bzbarsky@mit.edu
da2e91ea7b Reenable the test on non-Windows. 2008-01-28 15:23:55 -08:00
mats.palmgren@bredband.net
24741d2e93 Make NS_ReadLine() not lie about having more data when the stream ends in \r\n. b=397850 r+sr=cbiesinger a=blocking1.9 2008-01-15 02:22:58 -08:00
reed@reedloden.com
51bd3e1d93 Fix necko's test_dns_service.js test to treat ::1 the same as 127.0.0.1 for DNS resolution of localhost in order to fix Mac unit test failure now that IPv6 is enabled (as per bug 408881). 2008-01-05 00:10:56 -08:00
dwitte@stanford.edu
08000dde11 add unit test for permission manager. 2007-12-04 23:23:14 -08:00
dwitte@stanford.edu
cae750362b add tests for bug 385299. 2007-12-04 18:45:40 -08:00
dwitte@stanford.edu
7dd07fec6d add unit test for bug 402013. 2007-12-04 18:28:37 -08:00
dwitte@stanford.edu
f9866e1a53 add unit test for bug 402013. 2007-12-04 17:03:08 -08:00
dwitte@stanford.edu
40c9289d49 relanding bug 385299 and updating tests. 2007-12-04 16:03:22 -08:00
bzbarsky@mit.edu
c3053199cd Disabling again for now 2007-12-03 16:23:44 -08:00
bzbarsky@mit.edu
0782d222e2 Assert that the channel succeeded, so if it fails we'll know 2007-12-03 15:44:07 -08:00
bzbarsky@mit.edu
722bd9fe27 Reenable test now that we have a higher timeout for Tunit 2007-12-03 13:47:54 -08:00
bzbarsky@mit.edu
d94f29ae56 Add a way to extract the charset and the position of the charset parameter from a content-type header. Use this in XMLHttpRequest to not clobber the non-charset parameters and not clobber the charset if it's already what we'll set, up to case. Apparently some broken servers are case-sensitive when looking at charsets! Bug 393968 (wherein the patch lies) and bug 397234, r+sr=biesi 2007-12-03 13:34:44 -08:00
bzbarsky@mit.edu
f51c876c4f Disable test for now. tbox sucks 2007-12-03 12:04:03 -08:00
bzbarsky@mit.edu
a051d516ec Sniff "text/plain; charset=UTF8" for possibly being binary. Bug 394647, r+sr=biesi 2007-12-03 10:37:54 -08:00
dwitte@stanford.edu
d4bd559e72 backing out the kitchen sink. 2007-11-19 02:15:55 -08:00
dwitte@stanford.edu
49b7bdb4ab temporarily disabling tests. 2007-11-18 23:08:46 -08:00
dwitte@stanford.edu
706d788fab relanding modified patch for bug 403372. 2007-11-18 00:08:34 -08:00
reed@reedloden.com
ffbf8516ba Back out dwitte's cookie monster patch (bug 403372) due to Tp regression. 2007-11-17 01:49:18 -08:00
dwitte@stanford.edu
43586c81e3 fix test. 2007-11-16 23:07:24 -08:00
dwitte@stanford.edu
d59473ccc8 relanding bug 403372. 2007-11-16 22:08:10 -08:00
reed@reedloden.com
8c2a42c27c Bug 400392 - "necko unit test test_reopen.js fails randomly on qm-centos5-01" [p=sylvain.pasche@gmail.com (Sylvain Pasche) r=biesi] 2007-11-08 00:23:51 -08:00
dwitte@stanford.edu
adf42e9219 commenting out failing test for now 2007-10-25 03:20:39 -07:00
dwitte@stanford.edu
91a72f29e8 rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz 2007-10-25 01:14:26 -07:00
edward.lee@engineering.uiuc.edu
470af407cb Bug 398069 - Don't cancel resume-from-0 transfers for HTTP 200 responses. r=biesi, sr= biesi, a=sayrer 2007-10-13 12:09:52 -07:00
bzbarsky@mit.edu
c3e4766585 Fixing typos 2007-10-07 11:45:50 -07:00
bzbarsky@mit.edu
be72e1d183 Adding test. 2007-10-07 11:18:22 -07:00
jwalden@mit.edu
f744e3e947 Update an obsolete comment in a NPOTB file. 2007-09-11 17:27:01 -07:00
jwalden@mit.edu
075a948f22 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
cbiesinger@gmx.at
bbeb79f283 add simple unit test for the dns service 2007-08-31 15:31:20 -07:00
cbiesinger@gmx.at
0ff9cf25bd add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag. r+sr+a=bz 2007-08-31 13:19:37 -07:00
cbiesinger@gmx.at
6ba1645463 more tests for nsIResumableChannel 2007-08-30 16:00:38 -07:00
cbiesinger@gmx.at
c5527cd9e4 393624 check for unexpected status codes when resuming downloads r+sr+a=bz 2007-08-24 17:47:54 -07:00
cbiesinger@gmx.at
2d641b20bd 263127 close the tempfile output stream before calling the observer patch by Wladimir Palant <trev.moz@adblockplus.org> r=biesi sr=darin 2007-08-24 17:26:18 -07:00
cbiesinger@gmx.at
f6e7bbb1b6 move Listener and read_stream to its own head file so that it can be reused by other tests 2007-08-24 11:08:37 -07:00
jwalden@mit.edu
a3ea5d6c54 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
rflint@ryanflint.com
2da85be550 Bug 339964 - move tabbrowser.xml out of mozilla/toolkit and into mozilla/browser. Patch by Stefan <stefanh@bluebottle.com> and myself, r=mconnor 2007-08-22 14:02:02 -07:00
cbiesinger@gmx.at
08b049e2ba Bug 391951 don't strip escaped spaces for non-base64 data URIs r+sr=bz 2007-08-21 10:28:22 -07:00
cbiesinger@gmx.at
b5a1f780d7 390126 unescape the URL before compressing whitespace r+sr=bz 2007-08-10 12:52:50 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00