Commit Graph

6439 Commits

Author SHA1 Message Date
Nicholas Nethercote
7b49cfdff7 Bug 1182961 (part 5) - Use nsTHashtable::Iterator in nsCookieService. r=michal. 2015-07-26 23:40:51 -07:00
Nicholas Nethercote
3a124c7d83 Bug 1182961 (part 4) - Use nsTHashtable::Iterator in CacheFileHandles. r=michal. 2015-07-26 23:31:22 -07:00
Nicholas Nethercote
3369fe25e4 Bug 1182961 (part 3) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-26 20:35:31 -07:00
Nicholas Nethercote
be073fb3d1 Bug 1182961 (part 2) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-26 20:15:36 -07:00
Nicholas Nethercote
6b10b70e43 Bug 1182961 (part 1) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-28 21:14:39 -07:00
Birunthan Mohanathas
9b6236a10a 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
17dea0172b Bug 1185982 - Remove the unused NotifyNetworkActivity::mObs member; r=bagder 2015-08-04 18:29:58 -04:00
Nicholas Hurley
9b18467d6c Bug 1190985 - Fix data race in DebugMutexAutoLock r=mcmanus 2015-08-04 14:16:49 -07:00
Nicholas Nethercote
845b474b3c Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)
2015-07-30 21:19:57 -07:00
Nicholas Nethercote
f23a15f104 Bug 1189156 (part 2) - Don't use enumeration style for nsTHashtable::SizeOf{In,Ex}cludingThis(). r=erahm.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

And we still have the existing single-arg SizeOf{In,Ex}cluding() functions,
which work if the entry type itself defines SizeOfExcludingThis().
2015-07-29 01:50:52 -07:00
Nicholas Hurley
2a538e6b19 No bug - Remove extra printf left over from bug 1127618. r=smaug 2015-08-03 14:14:39 -07:00
Nicholas Hurley
8642eb435f Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL 2015-07-31 13:50:08 -07:00
Nicholas Hurley
c2f1ab6c42 Bug 1127618 (prereq) - Fix compile errors caused by files moving from one unified file to another. r=mcmanus 2015-07-31 13:48:26 -07:00
Valentin Gosu
1787b1a501 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
6eabc3c8fb Bug 1152048 - Send wakeup notification asynchronously to avoid reentrancy issues. r=bagder 2015-07-31 13:39:48 -07:00
Nicholas Hurley
7130c90abc Bug 1152048 - Make the RELEASE_ASSERT on the sts lock a DIAGNOSTIC_ASSERT. r=bagder 2015-07-31 13:33:48 -07:00
David Keeler
9db6074701 bug 1188100 - fold PSM's test_client_cert.js into necko's test_tls_server.js r=mcmanus 2015-07-29 14:27:54 -07:00
Muhsin Ali Steiman
f5da7292b5 Bug 1190069 - Fix uninitialized variable in MDNSResponderOperator.cpp. r=xeonchen 2015-08-01 11:26:00 -04:00
Carsten "Tomcat" Book
05d8bcb28a Merge mozilla-central to fx-team 2015-08-07 13:21:30 +02:00
Liang-Heng Chen
a03cd54bd7 Bug 1188935 - Part 2: enable mDNS module on Android only if API level >= 21; r=mcmanus 2015-08-06 03:23:00 +02:00
Nicholas Nethercote
90c3d013d4 Backout bff74cecc67c, ffe0edb2aae7, b60b7c267cef, 6da154b43265, bcf6fd3ab9bb (bug 1182961 parts 1--5) for possible intermittent failures and performance problems.
a=bustage
2015-08-06 16:30:47 -07:00
Nate Hughes
9872157f6a Bug 1188421 - Properly null memory reporter's compressor reference. r=hurley 2015-07-30 12:31:43 -07:00
Carsten "Tomcat" Book
95be8cfd85 Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE 2015-07-31 07:57:50 +02:00
Michal Novotny
d6b0e24dad Bug 1137008 - Implement missing parameters of WebSocket permessage compression extension, r=jduell 2015-07-31 07:12:53 +02:00
Nicholas Nethercote
d130e7465e Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj.
After this change, we have PLDHashTable::ShallowSizeOf{In,Ex}cludingThis(),
which don't do anything to measure children. (They can be combined with
iteration to measure children.)

This patch also removes the PL_DHashTableSizeOf{In,Ex}cludingThis() functions.
They're not necessary because the methods can be used instead.

Finally, the patch deliberately converts some SizeOfExcludingThis() calls to
SizeOfIncludingThis(). These are all done on heap pointers so this change is
valid.
2015-07-29 22:28:20 -07:00
Valentin Gosu
7ee1294a35 Bug 1032254 - Provide a way to pin resources in the http cache r=honzab 2015-07-30 11:40:00 +02:00
Wes Kocher
ed691c7329 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
Gervase Markham
0aa452b61b Bug 1182042 - Update PSL to latest version from Github. r=gerv 2015-07-30 09:48:00 -04:00
Ryan VanderMeulen
eea81fd1fa Backed out changeset 0ad329ed192e for landing with the wrong bug number in the commit message. 2015-07-30 16:29:03 -04:00
Gervase Markham
8aad3c95d5 Bug 1107311 - Update PSL to latest version from Github. r=gerv 2015-07-30 09:48:00 -04:00
Ryan VanderMeulen
35257ce14a Merge m-c to inbound. a=merge 2015-07-30 16:09:17 -04:00
Ryan VanderMeulen
5ec75e6c41 Merge inbound to m-c. a=merge 2015-07-30 16:08:21 -04:00
Shian-Yow Wu
da68acf71a Bug 1069081 - Part 1: Always cache fd in JAR cache except Windows. r=mwu 2015-07-30 16:05:57 +08:00
Wes Kocher
13400e57d2 Merge b2ginbound to central, a=merge 2015-07-29 20:19:12 -07:00
Jessica Jong
f656b772a3 Bug 1167132 - Part 13: [NetworkManager] Move network information into a separate interface (Necko/NetStats). r=ethan 2015-07-29 02:14:00 -04:00
Josh Matthews
4eeb8b6066 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
Nicholas Nethercote
b003fba482 Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Bobby Holley
106e778c81 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Bobby Holley
7492f57830 Bug 1186732 - Implement an about:blank page inside of moz-extension. r=billm 2015-07-28 17:18:05 -07:00
Bobby Holley
ea90ac6024 Bug 1186152 - Implement nsIProtocolHandlerWithDynamicFlags and use it for moz-extension. r=bz 2015-07-28 12:26:51 -07:00
Ehsan Akhgari
03166bf29d Bug 1188205 - Fix more constructors in netwerk; r=mcmanus 2015-07-28 08:53:24 -04:00
Valentin Gosu
e5dcf8e4f1 Bug 1182487 - Add test for opening the channel with nsIRequest::INHIBIT_CACHING flag set. r=michal 2015-07-10 16:31:43 +02:00
Honza Bambas
d11786e1bf Bug 1182487 - Don't try to write to HTTP cache entry in nsHttpChannel when entry is open for reading only. r=michal 2015-07-15 13:30:00 +02:00
Bobby Holley
87d592016e Bug 1186155 - Use UNIFIED_SOURCES in netwerk/protocol/res. r=billm,sr=mcmanus 2015-07-27 16:30:43 -07:00
Ryan VanderMeulen
aaaf344ec6 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Jason Duell
28b7e8a9b5 Bug 1176073 - Missing mIPCClosed check in SendReportSecurityMessage. r=honza 2015-07-14 15:03:00 +02:00
Panos Astithas
e3084d3f15 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
Blake Kaplan
fefbd6cb3d Bug 1144631 - Make FTP with auth prompts work in e10s. r=billm/dragana 2015-07-21 17:15:00 +02:00
Nate Hughes
b12d6d89f1 Bug 986302 - Add memory reporting for HPACK tables r=hurley r=njn 2015-07-17 14:38:10 -07:00
Blake Kaplan
0aaf0ada51 Bug 1186920 - Fix b2g applications that use cookies. r=gwagner 2015-07-23 19:00:49 -07:00
Nicholas Hurley
687fcc56a9 Bug 1181258 - Limit URI length the predictor keeps. r=honzab 2015-07-23 12:21:59 -07:00
Eric Rahm
2e955093fe Bug 1184275 - Remove warnings that URI is not a file URI. r=jduell
This error is handled properly and appears to happen due to legitimate usage.
The warnings are updated to just return the proper error code.
2015-07-23 11:03:25 -07:00
Valentin Gosu
beea81b4ee Bug 1170837 - Provide way to update packaged apps r=honzab 2015-07-23 17:38:40 +02:00
Valentin Gosu
3cc3aa4723 Bug 1170837 - Add static GetPackageURI method to PackagedAppService r=honzab 2015-07-23 17:38:36 +02:00
Valentin Gosu
922ebfe6d5 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
46cc91f872 Backed out changeset 86b2cd28a91b (bug 1170837) for bustage on a CLOSED TREE 2015-07-23 14:37:22 +02:00
Carsten "Tomcat" Book
0571413928 Backed out changeset 35e4460b0194 (bug 1170837) 2015-07-23 14:30:12 +02:00
Carsten "Tomcat" Book
b71116aff0 Backed out changeset 396674528152 (bug 1170837) 2015-07-23 14:25:37 +02:00
Valentin Gosu
3c7b12f33b Bug 1170837 - Provide way to update packaged apps r=honzab 2015-07-23 14:07:09 +02:00
Valentin Gosu
d3cb36b78f Bug 1170837 - Add static GetPackageURI method to PackagedAppService r=honzab 2015-07-23 14:07:04 +02:00
Valentin Gosu
e44f2007c1 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
Carsten "Tomcat" Book
f1fda3e36e merge mozilla-inbound to mozilla-central a=merge 2015-07-23 12:02:27 +02:00
Ryan VanderMeulen
52064e622b Backed out changeset 60d045b1c1a6 (bug 1183781) for causing bug 1186435. a=me 2015-07-22 22:12:29 -04:00
Ryan VanderMeulen
17e59e21b1 Merge inbound to m-c. a=merge 2015-07-22 16:34:07 -04:00
Michal Novotny
4ef74fc900 Bug 1177278 - Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab 2015-07-22 15:23:16 +02:00
Magnus Melin
0466f8b50e Bug 1176612 - the browser.cache prefs must be set before the predictor is created. r=hurley
Was causing comm-central failures:
 TEST-UNEXPECTED-TIMEOUT | netwerk/test/unit/test_predictor.js | Test timed out
 TEST-UNEXPECTED-TIMEOUT | netwerk/test/unit_ipc/test_predictor_wrap.js | Test timed out
2015-07-21 23:20:20 +03:00
Bobby Holley
f694ec0a43 Bug 1161831 - Forbid mapping to anything but file:// and jar:// URIs. r=billm,sr=bz 2015-07-21 12:57:23 -07:00
Bobby Holley
511cc8c18f Bug 1161831 - Implement moz-extension protocol. r=bz,r=billm,sr=mcmanus
The heavy lifting all happened in the previous patch, so this is easy now.
2015-07-21 12:57:22 -07:00
Bobby Holley
c9b2b450bb Bug 1161831 - Factor the sharable bits out of nsIResProtocolHandler. r=billm 2015-07-21 12:57:21 -07:00
Bobby Holley
7c93dba236 Bug 1161831 - Stop using threaddsafe ISupports for nsResProtocolHandler. r=billm
As far as I can tell, this thing isn't threadsafe at all.
2015-07-21 12:57:21 -07:00
Dragana Damjanovic
78df4240e2 Bug 1182066 - Enforce defaultLoadFlags for all requests. r=mayhemer 2015-07-21 09:23:00 -04:00
Steven Michaud
67d9952134 Bug 1186042 - "Undeclared identifier" errors building nsAboutBloat.cpp. r=jduell 2015-07-21 13:04:47 -05:00
Ehsan Akhgari
ca66733e18 Bug 1185988 - Don't hold the observer service alive from nsHttpHandler; r=mcmanus 2015-07-21 13:40:33 -04:00
Michael Layzell
ea769d03ae Bug 1184971 - Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService. r=ehsan 2015-07-17 08:01:00 +02:00
Carsten "Tomcat" Book
946afe94d0 Backed out changeset 2f4b5acae553 (bug 1184971) for causing OS X Memory Leaks 2015-07-21 10:27:44 +02:00
Carsten "Tomcat" Book
c70f141ba4 Backed out changeset 8b90b21e0c64 (bug 986302) for static build failures 2015-07-21 08:53:37 +02:00
Franziskus Kiefer
5282901ef0 Bug 1174913 - remove unnecessary attribute parsing. r=bz 2015-07-13 18:04:42 -07:00
Carsten "Tomcat" Book
bb0928ae59 Merge mozilla-central to fx-team 2015-07-22 14:09:48 +02:00
Blake Kaplan
a0d50ea7d2 Bug 1139953 - Pass a dummy channel into the cookie service so that nsICookiePermission can compute private browsing mode correctly. r=jdm 2015-07-17 14:52:00 +02:00
Franziskus Kiefer
2c70bcc951 Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz 2015-06-05 15:25:24 -07:00
Michael Layzell
a0830685a4 Bug 1184971 - Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService. r=ehsan 2015-07-17 08:01:00 +02:00
Nate Hughes
0e64d8f9c5 Bug 986302 - Add memory reporting for HPACK tables. r=hurley r=njn 2015-07-17 14:38:10 -07:00
Ehsan Akhgari
f42e7565ae Bug 1185515 follow-up: Include nsProxyRelease.h in nsUDPSocket.h, landed on a CLOSED TREE 2015-07-20 18:17:54 -04:00
Ehsan Akhgari
3171e4a984 Bug 1185515 - Don't hold the observer service alive from nsDNSService; r=mcmanus 2015-07-20 17:51:33 -04:00
Christoph Kerschbaumer
f99130c81b 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
c12c53450c 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
897b9bccb9 Bug 1175803 - Store redirect chain within loadInfo - part 3 e10s (r=mrbkap,mayhemer) 2015-07-19 19:11:38 -07:00
Christoph Kerschbaumer
e4978b4cc9 Bug 1175803 - Store redirect chain within loadInfo - part 2 (r=sicking,mayhemer) 2015-07-19 19:43:09 -07:00
Christoph Kerschbaumer
a1adafb4ba Bug 1175803 - Store redirect chain within loadInfo - part 1 (r=sicking,mayhemer) 2015-07-19 19:11:03 -07:00
Ehsan Akhgari
82a433cdd6 Bug 1184395 - Remove nsCookieService::mObserverService; r=jdm
This is done to ensure that the cookie service cannot hold the observer
service alive.
2015-07-17 21:09:04 -04:00
Valentin Gosu
47295c09f9 Bug 1183781 - Fix leak in nsHostResolver r=sworkman 2015-07-18 00:22:45 +02:00
Ryan VanderMeulen
d15decc3a7 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-17 10:27:24 -04:00
Ryan VanderMeulen
078d2ab402 Merge inbound to m-c. a=merge 2015-07-17 10:26:22 -04:00
Valentin Gosu
5b77d96fef Bug 1172233 - Allow web packaged apps to be served without a mimetype r=mcmanus 2015-07-17 14:25:43 +02:00
Valentin Gosu
273814e79e Bug 1153929 - Add diagnostic asserts to check vtable is still present for mPipeOut r=mcmanus 2015-07-17 14:15:56 +02:00
Ryan VanderMeulen
4f75be6ece Merge m-c to fx-team. a=merge 2015-07-16 16:23:27 -04:00
Benoit Girard
2e648924e7 Bug 1182516 - Add Chaos Mode environment variable MOZ_CHAOSMODE. r=roc 2015-07-14 17:29:23 -04:00
Francois Marier
0e3e4adfee Bug 1180323 - Only look at TP table before cancelling speculative connections. r=gcp 2015-07-11 19:19:29 +02:00
Simon Montagu
9f32d87101 Bug 1183209 patch 3: update generated data files to Unicode 8, and adapt internal XIDMOD types to the new types in Unicode's xidmodifications.txt, r=jfkthame 2015-07-15 05:55:24 -07:00
Liang-Heng Chen
a54f60519d Bug 1158029 - Part 2: mDNS XPCOM module using NsdManager. r=mcmanus 2015-07-16 02:43:00 -04:00