Andrea Marchesini
526d67c413
Bug 1147749 - View source should go through service worker interception, r=bz, r=jduell
2015-10-05 14:46:24 +01:00
Michael Layzell
4aa2d0bee4
Bug 1200337 - Part 1: Don't expose standard HTTP headers during interception in non-e10s mode, r=mcmanus
2015-09-12 12:46:09 -04:00
Ehsan Akhgari
68e82a9a17
Bug 815299 - Part 1: Add an API for setting an empty request header on an HTTP channel; r=dragana
2015-09-09 07:53:09 -04:00
Nigel Babu
9476f7e7c9
Backed out changeset 8a798c03d76c (bug 815299) for M4 bustage ON A CLOSED TREE
2015-09-09 09:12:41 +05:30
Ehsan Akhgari
95141592e9
Bug 1201229 - Return an empty string for a header when an error occurs; r=dragana
...
This fixes nsIHttpChannel::GetRequestHeader() and
nsIHttpChannel::GetResponseHeader() to always empty out their string
argument even when they fail. This prevents programming mistakes of
passing the same string object to multiple of these calls and using the
string value without checking the nsresult error code, since otherwise
the string value may be unchanged from a previous call.
Note that this doesn't affect JS consumers of these APIs since we only
empty out the string argument in case the method fails, which will be
translated to a JS exception, and the JS code will never get to see the
emptied string.
2015-09-08 20:08:35 -04:00
Ehsan Akhgari
c5831b5f29
Bug 815299 - Part 1: Add an API for setting an empty request header on an HTTP channel; r=dragana
2015-09-08 20:08:31 -04:00
Christoph Kerschbaumer
8ab48ef209
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
Christoph Kerschbaumer
040351fa66
Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking)
2015-08-12 21:36:33 -07:00
Ryan VanderMeulen
0618529665
Backed out changeset f99b27e40987 (bug 1193924) for B2G emulator bustage.
...
CLOSED TREE
2015-08-13 12:45:05 -04:00
Christoph Kerschbaumer
65f6f74176
Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking)
2015-08-12 21:36:33 -07:00
Nicholas Hurley
bb76d521d7
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL
2015-07-31 13:50:08 -07:00
Christoph Kerschbaumer
2ea46a230d
Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - channel changes (r=mcmanus,sicking)
2015-05-15 13:21:20 -07:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Michal Novotny
6ebc2c926a
Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell
2015-05-10 02:26:39 +02:00
Nathan Froyd
8fccbf9246
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
8e33b81f72
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
047c5ef7e9
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Ryan VanderMeulen
838f96487a
Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
...
CLOSED TREE
2015-04-09 20:05:49 -04:00
Nicholas Hurley
846155b38d
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj
2015-04-08 14:42:00 +02:00
Christoph Kerschbaumer
afd12b01d1
Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in netwerk/ (r=sworkman)
2015-02-17 10:09:31 -08:00
Francois Marier
d309ce83c6
Bug 1113004 - Add IsPrivateResponse to HttpChannel. r=mayhemer
2015-01-08 22:38:00 +01:00
Owen Chu
f8f45e4564
Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus)
2014-11-18 08:46:29 -05:00
James Kitchener
d84910647d
Bug 971432 - Move baseURI to nsILoadInfo. r=bz
2014-11-05 01:34:00 +01:00
Christoph Kerschbaumer
9ea722dc57
Bug 1063197 - Callsites of NS_NewInputStreamChannel in /netwerk/ (r=mcmanus)
2014-10-16 11:14:35 -07:00
Christoph Kerschbaumer
594d5683cb
Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm)
2014-08-12 21:15:56 -07:00
Boris Zbarsky
16d6c5ece7
Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus
2014-07-10 02:56:36 -04:00
Patrick McManus
7888e433ba
bug 1003566 - part 1 - allowSTS attribute to nsIHttpChannel r=honzab
2014-06-04 09:57:15 -07:00
James Kitchener
a0bac0d895
Bug 464222 - Add a baseURI attribute to nsIViewSourceChannel. r=bz
2014-02-20 08:43:53 -05:00
James Kitchener
1ce9001799
Bug 964239 - Give selected channels awareness of srcdoc base URI. r=bz
2014-02-06 09:46:29 -05:00
Ehsan Akhgari
deb5a6a21b
Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus
2013-09-22 23:35:52 -04:00
James Kitchener
0f2fc0d4e4
Bug 912981 - Expose srcdoc status in nsIViewSourceChannel. r=bz
2013-09-10 13:40:35 -04:00
James Kitchener
add78aa43a
Bug 802895 - add srcdoc support to (InputStream|ViewSource)Channels r=bz sr=bsmedberg
2013-06-28 23:04:42 -04:00
Mike Perry
191357b41d
Bug 765934 - Expose XPCOM API for performing internal redirects. r=honza
2013-01-11 15:46:00 -08:00
Ian Melven
4788e23f28
Bug 783049 - CSP : use existing/old parser for X-Content-Security-Policy header, new/CSP 1.0 spec compliant parser for Content-Security-Policy header - Part 2 (r=bz)
2013-01-09 10:57:04 -08:00
Nick Hurley
5496cfa986
Bug 536324 part 2 - Change implementers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Neil Rashbrook
c4dbe6287c
Bug 803038 Can't view source of script error if it has attachment disposition r=bz,biesi
2012-10-20 00:40:36 +01:00
Tom Schuster
d324ddc0cc
Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi
2012-10-02 09:43:00 -07:00
Makoto Kato
8696ddea08
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Honza Bambas
369ee52e5c
Bug 748240 - view-source: doesn't load HTML from AppCache, r=bz
2012-05-12 11:42:20 +02:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Nick Hurley
5ed296a9f4
bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky
2011-09-09 15:41:04 -07:00
Brandon Sterne
d3d489f0a6
Bug 561051 - make CSP frame-ancestors and X-Frame-Options work with viewSourceChannels, a=jst
2010-10-14 15:25:00 -07:00
Dan Witte
09f7b6c496
Back out Bug 536324 part 2.
2010-08-30 13:20:39 -07:00
Dan Witte
c6ddfeddf7
Back out Bug 589292.
2010-08-30 13:20:38 -07:00
Dan Witte
9905d3cc8c
Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+
2010-08-25 17:51:21 -07:00