Commit Graph

134 Commits

Author SHA1 Message Date
Shawn Wilsher
fe66178c10 Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Shawn Wilsher
205d129c10 Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
2a28a8b2b1 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Boris Zbarsky
edcf45724a Bug 455311. Treat .url files as redirects. r+sr=biesi 2008-09-29 17:02:44 -04:00
cbiesinger@gmx.at
570c4ed4fb 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
f48a6700bf 390126 unescape the URL before compressing whitespace r+sr=bz 2007-08-10 12:52:50 -07:00
gijskruitbosch@gmail.com
3e830ee3c0 Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Playerp=sciguyryan@gmail.com (Ryan Jones)r=silver@warwickcompsoc.co.uk (James Ross)r+sr=cbiesinger@gmx.at (Christian Biesinger) 2007-04-15 05:31:18 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
bzbarsky%mit.edu
0a3a624149 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
2006-11-10 23:49:08 +00:00
bzbarsky%mit.edu
722b5218b2 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
darin%meer.net
54e4cc43da fixes bug 323378 "Accessing data:;base64, produces a crash for some architectures" patch by sylvain.pasche@gmail.com, r+sr=darin 2006-01-19 19:04:27 +00:00
timeless%mozdev.org
63408ce9ed Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin
2005-12-18 01:50:50 +00:00
darin%meer.net
697c78f1ea Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2005-11-12 18:17:19 +00:00
dbaron%dbaron.org
7b6c6f51b5 Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
cbiesinger%web.de
8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
db48x%yahoo.com
cebb9552f5 bug 272277: Change to Append/Assign/Equals-Literal in networking
patch by Mikael Parknert <mikael@parknert.se>, r=cbiesinger, sr=darin
2004-12-04 10:19:29 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
51e61b254e remove unused files, and an unused member of nsDataHandler, and unused defines in nsNetCID.h (which referred to a no longer existing component)
bug 243098 r+sr=darin
2004-05-09 18:18:07 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
darin%meer.net
11b4c2f2d6 fixes bug 239405 "strchr, strrchr, etc. implicit const_cast can cause problems for shared string buffers" r=bienvenu sr=dbaron a=chofmann 2004-04-03 17:16:17 +00:00
cbiesinger%web.de
cb60788092 Bug 217433. Implement nsIRequest::Suspend and ::Resume for the data: channel, by using nsIInputStreamPump.
r=darin sr=bzbarsky
2003-10-10 13:41:20 +00:00
cbiesinger%web.de
0878bdb775 Bug #218920
nsDataChannel uses WriteSegments for no good reason
r=darin sr=bz
2003-09-13 21:18:08 +00:00
bzbarsky%mit.edu
f75f9017d9 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
cbiesinger%web.de
2183d9f7b6 193728 r=bbaetz sr=darin data: Base64-encoded URIs don't support %-encoded characters 2003-05-23 22:41:35 +00:00
darin%netscape.com
ee25933de6 fixing bustage! 2003-02-17 04:38:24 +00:00
darin%netscape.com
31bd015416 fixes bug 192478 "mozilla freezes when 'View Selection Source' @ nsPipe3.cpp::nsPipeOutputStream::WriteSegments" r=dougt sr=bz a=dbaron 2003-02-17 01:37:28 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
954ad5f9d9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
andreas.otte%debitel.net
932f63b026 fix bug 166085 [Assertion constructing about: URIs
[@nsAboutProtocolHandler:122]] This is a regression fix from the fix
for bug 163225. The assertions never made sense and now they are
exposed. r=bzbarsky, sr=darin
2002-09-02 22:04:03 +00:00
smontagu%netscape.com
58ecb2a10e Correct parsing errors of some edge cases omitting optional parameters in data: URLs. Bug 161965 and bug 162019, r=bz, sr=darin 2002-08-20 20:34:39 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bryner%netscape.com
caa52be426 Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa. 2002-07-30 02:25:08 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
cbiesinger%web.de
598b3dd49e bug 138052 patch by timeless r=biesi sr=darin
data: is still too agressive about stripping whitespace XML
2002-05-04 09:10:36 +00:00
cbiesinger%web.de
8f70f01b03 bug 136538 r=bbaetz sr=darin
data: protocol doesn't unescape its uri string
2002-04-20 06:54:02 +00:00
bzbarsky%mit.edu
3d952314e9 Fix potential memory leaks in nsDataChannel. Bug 138081, r=timeless,
sr=darin
2002-04-19 22:37:41 +00:00
bzbarsky%mit.edu
60b308b963 Backing patch out since it breaks Win32 and I don't have time to fix it
right now.
2002-04-19 03:48:22 +00:00
bzbarsky%mit.edu
46ecbab995 Fix potential memory leaks in nsDataChannel. Bug 138081, r=timeless,
sr=darin
2002-04-19 03:16:37 +00:00
cbiesinger%web.de
a304e4bd02 bug 133715 patch by neil@parkwaycc.co.uk r=biesi sr=darin a=asa
data: url without charset kills browser
2002-03-28 21:07:46 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
seawood%netscape.com
65178608c0 Fix |Cannot use const char* to initialize char*| errors for Sun Forte compilers.
Bug #129533 r=jag sr=darin a=asa
2002-03-10 07:35:22 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00