Patrick McManus
c07974e685
Bug 1238290 - fix bad necko deps on unified_sources r=valentin.gosu
...
---
netwerk/base/ARefBase.h | 2 ++
netwerk/base/CaptivePortalService.cpp | 1 +
netwerk/base/CaptivePortalService.h | 1 +
netwerk/base/EventTokenBucket.cpp | 4 +++-
netwerk/base/LoadContextInfo.cpp | 3 +++
netwerk/base/LoadInfo.cpp | 3 +++
netwerk/base/MemoryDownloader.cpp | 1 +
netwerk/base/Predictor.cpp | 1 +
netwerk/base/RedirectChannelRegistrar.h | 1 +
netwerk/base/nsBaseChannel.cpp | 1 +
netwerk/base/nsChannelClassifier.cpp | 1 +
netwerk/base/nsDirectoryIndexStream.cpp | 3 ++-
netwerk/base/nsDownloader.cpp | 1 +
netwerk/base/nsIOService.cpp | 1 +
netwerk/base/nsIncrementalDownload.cpp | 3 +++
netwerk/base/nsNetUtil.cpp | 4 ++++
netwerk/base/nsNetUtil.h | 1 +
netwerk/base/nsProtocolProxyService.cpp | 1 +
netwerk/base/nsSecCheckWrapChannel.cpp | 2 ++
netwerk/base/nsUDPSocket.cpp | 4 +++-
netwerk/cache/nsDiskCacheBinding.cpp | 2 +-
netwerk/cache/nsDiskCacheDeviceSQL.cpp | 2 ++
netwerk/cache/nsMemoryCacheDevice.cpp | 2 +-
netwerk/cache2/CacheFileUtils.cpp | 2 ++
netwerk/cache2/CacheStorageService.h | 1 +
netwerk/ipc/NeckoParent.cpp | 1 +
netwerk/ipc/RemoteOpenFileChild.cpp | 1 +
netwerk/protocol/about/nsAboutBloat.cpp | 1 +
netwerk/protocol/about/nsAboutCacheEntry.cpp | 1 +
netwerk/protocol/about/nsAboutProtocolHandler.cpp | 1 +
netwerk/protocol/data/DataChannelParent.cpp | 1 +
netwerk/protocol/file/nsFileProtocolHandler.cpp | 1 +
netwerk/protocol/ftp/FTPChannelParent.cpp | 2 ++
netwerk/protocol/ftp/FTPChannelParent.h | 1 +
netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 1 +
netwerk/protocol/ftp/nsFtpProtocolHandler.h | 1 +
netwerk/protocol/http/Http2Compression.cpp | 1 +
netwerk/protocol/http/Http2Session.cpp | 1 +
netwerk/protocol/http/Http2Stream.h | 2 ++
netwerk/protocol/http/HttpBaseChannel.cpp | 4 ++++
netwerk/protocol/http/HttpBaseChannel.h | 1 +
netwerk/protocol/http/HttpChannelChild.cpp | 25 ++--------------------
netwerk/protocol/http/HttpChannelChild.h | 24 +++++++++++++++++++++
netwerk/protocol/http/HttpChannelParent.cpp | 1 +
netwerk/protocol/http/HttpChannelParent.h | 1 +
.../protocol/http/HttpChannelParentListener.cpp | 1 +
netwerk/protocol/http/HttpChannelParentListener.h | 1 +
netwerk/protocol/http/InterceptedChannel.cpp | 1 +
netwerk/protocol/http/NullHttpChannel.cpp | 1 +
netwerk/protocol/http/NullHttpTransaction.cpp | 1 +
netwerk/protocol/http/PackagedAppService.cpp | 14 ++++++++++--
netwerk/protocol/http/PackagedAppService.h | 4 +++-
netwerk/protocol/http/PackagedAppVerifier.cpp | 1 +
netwerk/protocol/http/nsCORSListenerProxy.cpp | 2 +-
netwerk/protocol/http/nsHttpBasicAuth.cpp | 1 +
netwerk/protocol/http/nsHttpChannel.cpp | 2 ++
netwerk/protocol/http/nsHttpChunkedDecoder.cpp | 1 +
netwerk/protocol/http/nsHttpConnectionInfo.cpp | 2 ++
netwerk/protocol/http/nsHttpConnectionMgr.cpp | 1 +
netwerk/protocol/http/nsHttpDigestAuth.cpp | 1 +
netwerk/protocol/viewsource/nsViewSourceHandler.h | 4 ++++
.../protocol/websocket/BaseWebSocketChannel.cpp | 1 +
.../websocket/WebSocketEventListenerParent.cpp | 1 +
.../protocol/websocket/WebSocketEventService.cpp | 3 +++
netwerk/protocol/websocket/WebSocketFrame.cpp | 2 ++
netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp | 1 +
.../protocol/wyciwyg/nsWyciwygProtocolHandler.cpp | 1 +
netwerk/streamconv/converters/mozTXTToHTMLConv.cpp | 1 +
.../streamconv/converters/nsFTPDirListingConv.cpp | 1 +
.../streamconv/converters/nsHTTPCompressConv.cpp | 2 ++
netwerk/streamconv/converters/nsHTTPCompressConv.h | 1 +
netwerk/streamconv/converters/nsIndexedToHTML.cpp | 1 +
netwerk/streamconv/converters/nsMultiMixedConv.cpp | 2 ++
netwerk/streamconv/converters/nsTXTToHTMLConv.cpp | 2 ++
netwerk/streamconv/converters/nsUnknownDecoder.cpp | 2 ++
75 files changed, 147 insertions(+), 32 deletions(-)
2016-01-08 20:20:50 -05:00
Carsten "Tomcat" Book
a596d16a08
merge mozilla-inbound to mozilla-central a=merge
2015-11-26 16:54:27 +01:00
Yoshi Huang
47c69d1edb
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Henry
eeabd09cb6
Bug 1224508 - Use URI path without reference as the callback key. r=valentin.
2015-11-13 02:15:00 +01:00
Valentin Gosu
9064249f70
Bug 1226760 - ViewSource doesn't work for packaged app resources r=mcmanus
...
* The packaged app service should use the URI of the channel, not the URI of the channel's principal.
2015-11-25 12:44:43 +01:00
Patrick McManus
050f902acb
bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu
2015-11-02 23:35:29 -05:00
Jonathan Hao
7fb1485208
Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin
2015-10-22 17:09:44 +08:00
Henry
06b7901137
Bug 1216062 - Notify OnStartSignedPackagedRequest with package identifier. r=valentin.
2015-10-19 03:33:00 +02:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Nathan Froyd
bf7f6dda03
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Henry
687f930aed
Bug 1210235 - Skip package verification if pref out or no signature. The package would be treated unsigned. r=valentin
2015-10-12 15:38:41 +08:00
Henry Chang
f43b34e777
Bug 1186290 - Notify TabParent to switch process when loading a signed package. r=honzab, r=kanru.
2015-10-02 05:25:22 -07:00
Stephanie Ouillon
f75df23f8f
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin
2015-08-26 13:12:13 +02:00
Jonathan Hao
49c6ceb602
Bug 1178518 - Verify signed packages. r=valentin
2015-09-24 10:07:01 +08:00
Carsten "Tomcat" Book
34decaf4a3
Backed out 1 changesets (bug 1178533) for xpcshell-1 test failures
...
Backed out changeset b12584fad334 (bug 1178533)
2015-09-24 08:41:04 +02:00
Stephanie Ouillon
38e36ba770
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin
2015-09-23 07:41:00 +02:00
Carsten "Tomcat" Book
e3420a256f
Backed out 1 changesets (bug 1178533) for s4 testfailures
...
Backed out changeset 8bbdb80f67e0 (bug 1178533)
2015-09-23 10:17:54 +02:00
Stephanie Ouillon
8719127565
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin
2015-09-22 11:55:00 +02:00
hchang
ef2bbc3887
Bug 1205228 - Change PackagedAppVerifier to notify the verification result asynchronously. r=valentin.
2015-09-21 03:11:00 +02:00
Henry Chang
3b5cf73026
Bug 1178525 - Introduce PackagedAppVerifier and use it to control the timing we serve packaged content. r=valentin.
2015-09-07 19:12:02 +08:00
Henry Chang
03c07b396f
Bug 1195713 - Set the proper notification callbacks for the inner channel. r=valentin
2015-08-31 17:47:10 +08:00
Valentin Gosu
d232257964
Bug 1196021 - Pass requesting channel to PackagedAppService::GetResource r=ckerschb
2015-08-25 03:06:24 +02:00
Valentin Gosu
912676341f
Bug 1196021 - Use asyncOpen2 in PackagedAppService r=ckerschb
2015-08-25 03:06:18 +02:00
Valentin Gosu
ab347ee55c
Bug 1172701 - Make GetSubresourceURI normalize the path for packaged resources r=mcmanus
2015-08-12 00:43:48 +02:00
Henry Chang
a5ce7dfea7
Bug 1181137 - Copy all headers from base channel to subresources in the packaged app. r=honzab
2015-07-28 15:34:35 +08:00
Valentin Gosu
0000d9d38a
Bug 1187159 - Pass principal and flags from the requesting channel to the packaged app channel r=honzab
2015-08-10 11:21:57 +02:00
Sebastian Hengst
a0b3a0ab5a
$ hg backout -r 618c213ed8db -r 78a61d56adae -r ca1510a96cc6 -m "Backed out 618c213ed8db (bug 1190502) and 78a61d56adae, ca1510a96cc6 (bug 1187159) for Linux x64 asan M5 fail: LeakSanitizer | leak at mozilla::net::GetLoadContextInfo, mozilla::net::nsHttpChannel::BeginConnect, mozilla::net::nsHttpChannel::OnProxyAvailable. r=backout"
2015-08-08 11:08:13 +02:00
Valentin Gosu
bc846374e7
Bug 1187159 - Pass principal and flags from the requesting channel to the packaged app channel r=honzab
2015-08-08 07:11:56 +02:00
Carsten "Tomcat" Book
ca308afdc0
Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE
2015-07-31 07:57:50 +02:00
Valentin Gosu
e4fd4909fb
Bug 1032254 - Provide a way to pin resources in the http cache r=honzab
2015-07-30 11:40:00 +02:00
Valentin Gosu
b796a68211
Bug 1170837 - Provide way to update packaged apps r=honzab
2015-07-23 17:38:40 +02:00
Valentin Gosu
afa388dc36
Bug 1170837 - Add static GetPackageURI method to PackagedAppService r=honzab
2015-07-23 17:38:36 +02:00
Valentin Gosu
4974996d60
Bug 1170837 - Make nsMultiMixedConv not return an error when served only a package's metadata from the cache r=honzab
...
Make the stream converter aware of the "application/package" mimetype.
2015-07-23 17:38:33 +02:00
Carsten "Tomcat" Book
fe1cf360f1
Backed out changeset 86b2cd28a91b (bug 1170837) for bustage on a CLOSED TREE
2015-07-23 14:37:22 +02:00
Carsten "Tomcat" Book
98d34bf37c
Backed out changeset 35e4460b0194 (bug 1170837)
2015-07-23 14:30:12 +02:00
Carsten "Tomcat" Book
219e86c4d0
Backed out changeset 396674528152 (bug 1170837)
2015-07-23 14:25:37 +02:00
Valentin Gosu
c663b7e223
Bug 1170837 - Provide way to update packaged apps r=honzab
2015-07-23 14:07:09 +02:00
Valentin Gosu
d6ca9ec6af
Bug 1170837 - Add static GetPackageURI method to PackagedAppService r=honzab
2015-07-23 14:07:04 +02:00
Valentin Gosu
c772cbcb25
Bug 1170837 - Make nsMultiMixedConv not return an error when served only a package's metadata from the cache r=honzab
...
Make the stream converter aware of the "application/package" mimetype.
2015-07-23 14:07:00 +02:00
Valentin Gosu
c18dcd74c5
Bug 1172233 - Allow web packaged apps to be served without a mimetype r=mcmanus
2015-07-17 14:25:43 +02:00
Valentin Gosu
c6d789a41a
Bug 1177766 - Add logging to PackagedAppService r=honzab
2015-07-08 11:09:14 +02:00
Valentin Gosu
797b6e95de
Bug 1180637 - Packaged Apps do not apply CSP r=honzab
2015-07-08 11:09:04 +02:00
Valentin Gosu
d7f65334d1
Bug 1177465 - Web packaged app resources can't be loaded over https r=honzab
2015-07-08 11:08:51 +02:00
Valentin Gosu
45b0227535
Bug 1177403 - Unable to load http package resources with fetch() or xhr r=mcmanus
2015-07-03 17:15:46 +02:00
Valentin Gosu
64c7b5ea61
Bug 1036275 - Add Packaged App Service r=honzab
2015-06-03 01:46:15 +03:00