Commit Graph

291 Commits

Author SHA1 Message Date
vladimir@pobox.com
6caedf93d9 b=406849, SetCacheAsFile(true) on memory-cached loads is broken, patch from bz, r+sr=bisei, a=schrep 2007-12-07 14:07:03 -08:00
dwitte@stanford.edu
08000dde11 add unit test for permission manager. 2007-12-04 23:23:14 -08:00
dwitte@stanford.edu
d60af8c14d move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+. 2007-12-04 22:37:36 -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
roc+@cs.cmu.edu
64adc7a6ff Bug 404870. Avoid read access to mThread racing with setting mThread to null (which could crash). Also, detect when the thread is no longer accepting events and treat it as the thread not being there anymore in nsSocketTransportService::Dispatch. 2007-12-04 18:18:58 -08:00
reed@reedloden.com
71cf46134c Bug 401718 - "[UA] Remove Mach-O from UA on PPC" [p=reed r=dbaron r=mento sr=biesi a1.9=damons] 2007-12-04 17:07:00 -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
dwitte@stanford.edu
b8694550dd backing out due to orange 2007-12-04 15:02:24 -08:00
dwitte@stanford.edu
a45f4e89bb Bug 385299 - use eTLD in cookies (stop sites setting cookies for the entire ".co.uk" domain). r=dveditz, sr=mconnor, blocking1.9+ 2007-12-04 14:26:42 -08:00
dwitte@stanford.edu
f0ccc3d5fe Bug 402013 - improve normalization behavior of nsIEffectiveTLDService. r+sr=biesi, a=mconnor 2007-12-04 13:57:31 -08:00
kaie@kuix.de
aaa7739fe8 Attempting to fix tinderbox bustage from bug 378241 2007-12-04 11:38:27 -08:00
kaie@kuix.de
e64d67a61b Bug 378241, Changes from bug 107491 lead to tons of thread-safety asserts r=rrelyea, r=wtc, sr=benjamin, blocking1.9=benjamin 2007-12-04 10:53:14 -08:00
dwitte@stanford.edu
c35938c835 relanding 402008. 2007-12-03 22:30:47 -08:00
dwitte@stanford.edu
5474394150 backing out due to orange. 2007-12-03 18:46:02 -08:00
dwitte@stanford.edu
103a419fdf Bug 402008 - expose nsIURI::GetHost() "display normalization" behavior on nsIIDNService. r+sr=biesi, a=dsicore 2007-12-03 18:24:53 -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
cbiesinger@gmx.at
17e811bbbe 345181 cache SSL content that was sent with a Cache-Control: public header to disk r+sr=darin 2007-11-30 10:09:05 -08:00
cbiesinger@gmx.at
1e54b36be6 bug 262116 make disk cache serialize/deserialize the security info, if present also make nsNSSSocketInfo serializable PSM part: r=kaie sr=darin rest: r+sr=darin 2007-11-30 10:05:54 -08:00
gerv@gerv.net
7053aaa316 Bug 403052 - switch mozTXTToHTMLConv to standard tri-licence. Thanks to benb for permission to do so. Patch by gerv; r=beltzner. 2007-11-28 02:16:54 -08:00
dcamp@mozilla.com
911a5b2bb9 Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -08:00
reed@reedloden.com
c6d06df230 Bug 373623 - "Unicode … should be used instead of three separate dots: ..." (browser locales) [p=hendrik.maryns@uni-tuebingen.de (Hendrik Maryns) r=mconnor a1.9=beltzner] 2007-11-26 18:44:44 -08:00
gavin@gavinsharp.com
1e17cef233 Bug 403480: make it impossible to set nsIURI::port to it's default value, r+sr=biesi, a=schrep 2007-11-26 16:51:57 -08:00
sdwilsh@shawnwilsher.com
9223b5a23c Bug 401174 - Allow how exthandler adds downloads to history to be overridden. r=biesi, sr=bz, a=mconnor 2007-11-23 12:20:41 -08:00
dwitte@stanford.edu
d4bd559e72 backing out the kitchen sink. 2007-11-19 02:15:55 -08:00
dwitte@stanford.edu
3c7720c189 still investigating mac Tp impact. 2007-11-19 01:08:07 -08:00
dwitte@stanford.edu
587df3075f back out change. 2007-11-18 23:26:36 -08:00
dwitte@stanford.edu
49b7bdb4ab temporarily disabling tests. 2007-11-18 23:08:46 -08:00
dwitte@stanford.edu
c9db978573 investigating orange. 2007-11-18 22:41:53 -08:00
dwitte@stanford.edu
706d788fab relanding modified patch for bug 403372. 2007-11-18 00:08:34 -08:00
jwalden@mit.edu
a9b2dc0526 Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
dwitte@stanford.edu
539f79ae83 relanding teeny tiny part of patch to investigate Tp impact 2007-11-17 03:05:01 -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
dwitte@stanford.edu
774846d1ce backing out to fix orange. 2007-11-16 19:40:34 -08:00
dwitte@stanford.edu
65a58cba29 leash up the cookiemonster (cookie eviction should be in lastaccessed order, bug 403372). r=sdwilsh, sr=shaver. also includes unnecessary code removal fix by Marco Bonardo (mak77@supereva.it), bug 403767. 2007-11-16 18:54:51 -08:00
dwitte@stanford.edu
af89b9cfcd updating comment to address review comments in bug 397238. 2007-11-13 17:36:54 -08:00
neil@parkwaycc.co.uk
9a9c281154 Bug 397238 Expose cookie import code so that profile migration doesn't have to duplicate it r=dwitte sr=biesi a=mtschrep 2007-11-12 01:28:22 -08:00
reed@reedloden.com
c0f3066da1 Bug 382849 - "Wrong gzip comment process in HTTP Compress converter" [p=solar@netease.com (Solar) r=bzbarsky sr=biesi a1.9=sayrer] 2007-11-08 23:47:11 -08:00
bzbarsky@mit.edu
b336aef6a6 Fix leak bug 391978. r=biesi, sr=dmose, a=sayrer 2007-11-08 22:13:26 -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
reed@reedloden.com
a25c74879a Bug 391855 - "FTP directory URL without a trailing slash can result in files being uploaded to the wrong place" [p=wgianopoulos@yahoo.com (Bill Gianopoulos) r=dougt sr=biesi aM9=beltzner] 2007-11-05 13:02:52 -08:00
dwitte@stanford.edu
fdb7f13e8a Bug 402395 - Dangling semi-colon caused when "ac_add_options --disable-logging" throws warning in VS2005. patch by Masayuki Nakano (masayuki@d-toybox.com), r=dwitte, sr=bsmedberg, a=beltzner for M9. 2007-11-05 11:29:12 -08:00
dwitte@stanford.edu
50bafc5659 bustage fix for bug 401998. 2007-11-02 19:15:47 -07:00
dwitte@stanford.edu
ad951d770a add logging coverage for cookie eviction and db operations. b=401998, r+sr=mconnor, a=beltzner 2007-11-01 15:34:16 -07:00
reed@reedloden.com
eeaeef5a63 Bug 398718 - "Better explanatory text for SSL error pages" [p=kaie/johnath r=rrelyea r=biesi a=blocking1.9+ for M9] 2007-10-30 13:26:25 -07:00
dtownsend@oxymoronical.com
0b4a82cad1 Bug 400089: Include major OS revision for Mac OS X UA. r=mark@moxienet.com sr=cbiesinger@gmx.at a=beltzner@mozilla.com 2007-10-30 08:47:30 -07:00
dwitte@stanford.edu
adf42e9219 commenting out failing test for now 2007-10-25 03:20:39 -07:00
dwitte@stanford.edu
0a3a7b0677 rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz 2007-10-25 01:24:13 -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
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
dmose@mozilla.org
d2176f0f87 Fix web-based protocol handlers not working from Send Link and certain other situations (bug 394483), r=biesi, r=gavin (browser portion), sr=sicking, a=beta blocker 2007-10-23 11:20:56 -07:00
reed@reedloden.com
5b7c6fe237 Bug 348808 - "use application selector instead of file selector dialog when picking helper apps" [p=jimm r=dolske r=rob_strong r=myk r=biesi a=blocking-firefox3+ for M9] 2007-10-18 21:15:41 -07:00
reed@reedloden.com
f4aa1d8d05 Bug 396959 - "Eliminate nsHttpHandler caching of nsICacheSession pointers" [p=mike.tsao+moz@gmail.com (Mike Tsao) r+sr=biesi a1.9=sayrer] 2007-10-13 14:35:11 -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
reed@reedloden.com
f0822cc72e Bustage fix for bug 398895. 2007-10-12 21:54:07 -07:00
reed@reedloden.com
99b454c888 Bug 398895 - "about:bloat should only be built if trace-refcnt logging is built" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr=bzbarsky a1.9=sayrer] 2007-10-12 21:03:49 -07:00
reed@reedloden.com
f60da8dc70 Bug 398414 - "in file listings front-end code, build the gRows array lazily" [p=dao r+sr=bzbarsky a1.9=sayrer] 2007-10-12 21:00:58 -07:00
sdwilsh@shawnwilsher.com
723a99fa54 Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=kaie, sr=rrelyea, a=blocking1.9 2007-10-12 15:48:07 -07:00
sdwilsh@shawnwilsher.com
04d4d5267a Full backout of Bug 369428 2007-10-12 08:30:45 -07:00
sdwilsh@shawnwilsher.com
82e9ccc64f Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=kaie, sr=rrelyea, a=blocking1.9 2007-10-12 06:00:57 -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
dwitte@stanford.edu
fdeb6309d5 fix debug compile error in nsCookie.h. b=394243, r+sr=biesi, a=mconnor 2007-10-04 12:24:00 -07:00
dmose@mozilla.org
9474dbc670 First part of fix for web-based protocol handlers failing in certain situations (bug 394483); r=biesi, sr=sicking 2007-10-03 23:10:47 -07:00
dbaron@dbaron.org
c5d13d4123 Delete gVolumeList on shutdown. b=397305 r+sr+a1.9=bzbarsky 2007-10-02 15:26:53 -07:00
bzbarsky@mit.edu
95f84938f7 Fix leak of PRAddrInfos. Bug 397716, r+sr=biesi, a=bsmedberg 2007-09-28 07:43:03 -07:00
bzbarsky@mit.edu
12bb6b8b24 Fix nsStandardURL serialization/deserialization to properly restore all state. Bug 396389, r+sr=biesi, a=bsmedberg 2007-09-17 15:23:12 -07:00
sdwilsh@shawnwilsher.com
04b8be39d6 Bug 395539 - FTP TransportStatus's progressMax reports the full file size for REST retrieval (resuming partial download). Patch by Edward Lee <edilee@gmail.com>. r=cbiesinger, sr=cbiesinger, a=bzbarsky 2007-09-17 13:35:11 -07:00
bzbarsky@mit.edu
790d73fc3c When sniffing text/plain and we decide it's really text/plain, just claim the sniffer didn't find a type, so that other sniffers get a crack at it. Bug 395533, r+sr=biesi, a=bsmedberg 2007-09-17 08:53:57 -07:00
cbiesinger@gmx.at
a32fca7a21 bug 395205 correctly check whether we are resuming and don't open a cache entry if so r=darin sr=dmose a=blocking1.9 2007-09-16 07:37:17 -07:00
reed@reedloden.com
0778c80e11 Bug 393681 - "New file listing makes very poor use of space, truncates filenames all over" [p=dao@design-noir.de (Dão Gottwald) r=bzbarsky r=Mano sr=bzbarsky a=blocking1.9] 2007-09-15 19:14:13 -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
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
timeless@mozdev.org
efb38e3198 Bug 392649 https add-on install from filepicker crashes [@ net_GetURLSpecFromFile] r=biesi sr=biesi a=bz 2007-09-05 03:22:42 -07:00
myk@mozilla.org
173de02b64 bug 393492: move mimeTypes.rdf datasource access code from nsExternalHelperAppService.cpp to nsHandlerService.js, fixing bug 393500 (auto-add preferred handler to possible handlers when retrieving them, since they won't be in there already on legacy datasources) in the process; r=biesi; sr=dmose; a=bsmedberg for 1.9 2007-09-04 13:45:57 -07:00
dwitte@stanford.edu
1bba2a6417 tweak documentation for countCookiesFromHost. b=394460, npob. 2007-09-03 19:07:23 -07:00
dmose@mozilla.org
b3b2ff44a4 Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz 2007-09-02 21:44:25 -07:00
dwitte@stanford.edu
dfaf3cb531 no change in private bytes; adding back change. 2007-09-02 20:03:41 -07:00
dwitte@stanford.edu
c1a982c70d backing out previous change temporarily per bug Bug 390856. 2007-09-02 18:10:41 -07:00
asqueella@gmail.com
e60a728db9 Bug 392807 - Severe performance degradation loading file listings p=Dao Gottwald <dao@design-noir.de> r+sr+a=bz 2007-09-02 15:19:10 -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
e507924848 394242 improve the comments on some necko APIs r+sr+a=bz 2007-08-31 13:23:31 -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
3ebfcbdaaf 389719 always release notification callbacks/progress sink r+sr+a=bzbarsky 2007-08-31 12:44:17 -07:00
cbiesinger@gmx.at
6ba1645463 more tests for nsIResumableChannel 2007-08-30 16:00:38 -07:00
sharparrow1@yahoo.com
ac7507a0ed Bug 391915: Don't use atoms from nsCacheMetaData because atoms aren't threadsafe. r+sr=biesi, a=blocking1.9 2007-08-30 10:51:07 -07:00
cbiesinger@gmx.at
fbd8b74b6f 392282 don't allow opening cache entries after the cache service has shut down r+sr+a=bz 2007-08-28 15:05:32 -07:00
sdwilsh@shawnwilsher.com
0337ffd116 Bug 389575 - Add WARNINGS_AS_ERRORS compile time flag. r=bsmedberg NPOTFB. 2007-08-28 09:02:43 -07:00
jag@tty.nl
5a3e626f5a s/NS_INTERFACE_MAP_END_THREADSAFE/NS_INTERFACE_MAP_END/. Should've been done for bug 201040. rs=biesi, a=dbaron 2007-08-27 23:11:34 -07:00
wtc@google.com
53c533617a Bug 213637: code cleanup: use nsAutoLock instead of manually calling PR_Lock/PR_Unlock, and removed mThreadEventLock. r=biesi Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h 2007-08-26 13:14:57 -07:00
philringnalda@gmail.com
a6f16f54fd Bug 392718 - With beautified ftp listings, long filenames are truncated, making them hard to read, patch by Dão Gottwald <dao@design-noir.de>, r+sr+a1.9=bz 2007-08-25 20:20:24 -07:00