Commit Graph

5541 Commits

Author SHA1 Message Date
mrbkap@gmail.com
a9f1777416 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
81d05d6ecf 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
6e5bc45402 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
d0ed3cca65 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
f2b2525026 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
09e384652c 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
44e169b508 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
af101a819c 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
bd219dab6c fixing bustage. 2007-07-26 01:55:53 -07:00
dwitte@stanford.edu
4e978ce217 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
cb525f24f0 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
5b82067aa4 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
236dc4d488 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
5fda0c5d00 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
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
sharparrow1@yahoo.com
7ff3d6cb49 Bug 388245: Remove NS_IMPL_THREADSAFE* macros from netwerk/streamconv. r+sr=biesi 2007-07-25 09:22:27 -07:00
dcamp@mozilla.com
0cac14e210 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
5e7a58ed01 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
5412d34bc5 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
dmose@mozilla.org
bdec3dea6b 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
d97160dca2 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
429a656eaf 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
65425b3598 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
0fdb87f45b 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
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
dmose@mozilla.org
8753e89bc4 Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi 2007-07-17 15:59:58 -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
dwitte@stanford.edu
e53b738eb3 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
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
dveditz@cruzio.com
a9712ad6f2 bug 383478 deal with %00 in file urls, r=bz,darin 2007-07-12 16:04:24 -07:00
jwalden@mit.edu
db38a1aa8a Back out bug 386635; it broke restoring sessions in the browser. 2007-07-12 12:11:45 -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
mrbkap@gmail.com
9bd0cdbe4b 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
a06fef8172 add unit tests for previous checkin. 2007-07-10 20:28:01 -07:00
dwitte@stanford.edu
d4eda07129 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
95ba46800c implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst 2007-07-08 15:15:51 -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
sdwilsh@shawnwilsher.com
c94d0a239c 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
ec036ba262 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
71bc9a4a03 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
f1593a410c 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
d16e5a9bee 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
b21f7b3a04 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us
c93d1d5be6 Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
dwitte@stanford.edu
bb15ff449a remove nsICookieServiceInternal. b=384990, r+sr=biesi 2007-06-26 03:41:58 -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
22d4d91046 removing redeclaration, r+sr+ui-r+a=sdwilsh 2007-06-25 22:28:25 -07:00
dwitte@stanford.edu
ed30e5a43f fix typo from storage checkin. 2007-06-25 22:10:33 -07:00
dcamp@mozilla.com
18c9fcb0a2 Properly disable caches on profile shutdown. b=380968, r+sr=biesi 2007-06-25 20:25:31 -07:00
mrbkap@gmail.com
7b0d08e972 Fix typo introduced by bug 374071 original changes r=crowder sr=darin. 2007-06-24 22:23:48 -07:00
asqueella@gmail.com
de27b937fa 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
f9741f2e19 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
b28806e2c6 remove p3p hooks from cookies. b=383994, r=timeless, sr=biesi 2007-06-20 22:17:08 -07:00
bzbarsky@mit.edu
d9d2951fb4 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
6d2c342bb5 missed this file in previous checkin. 2007-06-17 17:01:10 -07:00
dwitte@stanford.edu
341f5cae54 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
5493e24575 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
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
kherron@fmailbox.com
d04e5ca122 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
mrbkap@gmail.com
f4030a0ebc Backing out to fix orange. 2007-06-14 17:46:26 -07:00
mrbkap@gmail.com
928f23d72d Switch over to using XPCSafeJSObjectWrapper instead of trying to write it ourselves. bug 374071, r=crowder sr=darin 2007-06-14 16:22:27 -07:00
sdwilsh@shawnwilsher.com
c480db976f Bug 383786 - nsIOService uses an Init method when it doesn't need to. Patch by Ryan Jones <sciguyryan@gmail.com>. r=bzbarsky sr=cbiesinger 2007-06-10 17:01:48 -07:00
kaie@kuix.de
30adde7d1d Bug 110161, enable OCSP by defaultr=cbiesinger, sr=mconnor 2007-06-05 12:27:42 -07:00
rflint@ryanflint.com
03f6ae482c Bug 382373 - NS_ERROR_NOT_RESUMABLE and NS_ERROR_FTP_LIST are the same value (25). Patch by Edward Lee <edilee@gmail.com>, r=cbiesinger 2007-06-04 22:48:25 -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
kaie@kuix.de
146b7c014e Bug 110161. Code related to the plan to enable OCSP by default.r=rrelyea, toolkit r=mconnor 2007-05-30 16:13:28 -07:00
wtc@google.com
cab9531cad Bug 213637: follow the all lowercase comment style of this file. 2007-05-30 14:36:02 -07:00
wtc@google.com
c557b28363 Bug 213637: if the pollable event becomes broken, create a new one. If wecan't create a new one, fall back on "busy wait". Since the pollable eventmay change now, we use a lock to protect it. The bug was tracked down byLiming Zhan. sr=darin.Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h 2007-05-30 10:30:39 -07:00
roc+@cs.cmu.edu
83d1634cc5 Bug 381657. Install offline cache listener even for loads from the disk/memory caches. patch by Dave Camp, r+sr=biesi 2007-05-29 19:34:23 -07:00
bent.mozilla@gmail.com
20b6443053 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 13:08:44 -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
dwitte@stanford.edu
7ec8f6a8da Bug 368317 - temp files remain if MoveToNative fails in nsSafeFileOutputStream::Finish(). patch by Ryan Jones (sciguyryan@gmail.com), r=mvl, sr=biesi 2007-05-20 11:12:26 -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
sspitzer@mozilla.org
8f70e570a0 fix for bug #380741: Crash with about:cache and clear privacy data [@nsCOMPtr::StartAssignment]fall out from bug #380704: compile error [@nsOfflineCacheDevice::Init]fix by dcamp@mozilla.com, r/sr=biesi 2007-05-17 11:33:19 -07:00
alfred.peng@sun.com
e797adbd2a Bug 380704. compile error [@nsOfflineCacheDevice::Init]. Fix the bustage for bug 370195 on Solaris SPARC/x86 with Sun Compiler.r+sr=jst. 2007-05-15 00:53:42 -07:00
cbiesinger@web.de
383c82c5d9 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
gavin@gavinsharp.com
7772de75a1 Bug 379997: don't delete logins if authentication fails, patch by Justin Dolske <dolske@mozilla.com>, r+sr=biesi 2007-05-14 11:39:34 -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
dveditz@cruzio.com
ca4bb32d44 bug 373228 incorporate additional review comments after initial checkin, r=dwitte, a=release-drivers 2007-05-07 04:14:01 -07:00
dwitte@stanford.edu
21747bccfe add nsICookieManager{2} interface tests. 2007-05-05 18:31:06 -07:00
dwitte@stanford.edu
7d5736dc1b tweak some comments to reflect the changes in bug 240963. 2007-05-05 18:29:44 -07:00
dwitte@stanford.edu
1852ac4c86 implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.bug 379239, r=mvl, sr=biesi 2007-05-05 14:09:54 -07:00
asqueella@gmail.com
32a76aff57 Bug 372554 - "ASSERTION: cannot set host on no-auth url" trying to set location.hostname at a file: URLp=Ryan Jones <sciguyryan@gmail.com>r=biesi/r+sr=jst 2007-05-03 23:42:28 -07:00
asqueella@gmail.com
32439be46a 287469 - fix source comments to match idl.r+sr=biesi 2007-05-03 23:00:33 -07:00
sayrer@gmail.com
39801af7f6 Bug 378787. Digest Authentication Request Splitting. r=biesi, sr=brendan 2007-05-03 20:31:30 -07:00
bzbarsky@mit.edu
63aeadb19b Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
dveditz@cruzio.com
79bb329675 bug 373228 prevent cookies with long paths from taking too much space, r=dwitte, a=juanb 2007-05-01 01:14:49 -07:00
dwitte@stanford.edu
80c3bd2a8a comment sp fix. 2007-04-29 00:52:23 -07:00
asqueella@gmail.com
6d8baae54f Bug 378128 - ascii art in IDL files should be protected so that it displays in documentationp=Ray Kiddy <ray@ganymede.org>r=biesi 2007-04-27 09:50:11 -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
e764b8540e Bug 377049 - nsBaseURLParser::ParsePath doesn't handle strings that are not NULL terminated, take 2.p=Ryan Jones <sciguyryan@gmail.com>r=biesi 2007-04-27 07:34:26 -07:00
asqueella@gmail.com
3f0777184e Backed out until the patch is tested. Sorry for not building with it.b=377049 2007-04-25 14:10:54 -07:00