Valentin Gosu
2516368fc9
Bug 377052 - nsBaseURLParser::ParseURL doesn't handle spaces embedded in the scheme properly r=mcmanus
2016-02-01 14:07:16 +01:00
sayre@gmail.com
b898aadf82
Bug 407537 - Dont normalize a nonexistant file r=biesi
2016-02-03 13:47:20 -05:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Phil Ringnalda
a39d6e46e4
Merge m-c to m-i
2016-01-30 09:43:42 -08:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Marco Bonardo
c6747b6e30
Bug 1242961 - nsStandardURL still allows to build valid nsIURIs longer than network.standard-url.max-length. r=valentin
...
--HG--
extra : commitid : LhDNkRzmNnu
extra : rebase_source : ccd91b21929bf9a8ccc945c3a524d47eef98294f
2016-01-26 17:23:22 +01:00
Patrick McManus
75933cddcd
Bug 1242597 - backout 7e32d3531b96def705f7e5a84045365d29716ce1 r=backout
2016-01-28 15:17:57 -05:00
Michael Madsen
150b645ebb
Bug 1241377 - Part 1: Implement nsIFormPOSTActionChannel for the channel accepts form POST. r=mayhemer
2016-01-28 19:38:34 +09:00
Dragana Damjanovic
9422329793
Bug 1243062 - Add telemetry for PR_Close time. r=mcmanus
2016-01-26 11:15:00 +01:00
Bogdan Postelnicu
4c375f7a87
Bug 1242452 - only if PR_GetIdentitiesLayer return valid pointer continue and pass it's result to PR_GetIdentitiesLayer. r=mcmanus
...
--HG--
extra : transplant_source : %81%81%2B%60%B1%CE%84R%DAK%9C%2B%8Fd%8F%18%BE%EA%1D%15
2016-01-25 15:44:59 +02:00
David Keeler
263b6bd7fe
bug 1239609
- audit nsNSSShutDownObject destructors for correctness r=Cykesiopka,sworkman
...
--HG--
extra : rebase_source : 3a20138211bfab811fb3adb2d7b0030a3b742b3b
2016-01-22 14:49:39 -08:00
Patrick McManus
12bc0ce356
Bug 1242597 - Fix nsSocketTransport reference loop r=dragana
2016-01-19 17:48:15 -05:00
Dragana Damjanovic
4fd3271266
Bug 1241295 - Limit time for PR_Close calls during shutdown in nsUDPScket. r=mcmanus
2016-01-20 16:01:00 -05:00
Patrick McManus
d1286944d6
Bug 1233774 - fix Leak EventTokenBucket on shutdown r=dragana
2016-01-21 12:40:15 -05:00
Carsten "Tomcat" Book
8002f9c857
Backed out changeset b1bbd5c1d6c0 (bug 772528) for xpcshell test failures
2016-01-22 11:46:50 +01:00
Eden Chuang
5d7b00cf47
Bug 772528 - Remove nsFileInputStream::Seek() from nsPartialFileInputStream::Init(). r=baku
2016-01-21 14:08:18 +08:00
Randell Jesup
22b767c6eb
Bug 1194259: Make ICE IP restriction to default routes work in E10S r=jesup,mcmanus,drno
...
--HG--
extra : commitid : 2LptzIDH6lK
2016-01-22 02:47:01 -05:00
Honza Bambas
d36e6cf36c
Bug 1165256 - Make appcache fully work with OriginAttribues. r=jduell
2016-01-18 20:20:08 +01:00
Honza Bambas
c19627f880
Bug 451081 - Introduce ORIGIN_IS_FULL_SPEC protocol handler flag, r=bz+standard8 IGNORE IDL
2016-01-20 20:02:23 +01:00
Honza Bambas
31fe69aff2
Bug 1087320 - On charset reload set LOAD_FROM_CACHE only on the default channel, r=bz r=jduell
2016-01-19 15:28:00 +01:00
Dragana Damjanovic
06c9cbac52
Bug 1240481 - Limit PR_Close calls during shutdown. r=mcmanus
2016-01-18 08:20:00 +01:00
Dragana Damjanovic
854aecd889
Bug 1239961 - Minimize amount of PR_Poll and PR_Read calls during shutdown. r=mcmanus
2016-01-15 08:21:00 +01:00
Dragana Damjanovic
737f45f2c0
Bug 1238017
- Remove ClosingService. r=mcmanus
2016-01-08 10:20:00 -05:00
Dragana Damjanovic
874fe57403
Bug 1240269 - Do not open UDP socket during shutdown. r=mcmanus
2016-01-16 01:19:00 -05:00
Patrick McManus
c5706e8cfe
Bug 1240122 - threadsafe fix for getselfaddr() r=dragana
2016-01-15 12:16:01 -05:00
Dragana Damjanovic
c03ef33b0d
Bug 1239655 - Do not do PR_ConnectContinue during the shutdown. r=mcmanus
2016-01-14 08:53:00 -05:00
Christoph Kerschbaumer
071f422450
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-14 12:38:15 -08:00
Dragana Damjanovic
198debd13b
Bug 1238910 - Rework shutdown necko. r=mcmanus
2016-01-14 04:42:00 -05:00
Nigel Babu
7089beabc7
Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage
...
--HG--
extra : commitid : ytS8fc4lFu
2016-01-14 08:04:37 +05:30
Christoph Kerschbaumer
c42851930c
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-13 15:51:43 -08:00
Xidorn Quan
f569fa65f9
Bug 1238404 - Use 'using' directive instead of having separate Dispatch impl in subclasses of nsIEventTarget. r=froydnj
...
--HG--
extra : source : 76255b192a7d6dae74f19c68653537d5f8f39775
2016-01-12 15:18:47 +11:00
Patrick McManus
7ed406b2be
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
Dragana Damjanovic
9992ced19f
Bug 1238010 - Turn off ClosingService. r=mcmanus
2016-01-08 15:10:00 -05:00
Phil Ringnalda
542a3fabcb
Merge f-t to m-c, a=merge
2016-01-09 11:44:32 -08:00
Patrick McManus
8788ebb50d
Bug 1236968 - autodial telemetry r=mayhemer
2016-01-05 12:16:02 -05:00
Chris Peterson
03f5630fd2
Bug 1235298 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in netwerk/. r=mcmanus
2015-11-22 21:58:33 -08:00
Florian Quèze
ca0c29f531
Bug 1237648 - remove the defaultEngine implementation and forward the getter/setter to currentEngine, r=adw.
2016-01-08 11:27:49 +01:00
Kyle Huey
4e63031bf8
Bug 1237371: Asynchronously shutdown the predictor IO thread. r=hurley
2016-01-06 13:18:29 -08:00
Patrick McManus
061f13abb6
Bug 1121447 - trust cache less for error codes r=mayhemer
2015-12-22 16:06:07 -05:00
Ehsan Akhgari
40c82fa10c
Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm
2016-01-05 15:04:41 -05:00
Patrick McManus
74c91a9068
Bug 524232 - cache about: protocol handlers r=mayhemer
2015-12-17 10:39:41 -05:00
Ehsan Akhgari
a48f3795ae
Bug 1214305 - Part 3: Add a nsIInterceptedChannel.secureUpgradedChannelURI helper; r=jdm
2016-01-04 16:30:02 -05:00
Ehsan Akhgari
377b919b76
Bug 1214305 - Part 1: Refactor the logic for querying whether a connection should go through a secure upgrade into NS_ShouldSecureUpgrade; r=mcmanus
2016-01-04 16:30:02 -05:00
Wes Kocher
dbbade6e75
Backed out 10 changesets (bug 1214305) for leaks on linux debug m-e10s(bc7)
...
Backed out changeset 1f482566235a (bug 1214305)
Backed out changeset 001b31489756 (bug 1214305)
Backed out changeset 4e94d2088219 (bug 1214305)
Backed out changeset fba4a5bcea41 (bug 1214305)
Backed out changeset 100f8e249007 (bug 1214305)
Backed out changeset a59c453192dc (bug 1214305)
Backed out changeset 2daa86fc1fb9 (bug 1214305)
Backed out changeset c04efb57b0ed (bug 1214305)
Backed out changeset 52046e843c60 (bug 1214305)
Backed out changeset ac4fd6615828 (bug 1214305)
--HG--
extra : commitid : ILmaVumvmvH
2016-01-04 10:34:24 -08:00
Ehsan Akhgari
17e63f2856
Bug 1214305 - Part 3: Add a nsIInterceptedChannel.secureUpgradedChannelURI helper; r=jdm
2016-01-04 09:52:40 -05:00
Ehsan Akhgari
3e8d2fe85d
Bug 1214305 - Part 1: Refactor the logic for querying whether a connection should go through a secure upgrade into NS_ShouldSecureUpgrade; r=mcmanus
2016-01-04 09:52:37 -05:00
Jason Duell
b091fa291e
Bug 1199841 - Restructure private browsing to remember status after OnStopRequest r=jdm
2015-12-30 17:51:21 -05:00
Jeff Walden
5be7be38a1
Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
...
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Patrick McManus
29ca4c0e9d
Bug 1218297 - eventtokenbucket shutdown leak r=valentin
2015-12-23 10:47:13 -05:00
Gian-Carlo Pascutto
2652d00be1
Bug 1211090 - Don't fail to open databases if we can't do buffered IO. r=froydnj
2015-12-21 17:51:03 +01:00
Gian-Carlo Pascutto
73ac6a6ca3
Bug 1211090 - Add fallocate support to nsIOutputFileStream and use it. r=froydnj
2015-12-21 17:50:53 +01:00
Honza Bambas
5a7f903046
Bug 1229235 - Make RedirectChannelRegistrar thread-safe. r=jduell
2015-12-04 09:55:00 +01:00
Daniel Stenberg
07e9a26610
Bug 1231552 - Back out bug 1121800, bug 1207798 and bug 1214200 changesets. r=mcmanus
2015-12-10 07:21:00 +01:00
Jonas Sicking
0bb4231605
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Jonas Sicking
f7193fdf30
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
28de02f687
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
Jonas Sicking
6cc5074df0
Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
774236075d
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
993136c2c9
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jonas Sicking
7fae3fd853
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
ff12f48c5a
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
Jonas Sicking
df33e62850
Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb
2015-12-05 01:46:20 -08:00
Bogdan Postelnicu
797941ef16
Bug 1228342 - initialize mTainting by all constructors. r=bkelly
2015-12-03 02:39:00 +01:00
Nigel Babu
e414eeae7a
Backed out changeset 7b77be698443 (bug 1228342) for build bustage ON CLOSED TREE
2015-12-03 15:51:20 +05:30
Bogdan Postelnicu
bdffacc229
Bug 1228342 - initialize mTainting by all constructors. r=bkelly
2015-12-02 00:43:00 +01:00
Nathan Froyd
9a956c9885
Bug 1223808 - part 3 - replace nsAutoArrayPtr<T> with UniquePtr<T[]> in netwerk/; r=mcmanus
2015-11-08 21:28:05 -05:00
Lars T Hansen
7664162964
Bug 1176214 - Part 14: Changes to netwerk. r=jduell
...
--HG--
extra : rebase_source : aaba474cc050b07188f6c78eb17d31f2733c91fc
2015-11-25 17:30:52 +01:00
Mike Hommey
b2e31e6ade
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in netwerk/. r=mcmanus
2015-12-02 11:04:37 +09:00
Yury Delendik
b984c50fec
Bug 1218029 - Adds ScriptLoadHandler and implements OnIncrementalData callback. r=djvj
...
--HG--
extra : commitid : 7TyrlgQ2f2Z
2015-12-01 08:00:58 -06:00
Yury Delendik
66199890c4
Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj
...
--HG--
extra : commitid : J0UubFG9gvz
2015-11-30 08:54:11 -06:00
Mark Goodwin
31cec702e0
Bug 1228451 - Set short-lived cert lifetime to the max OCSP response lifetime. r=keeler
...
--HG--
extra : commitid : LMpRTyagmR3
extra : rebase_source : 3fe739c7d448b4a587a31eded6e7cd2cf4334afe
2015-11-30 22:05:07 +00:00
Christoph Kerschbaumer
413a60a063
Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking)
2015-11-17 17:35:30 -08:00
Blake Kaplan
b62a6327bd
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
Nicholas Nethercote
dab3f8a4f6
Bug 1186783 (follow-up) - Bustage fix for Gonk.
2015-11-29 15:25:32 -08:00
Nicholas Nethercote
f5561f39f2
Bug 1186783 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin.
2015-11-19 16:46:35 -08:00
Nicholas Nethercote
4a7f327575
Bug 1186783 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin.
2015-11-19 16:46:24 -08:00
Carsten "Tomcat" Book
358e4575c4
merge mozilla-inbound to mozilla-central a=merge
2015-11-26 16:54:27 +01:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Jonas Sicking
66bbe5bc72
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
Ben Bucksch
2572e8c3db
Bug 1200802 - Accept RFC1929 SOCKS credentials in proxyInfo. r=michal
2015-11-24 22:56:00 +01:00
Ehsan Akhgari
5daec7e3a8
Bug 1210302 - Part 6: Update the documentation of the methods in the IDL file; r=mcmanus
2015-11-20 16:32:56 -05:00
Christoph Kerschbaumer
143b334dd4
Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz)
2015-11-20 10:55:54 -08:00
Nigel Babu
ba8444d785
Backed out changeset 95069f2ce648 (bug 1182546) for Android M(c) bustage ON A CLOSED TREE
2015-11-19 14:26:33 +05:30
Christoph Kerschbaumer
ab10273998
Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz)
2015-11-18 19:23:28 -08:00
Valentin Gosu
c91754df8d
Bug 1218918 - Issues with devtools "work offline" when connectivity changes r=mcmanus,dao
...
* Flip the network.offline-mirrors-connectivity pref, so that ioservice.offline means the same as devtools work offline
* ioService.manageOfflineStatus shouldn't be changed when going to offline mode.
* Add logging to nsIOService in order to track offline/connectivity issues
2015-11-18 15:25:39 +01:00
Valentin Gosu
67b179e6f9
Bug 412457 - should unescape hostname first, then perform IDNA r=mcmanus
2015-11-18 15:25:27 +01:00
Ben Kelly
d6cd5e961e
Bug 1217909 P8 Track navigation interceptions per scope in ServiceWorkerManager. r=catalinb
2015-11-16 08:04:11 -08:00
Daniel Stenberg
9dad85ec49
Bug 1207798 - add pref to toggle proxy behavior when inaccessible. r=mcmanus
2015-11-10 15:27:45 +01:00
Christoph Kerschbaumer
d9f1276ace
Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz)
2015-11-14 19:28:38 -08:00
Phil Ringnalda
596e8ff827
Back out 9 changesets (bug 1214305) for e10s devtools browser_bug1045902_console_csp_ignore_reflected_xss_message.js failures
...
Backed out changeset 82929be36e95 (bug 1214305)
Backed out changeset e926606aefbf (bug 1214305)
Backed out changeset 226c83ca9a2a (bug 1214305)
Backed out changeset 88ab26108f2d (bug 1214305)
Backed out changeset 2e3e4f256d46 (bug 1214305)
Backed out changeset 347cd0f8f1e3 (bug 1214305)
Backed out changeset be072bba15fc (bug 1214305)
Backed out changeset 3b85acbe7be7 (bug 1214305)
Backed out changeset 49b930683c02 (bug 1214305)
2015-11-14 10:09:58 -08:00
Ehsan Akhgari
03d8835f92
Bug 1214305 - Part 3: Add a nsIInterceptedChannel.secureUpgradedChannelURI helper; r=jdm
2015-11-02 11:27:00 -05:00
Ehsan Akhgari
39d5e41384
Bug 1214305 - Part 1: Refactor the logic for querying whether a connection should go through a secure upgrade into NS_ShouldSecureUpgrade; r=mcmanus
2015-11-02 11:27:00 -05:00
Jonas Sicking
69d737d7df
Bug 1222829: Remove URIChecker. r=mcmanus
2015-11-09 13:48:05 -08:00
Christoph Kerschbaumer
c209162622
Bug 1222297 - Use channel->Open2() in netwerk/base/nsNetUtil.cpp (r=sicking)
2015-11-08 18:54:38 -08:00
Nathan Froyd
0d181baf2d
Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
...
Many places that (re-)declared gSocketThread already included
nsSocketTransportService2.h; we can delete the declaration for those
places. For all the other places, we need to include
nsSocketTransportService2.h.
2015-11-06 12:00:37 -05:00
Nathan Froyd
f8a4c9d877
Bug 1221151 - use [infallible] in nsILoadInfo.idl instead of manual %{C++ blocks; r=jduell
...
Using [infallible] generates the exact same code as we already have in
the %{C++ blocks. Let's get rid of the %{C++ blocks.
2015-11-03 10:51:24 -05:00
Jonathan Watt
d507cbda58
Bug 1221103 - Add a comment to nsIChannel::securityInfo noting that this info may appear on non-nsHttpChannels and how that may happen. r=bz IGNORE IDL
2015-10-06 18:25:10 +01:00
Ben Kelly
8267928bb3
Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz
2015-11-03 11:20:56 -08:00
Andrea Marchesini
0391daa755
Bug 1219939 - make nsTemporaryFileInputStream nsISeekableStream, r=jduell
2015-11-03 15:12:23 +00:00
Carsten "Tomcat" Book
042b4d64cd
Backed out changeset d8d75be11275 (bug 1220007)
2015-11-03 14:08:04 +01:00
Patrick McManus
073d4a9803
bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu
2015-11-02 23:35:29 -05:00
Christoph Kerschbaumer
1ee2473768
Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking)
2015-11-02 17:31:08 -08:00
Ben Kelly
537f8dad54
Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz
2015-11-02 12:04:29 -08:00
Jonathan Watt
2368545ffe
Bug 1220607 - Expand on the nsILoadGroup interface's comment to indicate how it is used. r=bz IGNORE IDL
2015-09-29 15:49:15 +01:00
Honza Bambas
1e445509dc
Bug 1206060 - Show pinning status at about:cache. r=michal
2015-10-30 08:12:00 +01:00
Christoph Kerschbaumer
7dd3e47cb3
Bug 1194052 - Append to redirectchain before asyncopen() is called (r=sicking,mayhemer)
2015-10-31 15:22:01 -07:00
Christoph Kerschbaumer
08e98bc312
Bug 1194052 - Update Clone() functionality of LoadInfo (r=sicking)
2015-10-31 15:20:48 -07:00
Christoph Kerschbaumer
e15fd3a5f0
Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking)
2015-10-31 15:18:59 -07:00
Bill McCloskey
7c2898d1e6
Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz)
2015-10-30 13:08:41 -07:00
Carsten "Tomcat" Book
cb10921e0d
Backed out changeset 2a233dadfc49 (bug 1219910) for bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : 9d089223ab201540ca0f1852188114c2d2a743bd
2015-10-30 16:09:19 +01:00
Nathan Froyd
a782e5c73e
Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
...
All the places that (re-)declared gSocketThread already included
nsSocketTransportService2.h, so we can safely delete them.
2015-10-29 16:47:23 -04:00
Ben Kelly
69c8a55480
Bug 1215140 P10 Avoid AddRef'ing the nsIChannel OMT. r=bz
2015-10-29 19:53:25 -07:00
Jonathan Hao
b4855726e4
Bug 1217694 - Signed package should come from the moz-package-origin specified in its manifest. r=valentin
2015-10-28 19:16:08 +08:00
Honza Bambas
8f88fd6cdc
Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
...
* * *
Bug NNNNNNN - message, r=reviewer
--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-10-22 12:11:00 +02:00
Makoto Kato
63f3a6b33c
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on netwerk. r=nfroyd
2015-10-28 14:30:07 +09:00
Birunthan Mohanathas
44936aabb2
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Yury Delendik
6a45b9b59b
Bug 1217617 - Fixes nsURIChecker.cpp dependency on nsIURI. r=mcmanus
2015-10-22 17:21:59 -05:00
Jonathan Hao
3d02a2da65
Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin
2015-10-22 17:09:44 +08:00
Ben Kelly
748c384c83
Bug 1212904 P2 Add LoadTainting information to nsILoadInfo. r=jduell
2015-10-22 11:07:32 -07:00
Ben Kelly
47e6f66786
Bug 1212904 P1 Add a LoadTainting enumeration. r=jduell
2015-10-22 11:07:32 -07:00
Dragana Damjanovic
a600313556
Bug 1214786 - Channelwrapper: Fix up maybeWrapChannel to wrap if not gecko internal channel (r=mayhemer,sicking)
2015-10-22 09:56:56 -07:00
Josh Matthews
d3726427db
Bug 1173811
- Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-22 09:23:39 -04:00
Masatoshi Kimura
6ad41c8aee
Bug 1215796 - Remove the static fallback whitelist. r=keeler
2015-10-22 21:37:40 +09:00
Dragana Damjanovic
35a05c4285
Bug 1175685 - add OriginAttribute to LoadInfo. r=jonas, r=ckerschb, r=michal
2015-10-21 23:47:00 +02:00
Phil Ringnalda
6401c0185c
Back out 2 changesets (bug 1173811
) for test_synthesized_response.js timeouts
...
CLOSED TREE
Backed out changeset 56bc1314e660 (bug 1173811
)
Backed out changeset 0ad51d302ba9 (bug 1173811
)
2015-10-21 20:21:05 -07:00
Josh Matthews
591281df75
Bug 1173811
- Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-21 00:05:40 -04:00
Wes Kocher
ceefa2939a
Merge b2ginbound to central, a=merge
2015-10-21 16:37:24 -07:00
Carsten "Tomcat" Book
68ab10be0d
Merge m-c to b2g-inbound on a CLOSED TREE
2015-10-21 15:37:25 +02:00
Patrick McManus
06d7c103e1
bug 1215552 - nsHttpConnectionMgr::PostEvent shouldnt manually ref count r=hurley
2015-10-16 11:36:59 -04:00
Jonathan Hao
e4b1f62b85
Bug 1178448 - Use imported CA in developer mode. r=keeler,valentin
2015-10-08 17:08:45 +08:00
Manish Goregaokar
95218a96a0
Bug 280280 - Make "no proxy for" do domain comparison. r=bagder
...
--HG--
extra : rebase_source : e746931c499bb741191e7cef8df274f3f10aba82
2015-10-21 03:05:00 +02:00
Masatoshi Kimura
a8924119ce
Bug 1201025 - Disable fallback whitelist by default. r=keeler
2015-10-20 20:29:55 +09:00
Valentin Gosu
60f58fbb1a
Bug 1215944 - Return false if string is empty. r=mcmanus
2015-10-20 11:47:12 +02:00
Christoph Kerschbaumer
33fa277605
Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana)
2015-10-09 22:03:27 -07:00
Wes Kocher
c6deb98829
Backed out 3 changesets (bug 1204983) for talos(g2) failures
...
Backed out changeset 00c07b02c8a8 (bug 1204983)
Backed out changeset a4879b180d2d (bug 1204983)
Backed out changeset 38b6f878608a (bug 1204983)
2015-10-19 16:09:33 -07:00
Christoph Kerschbaumer
1526f05f35
Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana)
2015-10-09 22:03:27 -07:00
Jonas Sicking
cc10dd7ad3
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-19 11:14:54 -07:00
Jonas Sicking
4316c13003
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
Henry
fdaaf864d7
Bug 1216062 - Notify OnStartSignedPackagedRequest with package identifier. r=valentin.
2015-10-19 03:33:00 +02:00
Dragana Damjanovic
0f390c8344
Bug 1214122 - Check if addon ProtocolHandler actually provide nsHttpChannel. r=sicking r=mayhemer
2015-10-16 06:07:00 +02:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Daniel Stenberg
19855ea7f7
Bug 1214200: avoid double NS_RELEASE(), r=mcmanus
2015-10-17 08:26:38 -04:00
Carsten "Tomcat" Book
d89def21d7
Merge m-c to b2g-inbound
2015-10-15 12:04:19 +02:00
Yoshi Huang
fb57af4ae6
Bug 1191653 - Listen to clear-origin-data in nsPermissionManager. r=bholley
2015-10-13 10:27:42 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
48d945f4e6
Bug 1197679 - If nsUnknownDecoder is involved in e10s DivertToParent can break. r=jduell
2015-10-11 18:13:09 +02:00
Honza Bambas
4bd41740d0
Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars
2015-10-11 18:13:09 +02:00
Masatoshi Kimura
82aeed3ddc
Bug 1168635 - Extend nsITLSServerSocket to customize cipher suites. r=keeler
2015-10-15 05:48:26 +09:00
Carsten "Tomcat" Book
cfcbb3d261
Backed out changeset 32357df66881 (bug 1168635) for Android s4 test failures
2015-10-14 16:28:59 +02:00
Masatoshi Kimura
d9f0dc8b43
Bug 1168635 - Extend nsITLSServerSocket to customize cipher suites. r=keeler
2015-10-14 21:12:33 +09:00
Daniel Stenberg
7b64106297
Bug 1121800 - when all proxies fail try DIRECT, r=mcmanus
...
To mimic how other browsers do it these days and better deal with wrong
propxy settings lingering.
2015-10-09 01:59:00 +02:00
Ehsan Akhgari
a9097bf0fb
Bug 1213150 - Part 3: Remove nsIInterceptedChannel.isNavigation; r=jdm
2015-10-09 10:52:56 -04:00
Ehsan Akhgari
f303ed36f2
Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm
2015-10-09 10:52:55 -04:00
Henry
4f83bb6af3
Bug 1210573 - Add attribute 'packageIdentifier' to nsIPackagedAppUtils. r=valentin.
2015-10-07 20:02:00 +02:00
Valentin Gosu
a83aaacc09
Bug 1199430 - Reject hostnames containing @. r=mcmanus
...
--HG--
extra : rebase_source : 12ab477ffb559055386f0705e0de37cb4a353410
2015-09-03 21:15:30 +02:00
Ehsan Akhgari
158253749d
Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking
2015-10-06 20:26:46 -04:00
Ehsan Akhgari
c3300a106e
Bug 1210302 - Part 2: Rename NS_ParseContentType to NS_ParseResponseContentType; r=mcmanus,sicking
2015-10-06 20:24:51 -04:00
Ehsan Akhgari
b62b1c1bb8
Bug 1210302 - Part 1: Rename nsINetUtil.parseContentType() to parseResponseContentType(); r=mcmanus
2015-10-06 20:24:49 -04:00
Ben Kelly
d080cc4a26
Bug 1210941 P1 Create the LOAD_BYPASS_SERVICE_WORKER flag. r=jduell
2015-10-06 06:37:06 -07:00
Henry Chang
10017eda0f
Bug 1186290 - Notify TabParent to switch process when loading a signed package. r=honzab, r=kanru.
2015-10-02 05:25:22 -07:00
Christoph Kerschbaumer
10581fce1b
Bug 1206199 - Extend channelwrapper to mediate OnStartRequest, OnStopRequest, OnDataAvailable (r=sicking)
2015-10-05 19:01:35 -07:00
Ethan Tseng
583b7001e7
Bug 1165267 - Part 0: Add util functions NS_GetOriginAttributes. r=honzab
2015-09-03 10:46:03 +08:00
Dragana Damjanovic
e1927c0575
Bug 1152046 - move ClosingService::Start/Shutdown to nsIOService. r=mayhemer
...
--HG--
extra : rebase_source : 473295104e37947bcb6bd531b5c4eb00f7956b64
2015-10-04 13:43:00 +02:00
Bobby Holley
75a560dba5
Bug 1208756 - Introduce URI_FETCHABLE_BY_ANYONE and use it for moz-extension. r=bz
...
This matches the behavior described in
https://developer.chrome.com/extensions/manifest/web_accessible_resources
2015-10-02 15:02:07 -07:00
Cervantes Yu
ad24e39fa4
Bug 1204837, Part 1: Make ClosingService thread Nuwa-friedly. r=khuey
2015-09-16 18:55:44 +08:00
Seth Fowler
ee578a0619
Bug 1118926 (Part 1) - Remove remnants of -moz-resolution in C++ code. r=tn
2015-09-30 17:00:52 -07:00
Jason Orendorff
deb2270515
Bug 1054756, part 5 - Remove Class::convert.
...
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00
Ehsan Akhgari
3414ffd758
Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking
2015-09-26 12:34:16 -04:00
Francois Marier
04e5ed4966
Bug 1208285 - Improve TP debug logging. r=gcp
2015-09-25 20:39:49 -07:00
Wes Kocher
dab2db0590
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
63ed1d6a3e
Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking
2015-09-25 16:09:28 -04:00
Jonathan Hao
ae5a452f5b
Bug 1178518 - Packaged App Utils. r=valentin
2015-09-18 11:50:37 +08:00
Ehsan Akhgari
0bc360edc4
Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku
2015-09-24 10:09:10 -04:00
Carsten "Tomcat" Book
5a0ec4d078
Backed out 1 changesets (bug 1152046) for bustage again on a CLOSED TREE
...
Backed out changeset f579176f1c3e (bug 1152046)
--HG--
extra : rebase_source : b8ccc1b596438abfac81d230f49e821622b5c84b
extra : amend_source : a1e5fd53d07a690ae00794aa268973854a466b23
2015-09-24 08:31:34 +02:00
Dragana Damjanovic
5dbbbf93f4
Bug 1152046 - Disable ClosingService for Firefox OS. r=mcmanus
...
--HG--
extra : rebase_source : fc005bccf525a785e9b87d47236b738eb384c88e
2015-09-23 09:49:00 +02:00
Carsten "Tomcat" Book
8c6fb25f01
Merge mozilla-central to fx-team
...
--HG--
rename : ipc/chromium/src/third_party/libevent-avoid-empty-sighandler.patch => ipc/chromium/src/third_party/libevent/patches/avoid-empty-sighandler.patch
rename : ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch => ipc/chromium/src/third_party/libevent/patches/dont-use-issetugid-on-android.patch
rename : ipc/chromium/src/third_party/libevent/mac-arc4random-buf.patch => ipc/chromium/src/third_party/libevent/patches/mac-arc4random-buf.patch
rename : ipc/chromium/src/third_party/libevent/openbsd-no-arc4random_addrandom.patch => ipc/chromium/src/third_party/libevent/patches/openbsd-no-arc4random_addrandom.patch
rename : ipc/chromium/src/third_party/libevent-use-non-deprecated-syscalls.patch => ipc/chromium/src/third_party/libevent/patches/use-non-deprecated-syscalls.patch
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.sub.html => testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.https.html
extra : rebase_source : 67b20330e6107d82c58c1fb0d90926d799380b54
2015-09-23 12:40:30 +02:00
Florian Quèze
239d577df1
Bug 862148 - remove the DATA_* and TYPE_* constants from nsISearchEngine, r=adw.
2015-09-23 12:05:37 +02:00
Florian Quèze
7f751627bc
Bug 862148 - stop supporting installation of Sherlock plugins through Services.search.addEngine, r=adw.
2015-09-23 12:05:36 +02:00
Nathan Froyd
3eae8069d0
Bug 1202497 - part 7 - make nsEventQueue use external locking; r=gerald
...
We want to ensure that nsThread's use of nsEventQueue uses locking done
in nsThread instead of nsEventQueue, for efficiency's sake: we only need
to lock once in nsThread, rather than the current situation of locking
in nsThread and additionally in nsEventQueue. With the current
structure of nsEventQueue, that would mean that nsThread should be using
a Monitor internally, rather than a Mutex.
Which would be well and good, except that DOM workers use nsThread's
mutex to protect their own, internal CondVar. Switching nsThread to use
a Monitor would mean that either:
- DOM workers drop their internal CondVar in favor of nsThread's
Monitor-owned CondVar. This change seems unlikely to work out well,
because now the Monitor-owned CondVar is performing double duty:
tracking availability of events in nsThread's event queue and
additionally whatever DOM workers were using a CondVar for. Having a
single CondVar track two things in such a fashion is for Experts Only.
- DOM workers grow their own Mutex to protect their own CondVar. Adding
a mutex like this would change locking in subtle ways and seems
unlikely to lead to success.
Using a Monitor in nsThread is therefore untenable, and we would like to
retain the current Mutex that lives in nsThread. Therefore, we need to
have nsEventQueue manage its own condition variable and push the
required (Mutex) locking to the client of nsEventQueue. This scheme
also seems more fitting: external clients merely need synchronized
access to the event queue; the details of managing notifications about
events in the event queue should be left up to the event queue itself.
Doing so also forces us to merge nsEventQueueBase and nsEventQueue:
there's no way to have nsEventQueueBase require an externally-defined
Mutex and then have nsEventQueue subclass nsEventQueueBase and provide
its own Mutex to the superclass. C++ initialization rules (and the way
things like CondVar are constructed) simply forbid it. But that's OK,
because we want a world where nsEventQueue is externally locked anyway,
so there's no reason to have separate classes here.
One casualty of this work is removing ChaosMode support from
nsEventQueue. nsEventQueue had support to delay placing events into the
queue, theoretically giving other threads the chance to put events there
first. Unfortunately, since the thread would have been holding a lock
(as is evident from the MutexAutoLock& parameter required), sleeping in
PutEvent accomplishes nothing but delaying the thread from getting
useful work done. We should support this, but it's complicated to
figure out how to reasonably support this right now.
A wrinkle in this overall pleasant refactoring is that nsThreadPool's
threads wait for limited amounts of time for new events to be placed in
the event queue, so that they can shut themselves down if no new events
are appearing. Setting limits on the number of threads also needs to be
able to wake up all threads, so threads can shut themselves down if
necessary.
Unfortunately, with the transition to nsEventQueue managing its own
condition variable, there's no way for nsThreadPool to perform these
functions, since there's no Monitor to wait on. Therefore, we add a
private API for accessing the condition variable and performing the
tasks nsThreadPool needs.
Prior to all the previous patches, placing items in an nsThread's event
queue required three lock/unlock pairs: one for nsThread's Mutex, one to
enter nsEventQueue's ReentrantMonitor, and one to exit nsEventQueue's
ReentrantMonitor. The upshot of all this work is that we now only
require one lock/unlock pair in nsThread itself, as things should be.
2015-09-20 05:13:09 -04:00
Nathan Froyd
c6238d0d96
Bug 1202497 - part 6 - make the locking requirements of nsEventQueue explicit; r=gerald
...
Like the previous patch, this patch is a no-op change in terms of
functionality. It does, however, pave part of the way for forcing
clients of nsEventQueue to provide their own locking.
2015-09-21 04:34:51 -04:00
Nikhil Marathe
48d53f38df
Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm
...
--HG--
extra : commitid : KSrA2sDx3MI
extra : rebase_source : c28988811316aa40e38752669a928d27750001b6
2015-09-17 11:56:41 -07:00
Ehsan Akhgari
5d40efa578
Bug 1206894 - Enable asynchronous dispatching of fetch events; r=jdm
...
This refactoring patch separates the preparation of the fetch event
object from its dispatching, so that consumers would be able to
dispatch the event asynchronously.
2015-09-21 20:59:27 -04:00
Patrick McManus
53b6eb3848
bug 1187239 - ontransportstatus SENDING_TO should not use request stream re-entrantly r=hurley r=bz
2015-09-15 18:12:37 -04:00
Nicholas Hurley
3054507124
Bug 1198058 - Fix crashes inspecting loadGroups in browser toolbox. r=mcmanus
2015-09-16 09:31:19 -07:00
Dragana Damjanovic
b77e0cb62b
Bug 1204529 - mMaxTimePerPollIter should be atomic. r=mcmanus
2015-09-16 10:23:00 +02:00
Lee Salzman
da5fa47c15
Bug 1205016: double ClosingService thread stack size to avoid stack overflow r=glandium
2015-09-16 20:31:43 -04:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Francois Marier
b0afa1e0fc
Bug 1205138 - Cleanup tracking protection warnings and logs. r=gcp
2015-09-16 16:42:08 -07:00
Nigel Babu
1d36e1a565
Backed out changeset d5d0b5994149 (bug 1152046) for b2g debug hustdown hangs
...
CLOSED TREE
2015-09-16 11:44:12 +05:30
Patrick McManus
daaeed9ec1
bug 1152046 - Revert Make separate thread only for PRClose. r=backout
...
This reverts commit 760a84e7cf
.
2015-09-15 21:40:28 -04:00
Nicholas Nethercote
2ee4fd783b
Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
...
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
59683492e5
Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
...
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote
479244f7c9
Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
...
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b
Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
...
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Ben Kelly
6195e9f02c
Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus
2015-09-15 10:15:45 -07:00
Dragana Damjanovic
09970df1f7
Bug 1204043 - remove mServeMultipleEventsPerPollIter pref. r=mcmanus
2015-09-15 05:10:00 +02:00
Christoph Kerschbaumer
36d3d42c2b
Bug 1204648 - Support AsyncOpen2,Open2,nsIUploadChannel and nsIUploadChannel2 on nsSecCheckWrapChannelBase. r=sicking
2015-09-14 14:21:03 -07:00
Christoph Kerschbaumer
1e5ee64415
Bug 1195162
- Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking)
2015-09-14 18:59:35 -07:00
Wes Kocher
a336f83a0a
Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
...
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Ben Kelly
35d27caaa0
Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus
2015-09-14 12:04:56 -07:00
Nathan Froyd
fd7eb3b17b
Bug 1204042 - make nsSocketTransportService::mTelemetryEnabledPref an atomic variable; r=mcmanus
...
This variable is written on the main thread (where we can access prefs),
but read on the socket thread on every poll iteration to decide whether
we should record telemetry information. Making it atomic communicates
our intent to read/write the value on multiple threads without any
locking. Using relaxed memory consistency is just as efficient as what
we have today, and it does not seem terribly crucial whether the *very
next* poll iteration records telemetry once the pref is updated, or
whether we can eventually get the correct value on the socket thread.
2015-09-11 21:03:53 -04:00
Dragana Damjanovic
760a84e7cf
Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer
...
--HG--
extra : rebase_source : a4f4845023d6cebdd56d75b1ff7afd29447d2167
2015-09-10 19:07:00 +02:00
Christoph Kerschbaumer
485f77a94c
Bug 1199491 - Use channel->ascynOpen2 in netwerk/base/nsURIChecker (r=sicking,jduell)
2015-09-11 18:54:00 -07:00
Christoph Kerschbaumer
c62acea869
Bug 1199491 - Use channel->ascynOpen2 in netwerk/base (r=sicking)
2015-09-11 18:52:08 -07:00
Dragana Damjanovic
4504f5f395
Bug 1197791 - hide password for uri in error and web console. r=michal r=mrbkap
2015-09-11 08:44:00 +02:00
Nicholas Nethercote
f2ac4f7d13
Bug 1202526 (part 2) - Avoid PL_DHashTableRawRemove() in nsLoadGroup. r=mcmanus.
...
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Henry Chang
a524fde346
Bug 1198669 - Add nsIMultiPartChannel.originalResponseHeader support. r=valentin
2015-09-08 10:53:27 +08:00
Henry Chang
d0d222b8de
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
Masatoshi Kimura
dbfc3317da
Bug 1201024 - Disable unrestricted RC4 fallback and add RC4-only servers to the fallback whitelist. r=cykesiopka
2015-09-03 21:50:52 +09:00
Masatoshi Kimura
f54d2601ee
Bug 1201023 - Disable fallback whitelist in Nightly/DevEdition. r=cykesiopka
2015-09-03 21:50:51 +09:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Cykesiopka
0d6549c972
Bug 1197644 - Remove the security.ssl.warn_missing_rfc5746 pref. r=keeler
...
--HG--
extra : transplant_source : %90%28%11%DB%E53%93%7C%F2%D6%5Ek%CC%DC%BE%FAe%F2%896
2015-08-24 22:53:42 -07:00
Valentin Gosu
7833654240
Bug 1196021 - Pass requesting channel to PackagedAppService::GetResource r=ckerschb
2015-08-25 03:06:24 +02:00
Valentin Gosu
ac53c9a29f
Bug 1196021 - Use asyncOpen2 in PackagedAppService r=ckerschb
2015-08-25 03:06:18 +02:00
Francois Marier
186536664b
Bug 1197000 - Better debugging output for Safe Browsing list updates. r=gcp
2015-08-21 13:53:53 -07:00
Sylvestre Ledru
e12068b89d
Bug 1197215 - Remove now unnecessary uses of ok in the predictor. r=hurley
2015-08-21 20:38:58 +02:00
Christoph Kerschbaumer
3e6c68863f
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
Michael Layzell
945c9a35f4
Bug 1195415 - Add asciiHostPort field to nsIURI, and use it in the implementation of nsPrincipal::GetOriginForURI, r=bholley
2015-08-18 14:52:24 -04:00
Arnaud Bienner
2755fa9a57
Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj
...
--HG--
extra : rebase_source : 81df1495200d3734ea1c4c13818ae764a445f4b3
2015-08-14 00:49:15 +02:00
Christoph Kerschbaumer
a2927d618d
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
ec552557f5
Backed out changeset f99b27e40987 (bug 1193924) for B2G emulator bustage.
...
CLOSED TREE
2015-08-13 12:45:05 -04:00
Christoph Kerschbaumer
ecdc701ca0
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
Valentin Gosu
66e6a2979d
Bug 1190450 - TP shield shows up incorrectly when pressing back while loading a page with tracking elements r=mcmanus
2015-08-13 11:14:36 +02:00
Jim Chen
d1f529698f
Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin
2015-08-13 00:53:39 -04:00
Henry Chang
479a6cdcaf
Bug 1185439 - Add preamble to nsIMultiPartChannel for MIME type application/package. r=valentin
2015-08-03 11:17:01 +08:00
Kyle Huey
76e3009ab8
Bug 1179909: Refactor stable state handling. r=smaug
...
This is motivated by three separate but related problems:
1. Our concept of recursion depth is broken for things that run from AfterProcessNextEvent observers (e.g. Promises). We decrement the recursionDepth counter before firing observers, so a Promise callback running at the lowest event loop depth has a recursion depth of 0 (whereas a regular nsIRunnable would be 1). This is a problem because it's impossible to distinguish a Promise running after a sync XHR's onreadystatechange handler from a top-level event (since the former runs with depth 2 - 1 = 1, and the latter runs with just 1).
2. The nsIThreadObserver mechanism that is used by a lot of code to run "after" the current event is a poor fit for anything that runs script. First, the order the observers fire in is the order they were added, not anything fixed by spec. Additionally, running script can cause the event loop to spin, which is a big source of pain here (bholley has some nasty bug caused by this).
3. We run Promises from different points in the code for workers and main thread. The latter runs from XPConnect's nsIThreadObserver callbacks, while the former runs from a hardcoded call to run Promises in the worker event loop. What workers do is particularly problematic because it means we can't get the right recursion depth no matter what we do to nsThread.
The solve this, this patch does the following:
1. Consolidate some handling of microtasks and all handling of stable state from appshell and WorkerPrivate into CycleCollectedJSRuntime.
2. Make the recursionDepth counter only available to CycleCollectedJSRuntime (and its consumers) and remove it from the nsIThreadInternal and nsIThreadObserver APIs.
3. Adjust the recursionDepth counter so that microtasks run with the recursionDepth of the task they are associated with.
4. Introduce the concept of metastable state to replace appshell's RunBeforeNextEvent. Metastable state is reached after every microtask or task is completed. This provides the semantics that bent and I want for IndexedDB, where transactions autocommit at the end of a microtask and do not "spill" from one microtask into a subsequent microtask. This differs from appshell's RunBeforeNextEvent in two ways:
a) It fires between microtasks, which was the motivation for starting this.
b) It no longer ensures that we're at the same event loop depth in the native event queue. bent decided we don't care about this.
5. Reorder stable state to happen after microtasks such as Promises, per HTML. Right now we call the regular thread observers, including appshell, before the main thread observer (XPConnect), so stable state tasks happen before microtasks.
2015-08-11 06:10:46 -07:00
Valentin Gosu
e188358d0d
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
14eb00afeb
$ 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
1e73e39a9d
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
Francois Marier
e5ccece7d7
Bug 1141352 - add a pairwise allowlist to tracking protection. r=gcp
...
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/test_privatebrowsing_trackingprotection.html => toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_whitelist.html
rename : toolkit/components/url-classifier/tests/mochitest/classifiedAnnotatedPBFrame.html => toolkit/components/url-classifier/tests/mochitest/whitelistFrame.html
2015-08-07 13:08:22 -07:00
Nicholas Hurley
65fb80c877
Bug 1190985 - Fix data race in DebugMutexAutoLock r=mcmanus
...
--HG--
extra : rebase_source : 27a37b0244ae734e39291ae298d65593c9c83f67
2015-08-04 14:16:49 -07:00
Birunthan Mohanathas
7315345693
Bug 1191100
- Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Ehsan Akhgari
ec6c2f89ae
Bug 1185982 - Remove the unused NotifyNetworkActivity::mObs member; r=bagder
2015-08-04 18:29:58 -04:00
Nicholas Hurley
16407ea724
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL
...
--HG--
extra : rebase_source : 24dd37c6eaec83a1776d77632b97106e8abb8015
2015-07-31 13:50:08 -07:00
Nicholas Hurley
d61d6f4984
Bug 1127618 (prereq) - Fix compile errors caused by files moving from one unified file to another. r=mcmanus
...
--HG--
extra : rebase_source : b4f3b2487e5a7393114067ffd632c9df6c767b73
2015-07-31 13:48:26 -07:00
Valentin Gosu
089141cbff
Bug 1189852
- link broken when a line break is part of the hash r=mcmanus
2015-08-03 21:00:16 +02:00
Nicholas Hurley
abb4485542
Bug 1152048 - Send wakeup notification asynchronously to avoid reentrancy issues. r=bagder
...
--HG--
extra : rebase_source : 059c2292f443c972e144256298987e05f22c58f3
extra : histedit_source : 1ff8d3674fc3c911f83b80d920ee57f7d00def1a
2015-07-31 13:39:48 -07:00
Nicholas Hurley
e3cddeaf6a
Bug 1152048 - Make the RELEASE_ASSERT on the sts lock a DIAGNOSTIC_ASSERT. r=bagder
...
--HG--
extra : rebase_source : ad174342a2ed85229611a848314776d8c5568287
extra : histedit_source : dea062e08393566ab0b00c8afa2ff3d1f3d302fe
2015-07-31 13:33:48 -07:00
Carsten "Tomcat" Book
9fcb673926
Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE
...
--HG--
rename : netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js
2015-07-31 07:57:50 +02:00
Valentin Gosu
30be843b5b
Bug 1032254 - Provide a way to pin resources in the http cache r=honzab
...
--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-07-30 11:40:00 +02:00
Wes Kocher
98e5242831
Backed out changeset 2bdaed564656 (bug 1125961) for b2g emulator mochitest-21 failures starting in test_fetch_event_client_postmessage.html
2015-07-30 14:53:38 -07:00
Josh Matthews
77fd3928cf
Bug 1125961 - Allow sending null PBrowser actors when there's a triggering principal which can be used for security checks. r=bkelly,ddamjano
2015-06-03 15:07:42 -04:00
Wes Kocher
1ca8b1de87
Merge b2ginbound to central, a=merge
2015-07-29 20:19:12 -07:00
Jessica Jong
3d60b78a00
Bug 1167132 - Part 13: [NetworkManager] Move network information into a separate interface (Necko/NetStats). r=ethan
2015-07-29 02:14:00 -04:00
Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Bobby Holley
4fefff8e42
Bug 1186152 - Implement nsIProtocolHandlerWithDynamicFlags and use it for moz-extension. r=bz
2015-07-28 12:26:51 -07:00
Panos Astithas
398e652b24
Bug 1145503 - TP exceptions added while in Private Browsing mode persist beyond the Private Browsing session. r=ehsan
2015-07-26 13:23:12 +03:00
Nicholas Hurley
b99d1f87cc
Bug 1181258 - Limit URI length the predictor keeps. r=honzab
2015-07-23 12:21:59 -07:00
Dragana Damjanovic
d2a76a0465
Bug 1183579 - Inline some function needed purplexpcom. r=jduell
...
--HG--
extra : rebase_source : 600a10f2b1d8731534d0e6eedeed6ff4744a86e7
2015-07-14 04:02:00 +02:00
Dragana Damjanovic
c5dbe5ac93
Bug 1182066 - Enforce defaultLoadFlags for all requests. r=mayhemer
...
--HG--
extra : rebase_source : f2239d857000f4dab462fa043a18600919151816
2015-07-21 09:23:00 -04:00
Franziskus Kiefer
b4e4b6d771
Bug 1174913 - remove unnecessary attribute parsing. r=bz
2015-07-13 18:04:42 -07:00
Franziskus Kiefer
e97220a88e
Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz
2015-06-05 15:25:24 -07:00
Ehsan Akhgari
f2b409b6c9
Bug 1185515 follow-up: Include nsProxyRelease.h in nsUDPSocket.h, landed on a CLOSED TREE
2015-07-20 18:17:54 -04:00
Christoph Kerschbaumer
2ddb4064ec
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
Christoph Kerschbaumer
bf53f62d80
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
bcc6bfffb4
Bug 1175803 - Store redirect chain within loadInfo - part 2 (r=sicking,mayhemer)
2015-07-19 19:43:09 -07:00
Christoph Kerschbaumer
c0cc3c5614
Bug 1175803 - Store redirect chain within loadInfo - part 1 (r=sicking,mayhemer)
2015-07-19 19:11:03 -07:00
Michael Layzell
9d564ec2dd
Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan
2015-07-16 14:49:22 -04:00
Benoit Girard
fe3dfcf5b2
Bug 1182516 - Add Chaos Mode environment variable MOZ_CHAOSMODE. r=roc
...
--HG--
extra : commitid : qfYBMvxZ7k
extra : rebase_source : 4c7098464712d7e5fa88ba1d8fba7c044772b0d6
2015-07-14 17:29:23 -04:00
Francois Marier
741f8fa206
Bug 1180323 - Only look at TP table before cancelling speculative connections. r=gcp
...
--HG--
extra : transplant_source : w/%18%F8VL%0B%F4%D2%2ApY%03%D8%26%B2%26A%A1%13
2015-07-11 19:19:29 +02:00
Wes Kocher
ff2f0d32cf
Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
...
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Ben Kelly
e2321797dc
Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm
2015-07-14 13:11:26 -07:00
Michael Layzell
56a5f8273e
Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan
2015-07-14 15:06:15 -04:00
Valentin Gosu
9d522729df
Bug 1182515 - Clear reference to captive portal service when observing xpcom-shutdown. r=mcmanus
2015-07-13 15:50:58 +02:00
Christoph Kerschbaumer
2bd129394d
Bug 1180964 - Provide a C++ friendly version of LoadInfo on nsIChannel - IGNORE IDL (r=sicking,sworkman)
2015-07-13 22:50:34 -07:00
Christoph Kerschbaumer
c255f4187b
Bug 1179505 - Make LoadInfo arguments optional in ipdl (r=bent,sicking)
2015-07-13 22:43:13 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Valentin Gosu
ee3e5e80ec
Bug 1179779 - Neither XRE_START_OFFLINE nor -offline work any more. r=mayhemer
2015-07-08 15:56:12 +02:00
Wes Kocher
aec62d3dc0
Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
...
--HG--
extra : amend_source : 82d7af13e11137e614b0b1bd12f5af3108551bfc
2015-07-10 15:59:01 -07:00
Ben Kelly
2a31a01e4b
Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm
2015-07-10 14:28:32 -07:00
Christoph Kerschbaumer
7685654149
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - loadinfo changes (r=sicking,sworkman)
...
--HG--
extra : rebase_source : 3582ac42bcd0cc0dee332505880c2a65d87964eb
2015-07-10 13:57:55 -07:00
Randell Jesup
c87c478f4f
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Julian Seward
522ddb2178
Bug 1180195 - Uninitialised value use in Predictor::SpaceCleaner::OnMetaDataElement. r=hurley@todesschaf.org.
...
--HG--
extra : rebase_source : 80764bcd5cedd114c57af335dbc11a559a0f379b
2015-07-09 00:18:54 +02:00
Dragana Damjanovic
4900e9e338
Bug 1152046 - add telemetry for time spent in connect/close. r=mayhemer
...
--HG--
extra : rebase_source : 1166706f2360016b020aa5de8ab9a1c4f431b9b7
2015-07-07 11:13:00 +02:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Dragana Damjanovic
8ac07f817c
Bug 905127 - Make some functions from nsNetUtil not inline. r=jduell
2015-05-20 04:48:00 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Michael Layzell
3eb46d5372
Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan
2015-07-03 17:12:17 -04:00
Ehsan Akhgari
4484832cb5
Backout bug 1170200 because of test failures on a CLOSED TREE
2015-07-03 16:43:47 -04:00
Michael Layzell
0e9fa18ac8
Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan
2015-07-03 14:17:11 -04:00
Valentin Gosu
754aea4980
Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus
2014-10-14 00:35:51 +03:00
Valentin Gosu
e869aebc27
Bug 1048131 - Implement CaptivePortalService using nsICaptivePortalDetector r=mcmanus
2014-10-14 00:34:03 +03:00
Carsten "Tomcat" Book
148c5433eb
Backed out changeset ddd6b2e3aead (bug 1048131)
2015-07-03 14:26:03 +02:00
Carsten "Tomcat" Book
7cda123145
Backed out changeset 49f72333b407 (bug 1048131)
2015-07-03 14:25:56 +02:00
Valentin Gosu
fb74912cb6
Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus
2014-10-14 00:35:51 +03:00
Valentin Gosu
95e62eb914
Bug 1048131 - Implement CaptivePortalService using nsICaptivePortalDetector r=mcmanus
2014-10-14 00:34:03 +03:00
Franziskus Kiefer
2ae91f6891
Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
...
--HG--
extra : rebase_source : ceb3a3d18acf7deb9d13cfae499b7e112db8ffce
2015-06-05 15:25:24 -07:00
Dragana Damjanovic
71de884cdc
Bug 1177848 - Add telemetry to measure ipv6 miss and hits. r=mcmanus
2015-07-01 13:51:00 +02:00
Dragana Damjanovic
b5075f0de3
Bug 1170197 - If a channel is suspended in http-on-modify-request, it should not send any trafic untill resumed. r=mayhemer
2015-06-18 10:57:00 -04:00
Carsten "Tomcat" Book
8bc87efb1e
Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage
2015-07-01 08:19:28 +02:00
Franziskus Kiefer
91b0523177
Bug 1166910 - referrer attribute for img tag. r=hsivonen
2015-06-05 15:25:24 -07:00
Eric Rahm
c7c7afa9ce
Bug 1177541 - Remove warning if file is not found during deferred open. r=mcmanus
...
When doing a deferred open we should not emit a warning if the file is not
found. The proper return code is still returned.
2015-06-30 09:33:37 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Ehsan Akhgari
60626aff92
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
Nicholas Hurley
ff91c700ee
Bug 959752 - Make the network predictor work under e10s. r=mcmanus
2015-06-18 11:23:00 +02:00