Commit Graph

646 Commits

Author SHA1 Message Date
Gavin Sharp
80d3ee2d0b 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
b4cb02752a 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
4a7d100e87 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
98df352028 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
3f820e496f 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
6d17efda5c 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
b31d75638a 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
fdaf80a1da 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
a3951b7319 Bug 427831 - CHECK FAILED: file.txt == CVS/ -- no more CVS! r=waldo 2008-04-09 00:07:04 -04:00
reed@reedloden.com
5f32285909 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
0879147ce9 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
b0e4df4591 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
7f880e43ef reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
022712406a 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
5d7f3c8860 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
85e49a64d5 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
bzbarsky@mit.edu
d1c1513392 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
1ae0e06fc9 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
2f3c57196e 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
fb2be9e261 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
466b0b1204 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
60a78bf021 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
e599e0db22 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
a425bb001a Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
dwitte@stanford.edu
753fd12a8c 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
3a415c0373 Disable sporatically failing test that bz enabled earlier due to oranges. 2008-01-28 21:33:21 -08:00
bzbarsky@mit.edu
7f6c0e2289 Reenable the test on non-Windows. 2008-01-28 15:23:55 -08:00
mats.palmgren@bredband.net
822959cac3 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
2762f3e984 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
46ff4480e1 add unit test for permission manager. 2007-12-04 23:23:14 -08:00
dwitte@stanford.edu
a9d75820d2 add tests for bug 385299. 2007-12-04 18:45:40 -08:00
dwitte@stanford.edu
eaf4410e8d add unit test for bug 402013. 2007-12-04 18:28:37 -08:00
dwitte@stanford.edu
1aafbabf61 add unit test for bug 402013. 2007-12-04 17:03:08 -08:00
dwitte@stanford.edu
7bd985d01b relanding bug 385299 and updating tests. 2007-12-04 16:03:22 -08:00
bzbarsky@mit.edu
008e1cb0ae Disabling again for now 2007-12-03 16:23:44 -08:00
bzbarsky@mit.edu
687f4af4c6 Assert that the channel succeeded, so if it fails we'll know 2007-12-03 15:44:07 -08:00
bzbarsky@mit.edu
80962d0003 Reenable test now that we have a higher timeout for Tunit 2007-12-03 13:47:54 -08:00
bzbarsky@mit.edu
6749e64aee 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
b56cb69be0 Disable test for now. tbox sucks 2007-12-03 12:04:03 -08:00
bzbarsky@mit.edu
2d30b73b8d 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
c724dec6e0 backing out the kitchen sink. 2007-11-19 02:15:55 -08:00
dwitte@stanford.edu
7c281927e9 temporarily disabling tests. 2007-11-18 23:08:46 -08:00
dwitte@stanford.edu
43b6bbdb77 relanding modified patch for bug 403372. 2007-11-18 00:08:34 -08:00
reed@reedloden.com
11ea01beb7 Back out dwitte's cookie monster patch (bug 403372) due to Tp regression. 2007-11-17 01:49:18 -08:00
dwitte@stanford.edu
7db438590d fix test. 2007-11-16 23:07:24 -08:00
dwitte@stanford.edu
86d8ae1d8b relanding bug 403372. 2007-11-16 22:08:10 -08:00
reed@reedloden.com
be65c586ff 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
0cced53068 commenting out failing test for now 2007-10-25 03:20:39 -07:00
dwitte@stanford.edu
aa18a20ec3 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
a89e870995 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
98998d69ec Fixing typos 2007-10-07 11:45:50 -07:00
bzbarsky@mit.edu
91f434e23f Adding test. 2007-10-07 11:18:22 -07:00
jwalden@mit.edu
6cc8532d6c Update an obsolete comment in a NPOTB file. 2007-09-11 17:27:01 -07:00
jwalden@mit.edu
be51636b0d 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
a394544602 add simple unit test for the dns service 2007-08-31 15:31:20 -07:00
cbiesinger@gmx.at
63b56fc006 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
64c078977d more tests for nsIResumableChannel 2007-08-30 16:00:38 -07:00
cbiesinger@gmx.at
31c7abc259 393624 check for unexpected status codes when resuming downloads r+sr+a=bz 2007-08-24 17:47:54 -07:00
cbiesinger@gmx.at
5ef60110f2 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
46f6162c1f 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
83ffd0f377 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
a8d0fa5f4e 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
570c4ed4fb 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
f48a6700bf 390126 unescape the URL before compressing whitespace r+sr=bz 2007-08-10 12:52:50 -07:00
ginn.chen@sun.com
d0ed3cca65 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
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