Christoph Kerschbaumer
fe3f1cdf0a
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-14 12:38:15 -08:00
Nigel Babu
282b0d0ae0
Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage
2016-01-14 08:04:37 +05:30
Christoph Kerschbaumer
be2601f810
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-13 15:51:43 -08:00
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
Jonas Sicking
dc7114ec7f
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Jonas Sicking
2d5d18d181
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-06 18:33:15 -05:00
Jonas Sicking
736f70081e
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
cdf4286868
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
ed83817753
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jonas Sicking
43dffbee2a
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-05 01:46:20 -08:00
Jonas Sicking
cd1c0c2552
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-05 01:46:20 -08:00
Bogdan Postelnicu
bc0f68d55b
Bug 1228342 - initialize mTainting by all constructors. r=bkelly
2015-12-03 02:39:00 +01:00
Nigel Babu
27952443c3
Backed out changeset 7b77be698443 (bug 1228342) for build bustage ON CLOSED TREE
2015-12-03 15:51:20 +05:30
Bogdan Postelnicu
83763e56a8
Bug 1228342 - initialize mTainting by all constructors. r=bkelly
2015-12-02 00:43:00 +01:00
Blake Kaplan
f7f69b05e6
Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb
2015-11-30 13:25:29 -08:00
Yoshi Huang
47c69d1edb
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Jonas Sicking
ebec9b7ac5
Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell
2015-11-23 18:47:10 -08:00
Christoph Kerschbaumer
c7ee12f6aa
Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz)
2015-11-14 19:28:38 -08:00
Christoph Kerschbaumer
3b4ece9bd9
Bug 1194052 - Append to redirectchain before asyncopen() is called (r=sicking,mayhemer)
2015-10-31 15:22:01 -07:00
Christoph Kerschbaumer
aec67e6dbc
Bug 1194052 - Update Clone() functionality of LoadInfo (r=sicking)
2015-10-31 15:20:48 -07:00
Christoph Kerschbaumer
fb42340904
Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking)
2015-10-31 15:18:59 -07:00
Bill McCloskey
3e8b3b3ae5
Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz)
2015-10-30 13:08:41 -07:00
Kyle Huey
8f8794e1c7
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Ben Kelly
010e90dbbd
Bug 1212904 P2 Add LoadTainting information to nsILoadInfo. r=jduell
2015-10-22 11:07:32 -07:00
Dragana Damjanovic
a12666e630
Bug 1175685 - add OriginAttribute to LoadInfo. r=jonas, r=ckerschb, r=michal
2015-10-21 23:47:00 +02:00
Jonas Sicking
75a8ce6b99
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-19 11:14:54 -07:00
Jonas Sicking
bb0dc3507b
Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb
2015-10-19 11:14:54 -07: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
Wes Kocher
4f2d5be924
Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors
...
Backed out changeset e2b3064dcace (bug 1182571)
Backed out changeset 8153ae231d16 (bug 1182571)
2015-10-15 14:07:06 -07:00
Jonas Sicking
1d2c6e4ee0
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-15 12:18:21 -07:00
Jonas Sicking
d5e39db15b
Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb
2015-10-15 12:18:20 -07:00
Ehsan Akhgari
83877416e8
Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking
2015-09-26 12:34:16 -04:00
Wes Kocher
7f56c90593
Backed out 2 changesets (bug 1207556) for leaks in various mochitests
...
Backed out changeset bd1eed74e2ec (bug 1207556)
Backed out changeset 3260a147595a (bug 1207556)
2015-09-25 14:46:03 -07:00
Ehsan Akhgari
528f3fb92e
Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking
2015-09-25 16:09:28 -04:00
Christoph Kerschbaumer
75a16213e9
Bug 1195162 - Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking)
2015-09-14 18:59:35 -07:00
Christoph Kerschbaumer
8ab48ef209
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
Christoph Kerschbaumer
4e730db2e1
Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - loadinfo changes (r=sicking,tanvi,sworkman)
2015-07-19 19:11:57 -07:00
Christoph Kerschbaumer
177deef88c
Bug 1175803 - Store redirect chain within loadInfo - part 1 (r=sicking,mayhemer)
2015-07-19 19:11:03 -07:00
Christoph Kerschbaumer
9a57af947a
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - loadinfo changes (r=sicking,sworkman)
2015-07-10 13:57:55 -07:00
Ehsan Akhgari
1da1a13041
Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
...
Consumers of this type need to deal with the external content policy
types. One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-24 08:52:45 -07:00
Bill McCloskey
15dd2ea7cf
Bug 1163861 - Pass window IDs in nsILoadInfo (r=ckerschb)
2015-06-09 21:04:50 -07:00
Christoph Kerschbaumer
c3fd2460ae
Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
2015-02-18 12:34:13 -08:00
Ryan VanderMeulen
39d7c864bb
Backed out changeset 73e586b9f04f (bug 1109910) for bustage.
...
CLOSED TREE
2015-02-18 11:57:57 -05:00
Christoph Kerschbaumer
dd2d713e73
CLOSED TREE - Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
2015-02-17 19:53:06 -08:00
Carsten "Tomcat" Book
c11bd84388
Backed out changeset 5f5540f3fcce (bug 1109910) for Bustage on a CLOSED TREE
2015-02-18 17:15:00 +01:00
Christoph Kerschbaumer
7e48943dcc
Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
2015-02-17 19:53:06 -08:00