Commit Graph

82 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
cbiesinger@gmx.at
bbaf727b9d fix typo in comment 2007-08-24 18:30:39 -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
c118d40021 392428 always consider IP addresses valid hostnames r+sr+a=bz 2007-08-21 10:14: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
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
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
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
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
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
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -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
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
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
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
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
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
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
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
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