Commit Graph

12942 Commits

Author SHA1 Message Date
Tim Huang
c4f79ec32f Bug 1267910 - Part 3: Add test cases for add() and getCookiesFromHost() of the nsICookieManager2. r=jdm
--HG--
extra : rebase_source : d99511c519fd305177b8b55c17f7c2a2e6dd44ce
2016-05-25 11:54:22 +08:00
Tim Huang
8ec727cd19 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 288c9cab8340c5cc06861d4f2c7ee43ae4de608e
2016-05-25 11:54:21 +08:00
Tim Huang
cc903e433a Bug 1267910 - Part 1: Make the API getCookiesFromHost of the nsICookieManager2 OriginAttributes-aware. r=jdm
--HG--
extra : rebase_source : 18945a3aac4c331a1513ac402553d725cf334b76
2016-05-25 11:54:21 +08:00
Jorg K
edd18bacb6 Bug 1274602 - When checking for tags, allow for white-space. r=honzab 2016-05-25 05:56:00 -04:00
mitchdevel
ce5b229c18 Bug 219157 - Fix to prevent 3rd party sites from getting cookies r=valentin
MozReview-Commit-ID: A0ltsuDnxnf
2016-05-20 16:48:00 +02:00
Valentin Gosu
737056c72c Bug 219157 - Test that cookies are set only when domain has permission. r=mcmanus
MozReview-Commit-ID: 4TGEpvbJxUd
2016-05-20 02:40:50 +02:00
Valentin Gosu
fa4080a0a7 Bug 1272284 - Encode C0 controls in path, query and hash r=mcmanus
MozReview-Commit-ID: 1zGRjVmAWts
2016-05-25 16:23:38 +02:00
Valentin Gosu
78d21aba95 Bug 1271955 - Strip leading and trailing C0 controls and space for urls passed to new URL() r=mcmanus
MozReview-Commit-ID: B7BiKE6P7GA
2016-05-25 16:23:37 +02:00
Honza Bambas
6be1404013 Bug 1273875 - On shutdown leak HTTP cache entries memory, r=michal 2016-05-18 06:39:00 +02:00
Christoph Kerschbaumer
031a59734b Bug 1196013 - Use channel->ascynOpen2 in toolkit/components/places. r=billm r=sicking r=mak 2016-05-23 23:57:31 +02:00
Dragana Damjanovic
c10122236d Bug 507571 - Lock nsHttpResponseHead. r=mcmanus 2016-05-24 06:07:00 +02:00
Thomas Zimmermann
aed91b79c5 Bug 1275510: RTSP: Add namespace when refering to |gIOService|, r=dragana
MozReview-Commit-ID: 1Es1i5qLJgl
2016-05-25 12:40:29 +02:00
David Keeler
e87f6f88e2 bug 1273677 - ensure session cache is properly configured and torn down for TLSServerSocket r=mcmanus
MozReview-Commit-ID: 6i7HxTdLcID

--HG--
extra : rebase_source : 3c1b4c0ed798c166cbc2bcad71de90543af176c1
2016-05-23 13:58:56 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
3041af917a Bug 1274509 - Use ReentrantMonitor for nsHttpRequestHead because VisitHeaders calls Visitor lock. r=mcmanus
--HG--
extra : rebase_source : 8ce7de7678b1f53254914ac8c1ef278c165fcd0c
2016-05-24 04:17:00 +02:00
Honza Bambas
2cea93fbf9 Bug 1268569 - Don't bother removing files from cache2/doomed dir after shutdown. r=michal
--HG--
extra : rebase_source : 0d8a1963584261a784ab9708bcb5f4ae5c4b2d71
2016-05-20 09:04:00 +02:00
Patrick McManus
636ad8d0dc Bug 1202468 - remove mPendingQ lock r=dragana 2016-05-23 12:20:58 -04:00
Patrick McManus
11128b2023 Bug 1275054 - Remove expired NETWORK_SESSION_AT_256FD telemetry r=dragana 2016-05-23 13:48:18 -04:00
Jan Horak
c623d87906 Bug 890908 - "Move Negotiate auth off main thread". r=mayhemer
--HG--
extra : rebase_source : db273dc19ab332a9c858778d6569c044e2901e93
2016-05-20 06:07:00 +02:00
Carsten "Tomcat" Book
011399bbde Backed out changeset d34a99623615 (bug 1274509) for bustage on a CLOSED TREE 2016-05-24 11:22:23 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
a499148e40 Bug 1274509 - Use ReentrantMonitor for nsHttpRequestHead because VisitHeaders calls Visitor lock. r=mcmanus 2016-05-23 00:24:00 +02:00
Jorg K
85e809c570 Bug 1274242 - Linkify should not stop at |. r=valentin 2016-05-23 05:45:00 +02:00
Patrick McManus
2cd574f25f Bug 1274376 - more mozilla::net namespaces r=dragana
--HG--
extra : rebase_source : 914d48f23a4a5db052a789b9e21c1ff922533d35
2016-05-18 22:02:57 -04:00
Carsten "Tomcat" Book
2bec84cd13 Backed out changeset e3f130f1eb76 (bug 890908) for suspicion that something in this push caused failing Crashtests and Android/Valgrind issues on a CLOSED TREE 2016-05-23 11:37:57 +02:00
Jan Horak
1e1c7080c8 Bug 890908 - "Move Negotiate auth off main thread". r=mayhemer
--HG--
extra : rebase_source : 812c6c2237f01b5ad99f2dc2e0fd3d95a6d9f8c7
2016-05-20 06:07:00 +02:00
Chris Peterson
2dec5055ef Bug 1274162 - Fix -Wshadow warnings in netwerk/protocol/http/ directory. r=mcmanus
netwerk/protocol/http/nsHttpHeaderArray.h:96:63 [-Wshadow] declaration shadows a field of 'mozilla::net::nsHttpHeaderArray::nsEntry'
netwerk/protocol/http/Http2Session.cpp:2766:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpBaseChannel.cpp:1886:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpChannelChild.cpp:265:53 [-Wshadow] declaration shadows a field of 'mozilla::net::AssociateApplicationCacheEvent'
netwerk/protocol/http/HttpChannelChild.cpp:266:53 [-Wshadow] declaration shadows a field of 'mozilla::net::AssociateApplicationCacheEvent'
netwerk/protocol/http/HttpChannelChild.cpp:2566:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpChannelParent.cpp:397:17 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/InterceptedChannel.cpp:276:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/InterceptedChannel.cpp:285:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/SpdySession31.cpp:2177:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsCORSListenerProxy.cpp:304:30 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:796:17 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:4474:35 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:5915:18 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnection.cpp:982:21 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:1220:43 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:1240:43 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:2247:27 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:2758:23 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpPipeline.cpp:709:30 [-Wshadow] declaration shadows a local variable
2016-05-10 23:57:24 -07:00
Wes Kocher
2596f34110 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Daniel Holbert
b09bf9aef3 Bug 1274044: Relax assertion in nsStandardURL for case when mDefaultPort is -1. r=valentin
The assertion is trying to require that the caller should never pass in mDefaultPort; instead, the caller should pass -1. BUT, if mDefaultPort is itself -1 (i.e. there's no default port), then we need to allow the caller to pass in -1 without spamming an assertion.

MozReview-Commit-ID: GKxndkJoXcv

--HG--
extra : rebase_source : 3fcd7815ec3e64a71f0f34efd1a397be8f3dc9a2
2016-05-19 10:05:17 -07:00
Sebastian Hengst
468fcc6924 Backed out changeset 2292661153e3 (bug 1271198) for web-platform failures. r=backout on a CLOSED TREE 2016-05-19 17:06:04 +02:00
Christoph Kerschbaumer
bbc661631e Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 15:42:01 +02:00
Tim Huang
bfd4ca4961 Bug 1267910 - Part 3: Add test cases for add() and getCookiesFromHost() of the nsICookieManager2. r=jdm
--HG--
extra : rebase_source : c81c3692ee7203e0023e7e2aab42c5ca1cad1b87
2016-05-18 20:44:00 -04:00
Tim Huang
ad550d017f Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 3d8b306dfa83363c01c4db5d018c55fddf6d1595
2016-05-18 20:42:00 -04:00
Tim Huang
589b71d649 Bug 1267910 - Part 1: Make the API getCookiesFromHost of the nsICookieManager2 OriginAttributes-aware. r=jdm
--HG--
extra : rebase_source : a36d46df6a43f2a1283bf4c2f55b0d2247c98673
2016-05-13 02:29:00 -04:00
Martin Thomson
103d3aba59 Bug 1250568 - Adding TLS 1.3 to nsISSLStatus, r=keeler
MozReview-Commit-ID: 4mLdtsdFoKN

--HG--
extra : rebase_source : 8526499c8765a14efeec22950372c738d8dc8b95
2016-04-04 16:21:19 -03:00
Daniel Stenberg
00f4a04098 Bug 1273165 - Sync networkid calculation with the event coalescing. r=mcmanus
--HG--
extra : rebase_source : 384e11efdea2ea4281276867231a1007df027f98
2016-05-16 08:09:00 -04:00
Sebastian Hengst
d6e3286232 Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE 2016-05-19 14:23:51 +02:00
Christoph Kerschbaumer
0e2d46a840 Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 11:54:02 +02:00
Thomas Zimmermann
af3dda948f Bug 1273900: Replace |sprintf| with |snprintf| in netwerk/system/linux/, r=daniel
MozReview-Commit-ID: 5sKgcIK3ZKp
2016-05-19 09:21:18 +02:00
Andrea Marchesini
98894192c9 Bug 1272781 - nsEscape should work with ns(C)Strings and not with char pointers, r=smaug 2016-05-18 18:21:56 +02:00
Honza Bambas
9c4215a1fb Bug 1271701 - Make about:cache channels cancelable. r=michal 2016-05-12 10:19:00 -04:00
Honza Bambas
35df656ad7 Bug 1266196 - Make about:cache handler be multiple-instance capable. r=michal 2016-05-17 05:20:00 -04:00
Trevor Saunders
1e81548029 bug 1271436 - use nsIDocShellTreeItem::GetDocument() more r=smaug 2016-05-17 18:16:07 -04:00
Valentin Gosu
26adbcb7e5 Bug 816866 - Trigger a captive portal recheck when a certificate error occurs r=mcmanus 2016-05-17 23:55:52 +02:00
Daniel Stenberg
a59148f843 Bug 1270147 - remote the SpeculativeConnect call, r=mcmanus 2016-05-17 12:51:24 -07:00
Cykesiopka
18c21f386e Bug 1271495 - Replace uses of ScopedPK11Context with UniquePK11Context. r=keeler,mcmanus
ScopedPK11Context is based on Scoped.h, which is deprecated in favour of the
standardised UniquePtr.

MozReview-Commit-ID: HE8UY1hOuph

--HG--
extra : transplant_source : 4%BF%81M%09Q-%2A%E6%04%86i%18%1B%3CL%90%88%04%C7
2016-05-13 05:53:57 -07:00
Christoph Kerschbaumer
bfe260c7c0 Bug 1273458 - Use channel.asyncOpen2() in test_original_sent_received_head.js (r=dragana) 2016-05-17 12:26:06 +02:00
Patrick McManus
f3e258d25a Bug 1135104 - increase send window on modern windows r=dragana 2016-05-11 05:31:01 -04:00
Valentin Gosu
62b38035bf Bug 1148161 - OfflineObserver seems to be racy r=honzab 2015-03-27 17:54:20 +02:00
Jason Duell
c3ec8327dc Bug 759819 - necko objects not releasing nsIRequestObservers after OnStop r=mcmanus 2016-05-16 15:13:39 -07:00
Andrew McCreight
4a632f2748 Bug 1270247, part 2 - Add crash annotation for unknown socket family. r=hurley 2016-05-16 10:25:14 -07:00
Phil Ringnalda
4124f4b6e3 Merge f-t and m-i to m-c, a=merge 2016-05-15 20:37:48 -07:00