Commit Graph

100 Commits

Author SHA1 Message Date
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
mrbkap@gmail.com
204ffd0ef1 Backing out to fix orange. 2007-06-14 17:46:26 -07:00
mrbkap@gmail.com
33b94743eb 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
1ba37932bb 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
4847498bb8 Bug 110161, enable OCSP by defaultr=cbiesinger, sr=mconnor 2007-06-05 12:27:42 -07:00
rflint@ryanflint.com
58b0e61e6f 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