Commit Graph

405 Commits

Author SHA1 Message Date
mats.palmgren@bredband.net
c2add0c2b0 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-09 22:17:29 -08:00
reed@reedloden.com
14b13c3abf Bustage fix with some unnecessary whitespace removals. 2008-01-07 22:20:30 -08:00
reed@reedloden.com
58af3e8fc7 Bug 411119 - "Re-enabling IPv6 on mac breaks SOCKS support for localhost" [p=david@luyer.net (David Luyer) r+sr=biesi a=blocking1.9+] 2008-01-07 22:10:53 -08:00
reed@reedloden.com
47d6fc40f1 Bug 392802 - "File listings very hard to read" [p=dao@mozilla.com (Dão Gottwald) r=Mano sr=bzbarsky ui-r=beltzner a=blocking-firefox3+] 2008-01-07 15:15:37 -08:00
dwitte@stanford.edu
79a37b5b96 relanding fix for bug 262116 that got accidentally backed out by previous landing. 2008-01-05 17:07:16 -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
sdwilsh@shawnwilsher.com
620f6afe91 Bug 410131 - DM isn't buffering writes when saving a file. r=biesi, sr=bz 2008-01-04 09:55:02 -08:00
dwitte@stanford.edu
61c159a4e6 tweak the NS_ReadLine buffer up to 4096 bytes. b=410264, r+sr=biesi, a=schrep 2008-01-03 16:27:38 -08:00
dwitte@stanford.edu
c85305535f remove NS_WARNING to reduce debug spew. debug-only change. 2008-01-02 13:16:53 -08:00
reed@reedloden.com
9773aa24f0 Bug 84945 - "nsDiskCacheMap::ReadDiskCacheEntry should use a cached buffer" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=dcamp sr=biesi a=blocking1.9+] 2007-12-28 20:22:54 -08:00
dwitte@stanford.edu
cb79345994 interface tweak i forgot to make when checking in fix for bug 402013. 2007-12-17 21:31:32 -08:00
dwitte@stanford.edu
bc1aa20f44 fix documentation error. 2007-12-14 21:28:44 -08:00
wtc@google.com
018168f5c4 Bug 337418: added a generation count for the addr_info field of nsHostRecord to detect the change of addr_info and invalidate addr_info's iterator, and added a lock to protect access to the addr_info and addr_info_gencnt fields. r=cbiesinger,sr=bzbarsky blocking1.9+ Modified files: nsDNSService2.cpp nsHostResolver.cpp nsHostResolver.h 2007-12-11 13:45:42 -08:00
vladimir@pobox.com
e47363e296 bustage fix 2007-12-07 14:18:13 -08:00
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
cbiesinger@gmx.at
bbaf727b9d fix typo in comment 2007-08-24 18:30:39 -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
9e650fe930 393622 add logging to HTTP channel resuming code r+sr+a=bz 2007-08-24 16:17:07 -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
Olli.Pettay@helsinki.fi
ef1921544a Bug 392760, Provide keyboard-accessibility for sorting headers FTP/File/Jar/Gopher dir listing, p=dao@design-noir.de, r+sr+a=bz 2007-08-24 03:12:46 -07:00
bzbarsky@mit.edu
9b91a1f373 Relanding patch for bug 137155 on trunk because we think it may be OK now. Patch by darin, r+sr=bzbarsky+biesi, a=bzbarsky 2007-08-23 18:45:23 -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
bzbarsky@mit.edu
1754128843 Make Suspend() work on an HTTP channel if called right after AsyncOpen. Bug 392837, r+sr=biesi, a=bzbarsky 2007-08-23 11:56:12 -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
c118d40021 392428 always consider IP addresses valid hostnames r+sr+a=bz 2007-08-21 10:14:47 -07:00
bzbarsky@mit.edu
a65e95ce03 Make <object> do the same text/plain sniffing that <iframe> does, and use the content type hint if the type comes back as application/octet-stream or sniffed-binary. Bug 389677, r+sr=biesi, a=sicking 2007-08-20 20:26:12 -07:00
dmose@mozilla.org
91643370ed Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-08-20 17:47:47 -07:00
dtownsend@oxymoronical.com
7daec3138e Bug 341472: ship with fewer security warnings showing by default. p=Adam Guthrie <ispiked@gmail.com>, r=darin.moz@gmail.com, ui-r=beltzner, a=wanted-firefox3 2007-08-20 07:22:42 -07:00
bent.mozilla@gmail.com
7980ed1622 Bug 392657 - Fix typo in comment. 2007-08-19 21:06:58 -07:00
bent.mozilla@gmail.com
0e2d2d7720 Bug 392657 - "'ASSERTION: QueryInterface needed', nsURIChecker missing nsIRequestObserver in QI map". r+sr=biesi, a=bz. 2007-08-19 20:19:11 -07:00
jwalden@mit.edu
75b11a995d Bug 294800 - Beautify FTP/File/Jar/Gopher dir listings (CSS, icons, sortable columns) so that they don't look like they're from 1995. (Ooh, shiny!) Patch by Dao Gottwald <dao@design-noir.de>, r+sr=bz, r=mano, a=dsicore 2007-08-17 15:57:36 -07:00
cbiesinger@gmx.at
2a39fb4759 Bug 390082 make sure to make data connections to the same IP address as the control connection r+sr+a=bz 2007-08-15 17:15:53 -07:00
mrbkap@gmail.com
1f8de346fe Make XPCSafeJSObjectWrapper usage in PAC actually work correctly for the common case. bug 391515, r=jst sr+a=brendan 2007-08-15 14:16:52 -07:00
sdwilsh@shawnwilsher.com
d98abd5a78 Bug 391279 - Allow createInstance to work for web handlers. r=cbiesinger, sr=dmose 2007-08-14 09:47:41 -07:00
myk@mozilla.org
b91c618d6f bug 385740: support multiple apps per nsIHandlerInfo via a new nsIHandlerInfo::possibleApplicationHandlers attribute; r=biesi, sr=dmose 2007-08-13 13:41:34 -07:00
cbiesinger@gmx.at
b5a1f780d7 390126 unescape the URL before compressing whitespace r+sr=bz 2007-08-10 12:52:50 -07:00
mrbkap@gmail.com
10a72405d4 Make XPCSafeJSObjectWrapper easier to use by not throwing for primitive values passed to the constructor. Use it in more places in PAC. bug 388450, r=crowder sr=brendan a=bzbarsky 2007-08-07 18:49:49 -07:00
cbiesinger@gmx.at
544402e066 388523 make sure to call OnStartRequest even when we have a pending auth retry and the channel has been cancelled in the meantime r+sr=bz 2007-08-07 13:09:25 -07:00
bzbarsky@mit.edu
1d0c1e1468 Fix crash if the channel gets canceled too early. Bug 390938, r+sr=biesi 2007-08-06 18:59:10 -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
benjamin@smedbergs.us
b781252802 Bug 389671 - CVS remove old suite-style multi-profile code which is not used anymore, r=luser (NPOB except for removing build-system references to files/options) 2007-08-02 11:43:30 -07:00
sdwilsh@shawnwilsher.com
e50a443cd2 Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep 2007-07-30 16:33:16 -07:00
cbiesinger@gmx.at
4afa23fd6d 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc
2007-07-26 19:40:45 -07:00
dwitte@stanford.edu
fbe6d69937 followup bustage-related fix for bug 386154, r+sr=biesi, a=gavins for checkin to closed tree 2007-07-26 11:42:54 -07:00
dwitte@stanford.edu
947de4b75b fixing bustage. 2007-07-26 01:55:53 -07:00
dwitte@stanford.edu
faeb488a77 rework etld backend to use a flat hash instead of a tree-hash structure, to reduce memory consumption and eliminate shutdown leaks. bugs 386154 and 386155,
r=biesi
2007-07-25 23:31:49 -07:00
dcamp@mozilla.com
d0e325d71c properly delete old files during an offline cache update. b=389591, r+sr=biesi 2007-07-25 17:47:33 -07:00
kaie@kuix.de
931bb87869 Bug 382223, Add support for Camellia to PSM
Patch contributed by okazaki
r=kengert
2007-07-25 15:53:30 -07:00
myk@mozilla.org
58273b5215 bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-25 13:40:41 -07:00
bzbarsky@mit.edu
1e0b05ffcf Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -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
sharparrow1@yahoo.com
2274f05553 Bug 388245: Remove NS_IMPL_THREADSAFE* macros from netwerk/streamconv. r+sr=biesi 2007-07-25 09:22:27 -07:00
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
cbiesinger@gmx.at
9ae7c9de67 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
dmose@mozilla.org
ee90fd6056 Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage. 2007-07-24 16:38:29 -07:00
myk@mozilla.org
388545f1a3 bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-24 13:29:50 -07:00
bzbarsky@mit.edu
dc8de3f8f7 Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
mats.palmgren@bredband.net
8059d478b7 Don't clobber 'pos' in the inner loops since we might need it again for the outer loop. b=388424 r=cbiesinger sr=bzbarsky 2007-07-22 06:15:38 -07:00
cbiesinger@gmx.at
58c915e6bf Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -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
dmose@mozilla.org
f17228f4ff Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi 2007-07-17 15:59:58 -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
dwitte@stanford.edu
88b3d4896c Use getters and setters for database schema version. b=386369, p=sdwilsh, r=dwitte, sr=biesi. 2007-07-16 14:05:35 -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
dveditz@cruzio.com
3745d28e95 bug 383478 deal with %00 in file urls, r=bz,darin 2007-07-12 16:04:24 -07:00
jwalden@mit.edu
af5688aa77 Back out bug 386635; it broke restoring sessions in the browser. 2007-07-12 12:11:45 -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
mrbkap@gmail.com
fcde0538ee Always return XPCSafeJSObjectWrappers from Components.utils.Sandbox and evalInSandbox. This makes this interface much, much easier to use safely, as the wrapper takes care of several common problems that occur when touching regular JS objects directly. bug 386635, r=jst sr=brendan 2007-07-11 15:52:28 -07:00
dwitte@stanford.edu
97665dc2d0 add unit tests for previous checkin. 2007-07-10 20:28:01 -07:00
dwitte@stanford.edu
31d7ad3b22 web content can set httponly cookie by overwriting a non-httponly one. b=387543, p=dveditz, r=dwitte, sr=mconnor. 2007-07-10 20:21:07 -07:00
dcamp@mozilla.com
41ad48abf4 implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst 2007-07-08 15:15:51 -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
sdwilsh@shawnwilsher.com
25025ee30f Bug 333848 - add full-featured user-defined functions and progress handlers to storage. Patch by Lev Serebryakov <blacklion@gmail.com>. r=cbiesinger, sr=cbiesinger 2007-07-07 14:14:56 -07:00
dmose@mozilla.org
d28396462d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking 2007-07-05 12:31:44 -07:00
timeless@mozdev.org
e427f99df5 Bug 386614 Crash [@ nsSocketTransportService::Shutdown] when toggling offline/online in 2 frames
guarding against reentrancy from thread shutdown processing events waiting for thread join.
r=biesi sr=biesi
2007-07-04 12:33:57 -07:00
benjamin@smedbergs.us
75dc0cfd4c Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
bent.mozilla@gmail.com
a099577eae Bug 386233 - "Content sniffers not always run depending on cache state". r+sr=biesi. 2007-07-02 11:16:52 -07:00
benjamin@smedbergs.us
5ebfce3c70 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us
bd5749568a Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
dwitte@stanford.edu
1ad6eb2554 remove nsICookieServiceInternal. b=384990, r+sr=biesi 2007-06-26 03:41:58 -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
1543d48f1b removing redeclaration, r+sr+ui-r+a=sdwilsh 2007-06-25 22:28:25 -07:00
dwitte@stanford.edu
8afd980244 fix typo from storage checkin. 2007-06-25 22:10:33 -07:00
dcamp@mozilla.com
0aefd90a7f Properly disable caches on profile shutdown. b=380968, r+sr=biesi 2007-06-25 20:25:31 -07:00
mrbkap@gmail.com
958e1a6be0 Fix typo introduced by bug 374071 original changes r=crowder sr=darin. 2007-06-24 22:23:48 -07:00
asqueella@gmail.com
7cb7471f2a Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi
2007-06-21 13:18:25 -07:00
mrbkap@gmail.com
c2eb204370 Switch over to using XPCSafeJSObjectWrapper instead of trying to write it ourselves. bug 374071, r=crowder sr=darin 2007-06-21 11:56:37 -07:00
dwitte@stanford.edu
e55450dea9 remove p3p hooks from cookies. b=383994, r=timeless, sr=biesi 2007-06-20 22:17:08 -07:00
bzbarsky@mit.edu
8e3788dec7 Fix assertion to not fire when it shouldn't. Bug 303003, patch by Radek
'sysKin' Czyz <syskin@syskin.cjb.net>, r=alfredkayser@nl.ibm.com, sr=biesi
2007-06-18 08:24:17 -07:00
dwitte@stanford.edu
b85020d757 missed this file in previous checkin. 2007-06-17 17:01:10 -07:00
dwitte@stanford.edu
703d65b306 rev nsICookieManager2 interface to allow adding httpOnly cookies, and update consumers to match. b=379408, r+sr=biesi. 2007-06-17 16:40:40 -07:00
dwitte@stanford.edu
7e8c0cc18e switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.
2007-06-17 14:52:22 -07:00
kherron@fmailbox.com
8d9db0e22f 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
1d2c79b900 removing unused p3p-related files. 2007-06-16 17:42:13 -07:00
kherron@fmailbox.com
3ef7e96849 Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc. 2007-06-16 12:53:59 -07:00