Commit Graph

68 Commits

Author SHA1 Message Date
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
enndeakin@sympatico.ca
4ada13e2d9 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
b9d07173a5 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
28323d5173 Make SetPort actually update the internal offsets correctly. Bug 388281, r+sr=biesi 2007-07-16 21:48:47 -07:00
dwitte@stanford.edu
ca97f9c4a8 add cookie tests for creation time ordering and eviction. 2007-07-16 14:06:55 -07:00
jwalden@mit.edu
bfd8039d8a 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
e56925513a Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
7c3f8e2c1c 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
76bb7db098 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
97665dc2d0 add unit tests for previous checkin. 2007-07-10 20:28:01 -07:00
jwalden@mit.edu
e3c4baccae 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
f03c281249 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
b85020d757 missed this file in previous checkin. 2007-06-17 17:01:10 -07:00