Commit Graph

13203 Commits

Author SHA1 Message Date
Dragana Damjanovic
1de3e688ca Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
2016-06-06 01:06:00 +02:00
Nicholas Nethercote
ec7a660ceb Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : 3e4a861f4f9c4151ffbad110159ad541119278fa
2016-06-06 12:22:14 +10:00
Nicholas Nethercote
4f1d56df39 Backout 0ed86240bc77 for bustage. 2016-06-06 11:51:44 +10:00
Nicholas Nethercote
8bc7cd881e Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : b468df852789a22e3d50a9580515bb6aa46784d5
2016-06-06 09:21:00 +10:00
Nicholas Nethercote
f22dbabefd Bug 1277752 (part 2) - Check the return value of PR_Seek64() in nsTemporaryFileInputStream::ReadSegments(). r=valentin.
--HG--
extra : rebase_source : 95c7f010aa71b4c59cfe9a5a9cb774210b873cfa
2016-06-03 14:27:22 +10:00
Nicholas Nethercote
f5495086eb Bug 1277752 (part 1) - Add a missing null check in Dashboard::GetDNSCacheEntries(). r=valentin.
The AppendElement() call is fallible, so its result must be null-checked.

--HG--
extra : rebase_source : 5662a9fe1f47a6968e7a147ea09559b7790e74c1
2016-06-03 14:24:00 +10:00
Carsten "Tomcat" Book
e8d8c705a1 Backed out changeset 490d3460a197 (bug 1230462) for test failures in test_modal_prompts.html
--HG--
rename : toolkit/components/prompts/test/test_subresources_prompts.html => toolkit/components/prompts/test/test_bug625187.html
2016-06-05 11:26:57 +02:00
Dragana Damjanovic
8d4a3a8b49 Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
extra : rebase_source : f37ed50a558040dee1958c215ccc5559637d2f84
2016-06-03 09:09:00 +02:00
Natanael Copa
6ffb5de597 Bug 1274732 - Avoid allocate 128k buffer on stack r=mcmanus
Move the 128k buffer for brotli decompression to the heap instead of stack.
This fixes crash with musl libc which provides 80k stack by default.

MozReview-Commit-ID: 9cDlFO5eoi1

--HG--
extra : rebase_source : 8f8e28e63da24cd4dde9ed585e8223cde2e5d9f1
2016-05-29 15:59:24 +02:00
Patrick McManus
c5691caef2 Bug 1277943 - atomic fix to sockettransport::debugautomutex r=hurley 2016-06-03 15:56:26 -04:00
Masatoshi Kimura
ee23c0a77c Bug 975832 - Enable AES-256 variants of the AES-128 GCM cipher suites we have already enabled. r=keeler 2016-06-04 08:19:29 +09:00
Honza Bambas
b46bbd249f Bug 1276869 - Don't remove any active HTTP caches file after shutdown, r=michal 2016-06-03 13:30:57 +02:00
Carsten "Tomcat" Book
71eb3110f9 merge mozilla-inbound to mozilla-central a=merge 2016-06-03 12:00:06 +02:00
Carsten "Tomcat" Book
1d8013d0b0 merge fx-team to mozilla-central a=merge
--HG--
extra : amend_source : c93806bb4d7d52514ddf3f2543e85a14240f01bd
2016-06-03 11:56:52 +02:00
Carsten "Tomcat" Book
8f9e440056 Backed out changeset 1fe1c3b03d08 (bug 890908) on developer request 2016-06-03 05:51:06 +02:00
dimi
74a630e7b1 Bug 1258033 - Part 3: Set DNT header based on preference and tracking protection. r=mcmanus
MozReview-Commit-ID: JIOIomOvUhN

--HG--
extra : rebase_source : a3b7780ad1a3f71e18b4cdd15a40eb281b0e0c82
2016-06-02 10:23:46 +08:00
Justin D'Arcangelo ext:(%2C%20Kannan%20Vijayan%20%3Ckvijayan%40mozilla.com%3E)
8b9a8dc107 Bug 1272101 - Changes in preparation for FlyWeb landing. Add JS implementation of nsDNSServiceDiscovery. r=hurley
--HG--
extra : amend_source : d532c156e75de8525cdb25e3a883dbb865354ec9
2016-06-01 16:22:27 -04:00
Kannan Vijayan
e4d6db6820 Bug 1272101 - Changes in preparation for FlyWeb landing. Add nsINetworkInfoService and implementation for various platforms. r=hurley 2016-06-01 16:16:40 -04:00
Jarda Snajdr
fd72aae3ac Bug 1274556 - Add a channelId attribute to nsIHttpChannel (unit test) r=hurley 2016-06-01 12:30:27 -07:00
Jarda Snajdr
4948ad52d6 Bug 1274556 - Add a channelId attribute to nsIHttpChannel r=hurley 2016-06-01 12:29:21 -07:00
Honza Bambas
4218070bbb Bug 1276673 - Adjust |doomOnFailure| argument when calling CloseCacheEntry properly, r=michal 2016-06-01 12:25:43 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
15abb6f63e Bug 1274917 - Add net original headers to cache.r=mayhemer 2016-06-01 06:25:00 +02:00
Frederik Braun
404a0bbb99 Bug 1265318: add require-sri-for CSP directive. r=ckerschb
MozReview-Commit-ID: 200PAvKtBME
2016-05-31 11:14:00 +02:00
Jonas Sicking
2e9e463e19 Bug 1272100: Websocket changes in preparation of FlyWeb landing. Make websocket code support acting as the server side of a websocket connection. r=michal 2016-06-01 02:35:33 -07:00
Christoph Kerschbaumer
8ca38235c0 Bug 1267754 - Replace WARNING about missing triggeringPrincipal with LOG() r=mcmanus
MozReview-Commit-ID: ESHG6geGqAD

--HG--
extra : rebase_source : 0c2ead7341d796f9d2bb129752f2093038ea7972
2016-05-11 10:58:06 +02:00
Honza Bambas
601acdd087 Bug 1275898 - Proper about:cache asyncOpen implementation + kill the disk entries loop hard on shutdown, r=michal
MozReview-Commit-ID: 3Tmvy45Iayu

--HG--
extra : histedit_source : 736f2ff12fb097bf2776cc900750010a00c4cf2a
2016-05-31 22:20:17 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
d53c07485b Bug 1271987 - After on-***-request observers and loadGroup::AddRequest are called, on a failure AsyncOpen() must return async.r=mcmanus, r=mayhemer
MozReview-Commit-ID: AAi6R0pb6It

--HG--
extra : histedit_source : 8c7f0f46745958c7d3aa7e8a5521bb5a38e6e10e
2016-05-31 22:13:23 -07:00
Randell Jesup
420b8a9b0e Bug 1240209: use buffer-half-empty callbacks to send buffered data instead of a timer r=tuexen,drno 2016-05-31 23:45:17 -04:00
Xidorn Quan
5c01d7c3ee Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
MozReview-Commit-ID: J5RAfGW3X7T

--HG--
extra : source : e1ff4b0d5d9d2599ac00bac376597357ffd58ce0
2016-06-01 10:04:54 +10:00
James Andreou
1d32e86b9c Bug 1269361 - Add mPrivateBrowsingId to OriginAttributes r=ehsan,jdm 2016-06-02 17:03:11 -04:00
Kannan Vijayan
b21283649e Bug 1272101 - Fix nsINetworkInfoService implementation on Android to use Linux C APIs instead of Android Java APIs. r=snorp 2016-06-02 16:42:36 -04:00
aleth
e25e343c38 Bug 1277354 - Disable test_cache-control_request when the old cache API is used. r=mayhemer
--HG--
extra : rebase_source : 5cc9d22997c76086abc1dcd5fc88e2eda890938d
2016-06-02 16:11:36 +02:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E)
8687d34336 Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Jan de Mooij
38670ea4e2 Bug 1277267 - Convert PAC runtime to autoJSAPIOwnsErrorReporting. r=bz 2016-06-02 08:29:18 +02:00
Aidin Gharibnavaz
523608513b Bug 1247972 - specialize NS_ProxyRelease for nsISupports to be out-of-line; r=erahm
NS_ProxyRelease's current implementation requires a lot of code.  We can
reduce the impact of this by providing an out-of-line implementation for
classes based on nsISupports.  This change reduces codesize by ~60K on
a Linux x86-64 build.
2016-06-29 18:56:41 -04:00
Carsten "Tomcat" Book
2ca762b096 merge mozilla-central to mozilla-inbound 2016-06-29 16:20:21 +02:00
Andrea Marchesini
ba3387e6a0 Bug 1281793 - Remove some non-used telemetry IDs - part 7 - network/cache (2), r=mayhemer 2016-06-29 15:19:13 +02:00
Christoph Kerschbaumer
f582942bd8 Bug 1240193 - Convert test_auth_dialog_permission.js to use asyncOpen2 (r=dragana) 2016-06-29 13:01:17 +02:00
Christoph Kerschbaumer
1a5fda4297 Bug 1240193 - Skip TYPE_DOCUMENT assertions for loads initiated by JS tests (r=tanvi) 2016-06-29 12:59:45 +02:00
Honza Bambas
97f671937b Bug 428916 - support Cache-control directives in HTTP requests, r=mcmanus+michal+froydnj 2016-05-20 08:33:00 +02:00
Jarda Snajdr
a8fa0feb87 Bug 1269765 - Notify http-on-opening-request in content process. r=valentin 2016-05-30 01:24:00 +02:00
Honza Bambas
85e6362a96 Bug 1274585 - Push HTTP cache index build when asked for disk cache size, r=michal 2016-05-30 04:48:00 +02:00
Valentin Gosu
3525b6a693 Bug 1254688 - Use mLoadInfo to get the performance object. r=bz, r=tanvi
MozReview-Commit-ID: KMbwR7J8FLm

--HG--
extra : rebase_source : f0be0322cdd6cacd5d047e003e4e8d71433ea54f
2016-05-09 20:42:22 +02:00
Andi-Bogdan Postelnicu
2e7ce06ba0 Bug 1276670 - initialize member variable |port|. r=valentin
MozReview-Commit-ID: HELBqjSaRfP

--HG--
extra : rebase_source : 9b06e86abbd7cd856dccc0428ab98b58c793016f
2016-05-30 16:39:00 +03:00
Valentin Gosu
704a204aff Bug 1276442 - Backout 6647b13a6ad9 (Bug 219157) a=backout 2016-05-30 16:05:21 +02:00
Valentin Gosu
7a53948e1e Bug 1276462 - Backout c18023d517ed (Bug 219157) a=backout 2016-05-30 16:05:14 +02:00
Andi-Bogdan Postelnicu
12bffd32df Bug 1276651 - initialize member variable |mCancelStatus|. r=valentin
MozReview-Commit-ID: AQCVagLaiuZ

--HG--
extra : rebase_source : 95646dff9a89a65da8249338c5f7b37c4fa09ad8
2016-05-30 15:48:05 +03:00
Andi-Bogdan Postelnicu
1239223ba1 Bug 1276642 - initialize member variable |mStatus|. r=valentin
MozReview-Commit-ID: DREwq15bAAe

--HG--
extra : rebase_source : 833daa0edd45c5f4207cabb07f2807d90a56c696
2016-05-30 15:37:47 +03:00
Andi-Bogdan Postelnicu
5f0816d6c4 Bug 1276635 - initialize member variables |mFlags| and |mWaitingForRedirectCallback|. r=valentin
MozReview-Commit-ID: 666SrPKUAed

--HG--
extra : rebase_source : 36d3d3e5657aaf3bfce9cf3962a99e59f634c2b4
2016-05-30 15:20:00 +03:00
Andi-Bogdan Postelnicu
8c72bad826 Bug 1276625 - initialize member variables |mPosInDataBuffer| and |mRlebuf|. r=valentin
MozReview-Commit-ID: EcCCLNpPg6u

--HG--
extra : rebase_source : 92d786021b6d8d739a6c18c077bd2d33b0df3ac6
2016-05-30 14:18:53 +03:00
Andi-Bogdan Postelnicu
c6abaafa19 Bug 1276622 - initialize member variable |mDebugCList|. r=valentin
MozReview-Commit-ID: FJZz94Gi2dd

--HG--
extra : rebase_source : 905a5103e0c9d48de08652e29ea38d5da83dfcb7
2016-05-30 13:51:45 +03:00
Chris Peterson
11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Wes Kocher
2e152c3d24 Merge m-c to inbound, a=merge 2016-05-27 14:43:24 -07:00
Wes Kocher
4e72b32062 Merge fx-team to central, a=merge 2016-05-27 14:41:36 -07:00
Florian Quèze
e9ee2349cc Bug 1203168 - ask the user for confirmation when searching with a default search engine of unknown origin, data-review=bsmedberg, r=adw. 2016-05-27 13:41:29 +02:00
Carsten "Tomcat" Book
b08e506896 Backed out changeset 08053d1e2cc1 (bug 1203168) for ESlint failure in browser_aboutSearchReset.js 2016-05-27 14:35:31 +02:00
Florian Quèze
148acbd4be Bug 1203168 - ask the user for confirmation when searching with a default search engine of unknown origin, data-review=bsmedberg, r=adw. 2016-05-27 13:41:29 +02:00
Jason Duell
ee5595f78a Backed out changeset 0d5cc353d9e0 a=crashes 2016-05-26 23:07:57 -07:00
Boris Zbarsky
fd24253b3a Bug 1214752. Fix CORS preflights to provide a useful nsILoadContext, so they show up in our devtools network monitor properly. r=sicking 2016-05-26 20:36:09 -04:00
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
Mark Capella
3301837485 Bug 1262916 - Option to add custom search engine should disappear when site is added, r=margaret, florian 2016-05-14 16:43:51 -04:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
L. David Baron
55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Patrick McManus
f03b618067 Bug 1236969 - remove autodialer r=valentin 2016-02-19 14:33:59 -05:00
Michal Novotny
490b63ff9c Bug 1259129 - Fix wrong CondVar::Wait() usage in netwerk/cache, r=honzab 2016-05-13 08:56:22 +02:00
Ethan Tseng
7bf2d7f142 Bug 1214071 - Replace Get/RemoveCookiesForApp() with Get/RemoveCookiesWithOriginAttributes() r=ehsan
MozReview-Commit-ID: JTi1BwBVvyA
2016-01-08 17:58:56 +08:00
Jonathan Hao
9b7088faeb Bug 1214071 - Tests for Get/RemoveCookiesWithOriginAttributes() r=ehsan
MozReview-Commit-ID: 5kqqfI9OdVn
2016-05-12 10:12:47 +08:00
Dragana Damjanovic
7cf5152088 Bug 669259 - Expose original header received from a peer. r=mcmanus 2016-05-12 14:33:00 -04:00
Honza Bambas
a8542b6e9c Bug 1267195 - Correctly update HTTP cache size in UI only after we actually clear the cache. r=michal 2016-05-12 07:57:00 -04:00
Honza Bambas
d9981dcb53 Bug 1271019 - Don't call on nsIURI on non-main threads from HTTP cache back end. r=michal 2016-05-12 06:38:00 -04:00
Kyle Huey
c85171ace9 Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj 2016-05-12 15:15:43 -07:00
Christoph Kerschbaumer
978f0ba0a2 Bug 1272345 - Gather Telemetry on URL redirects (r=valentin) 2016-05-12 19:38:22 +02:00
Christoph Kerschbaumer
67f5504fac Bug 1272320 - Convert NS_ImplementChannelOpen to support asyncOpen2() r=mcmanus 2016-05-12 19:38:59 +02:00
David Keeler
c17f3a2733 bug 982932 - only allow Netscape-stepUp to be used for serverAuth for old CA certificates r=Cykesiopka,jcj
MozReview-Commit-ID: 88JhIU1pUji

--HG--
rename : security/manager/ssl/tests/unit/test_cert_eku/ee-int-nsSGC.pem.certspec => security/manager/ssl/tests/unit/test_cert_eku/ee-int-nsSGC-recent.pem.certspec
rename : security/manager/ssl/tests/unit/test_cert_eku/int-nsSGC.pem.certspec => security/manager/ssl/tests/unit/test_cert_eku/int-nsSGC-recent.pem.certspec
extra : rebase_source : 2f6251679a6f31cccb6d88bb51c567de9cc9bc76
2016-05-05 16:11:11 -07:00
Patrick McManus
86ffca654a Bug 1267474 - cache-control: immutable tests 3/3 r=mayhemer
--HG--
extra : rebase_source : db44949e74498773f546be2e944194120ed4113f
2016-05-05 17:11:02 -04:00
Patrick McManus
a7bc1a51b1 Bug 1267474 - cache-control: immutable 2/3 r=mayhemer
--HG--
extra : rebase_source : 672e836ef7ce70c20f7f8da8baf9f109254246fe
2016-05-04 22:37:53 -04:00
Patrick McManus
2722b75b4d Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer
--HG--
extra : rebase_source : 9e00df6a46684032e62da6e2e607a7f65ff63d87
2016-05-04 17:03:59 -04:00
Carsten "Tomcat" Book
1eaf608a83 Backed out changeset 4e86f3f05b07 (bug 1148161) for causing assertions 2016-05-12 14:35:39 +02:00
Valentin Gosu
e7616f0f45 Bug 1148161 - OfflineObserver seems to be racy r=honzab 2015-03-27 17:54:20 +02:00
Michal Novotny
06cf358ad0 Bug 1271527 - Crash in mozilla::net::WebSocketChannel::Notify, r=mcmanus 2016-05-12 13:28:50 +02:00
Christoph Kerschbaumer
c1dec946da Bug 1206966 - Use channel->asyncOpen2() in netwerk/test/TestProtocols.cpp. r=mcmanus 2016-05-11 14:41:19 +02:00
Wes Kocher
1806870b06 Backed out 3 changesets (bug 1267474) foor test_immutable.js failures in xpcshell jobs
Backed out changeset 057f3f50441f (bug 1267474)
Backed out changeset 960d93f30c66 (bug 1267474)
Backed out changeset 0c059a0e87d7 (bug 1267474)
2016-05-11 10:32:33 -07:00
Wes Kocher
5c9f141313 Backed out changeset af74581564bc (bug 711886) for wpt bustage 2016-05-11 10:28:53 -07:00
Jason Duell
d3772280b8 Bug 711886. Fail Websocket if server replies with non-matching subprotocol r=mcmanus 2016-05-11 08:50:13 -07:00
Patrick McManus
aa7218be51 Bug 1267474 - cache-control: immutable tests 3/3 r=mayhemer
--HG--
extra : rebase_source : 118675f869e1735d527697f30efa84205ad7fcd1
2016-05-05 17:11:02 -04:00
Patrick McManus
aaaa179e7c Bug 1267474 - cache-control: immutable 2/3 r=mayhemer
--HG--
extra : rebase_source : 5022699f221ecd3cb66336ef11c6863b89e8de88
2016-05-04 22:37:53 -04:00
Patrick McManus
7f770ceea1 Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer
--HG--
extra : rebase_source : 7cd8ceea26962af47daaab5fc786b24a773f3e47
2016-05-04 17:03:59 -04:00
Carsten "Tomcat" Book
79ae391df9 Backed out changeset 81d69d7cf909 (bug 1267474) for bustage on a CLOSED TREE 2016-05-11 16:10:51 +02:00
Carsten "Tomcat" Book
3ff5ccb3a0 Backed out changeset 928d0afa32b7 (bug 1267474) 2016-05-11 16:10:28 +02:00
Carsten "Tomcat" Book
a283044b21 Backed out changeset 2ab63d0cea9f (bug 1267474) 2016-05-11 16:10:27 +02:00
Patrick McManus
242180be37 Bug 1267474 - cache-control: immutable tests 3/3 r=mayhemer 2016-05-05 17:11:02 -04:00
Patrick McManus
068dddd27e Bug 1267474 - cache-control: immutable 2/3 r=mayhemer 2016-05-04 22:37:53 -04:00
Patrick McManus
5bce2b10a7 Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer 2016-05-04 17:03:59 -04:00
Valentin Gosu
0f0ddf9ef5 Bug 1250739 - Increase test_user_agent_updates.html timeout to be larger than update interval r=mcmanus
Since the tests sets the update interval to 1 second, we should wait for _more_ than 1 second to check that the update succeeded.
2016-05-11 12:58:26 +02:00
Michal Novotny
ef6eda1f63 Bug 1267980 - Leak buffers in CacheFileChunk and CacheFileMetadata during shutdown, r=honzab 2016-05-11 11:46:54 +02:00
Patrick McManus
c6c1bde8c5 Bug 865314 - allow 6 parallel connects to new https origin r=hurley
--HG--
extra : rebase_source : 076b5ad9ec376185320eef2296cb888815297958
2016-03-31 16:51:03 -04:00
Michal Novotny
04256ec318 Bug 1253883 - Do not release mRWBuf until pending read/write operation finishes, r=honzab 2016-05-11 10:48:28 +02:00
Randell Jesup
73a32768d1 Bug 1271402: name and cleanup DataStorage thread when running XPCshell r=froyd,dkeeler
MozReview-Commit-ID: 2brXgEcp91J
2016-05-11 00:11:40 -04:00
Dragana Damjanovic dd.mozilla@gmail.com
275c209d7d Bug 1270029 - Set mSignaled only if PR_Write succeeds. r=mcmanus
--HG--
extra : rebase_source : 43e7e5437728986c5c4c90c859b343467813b7b6
2016-05-04 01:29:00 -04:00
Tim Huang
7d71e717c7 Bug 1270423 - Fix the nsICookieManager.remove() to reference originAttributes correctly at release build. r=ehsan 2016-05-05 09:12:00 +02:00
Andrea Marchesini
61b52e4aa3 Bug 1267130 - Improve the URL segment calculation, r=valentin 2016-05-10 10:52:19 +02:00
Valentin Gosu
9ce8e9d28c Bug 1269994 - Make test_user_agent_updates.html work in e10s r=nwgh 2016-05-09 18:38:40 +02:00
Daniel Stenberg
4e7bbc4cb6 Bug 1271131 - check inet_ntoa return code before use, r=mcmanus 2016-05-08 14:25:00 +02:00
Jed Davis
1f75ae7708 Bug 1270328 - Fix use-after-forget in WebSocket. r=mcmanus 2016-05-04 19:22:00 -04:00
Nathan Froyd
08c711b5df Bug 1263197 - part 1 - use temporary variables in CacheIndex logging; r=michal.novotny
Using temporary variables here makes the code a bit clearer by not
repeating the readUint32 call.  A temporary variable also avoids the
compiler complaining about not using the result of readUint32 (which is
a MOZ_MUST_USE function) for the upcoming logging disabling patch.
2016-05-06 09:11:17 -04:00
Phil Ringnalda
b0bd45708b Bug 851214 followup, actually compile
CLOSED TREE
2016-05-05 20:24:20 -07:00
Yoshi Huang
de5b190579 Bug 1266022 - skip checking of LoadInfo for chrome resources. r=sicking
When tab with a userContextId!=0 contains a chrome page (such as
about:newtab) the userContextId in the LoadInfo won't match the
userContextId in the LoadContext. The LoadInfo will contain the
systemPrincipal and so use userContextId=0, the LoadContext has the
userContextId of the tab (!=0).

This is fine as long as we page only loads chrome-URLs and other
non-http URLs since those don't use cookies anyway.

So avoid asserting in this situation.

Long term we want the chrome page to use the default userContextId for
cookies, since that's what it chrome code normally use. This will work
properly once we get the cookie jar information from the LoadInfo rather
than from the LoadContext.
2016-05-06 11:04:50 +08:00
Jason Duell
fce2bbafc1 Bug 851214 - Allow OOP mozbrowser w/o enclosing app. r=billm 2016-02-18 17:37:00 -05:00
Christoph Kerschbaumer
f228b98aff Bug 1267058 - Use AsyncOpen2() within Predictor.cpp. r=nwgh
--HG--
extra : rebase_source : 81c41c848f7437e78e32f0c46daad38bfc0f098f
2016-05-04 15:46:19 +02:00
Dragana Damjanovic
3b9a380403 Bug 1122566 - Make e10s behave the same as single-process in case of an ftp:// error. r=bagder
--HG--
extra : rebase_source : 4fc189cae50476f8a5ee206091b609b41a5c8d96
2016-05-02 09:38:00 -04:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Andrew McCreight
ed9ce357e8 Bug 1270247 - Crash in ParamTraits<mozilla::net::NetAddr>::Write if the family is unknown. r=hurley
This will prevent mysterious deserialization crashes in the receiver.
2016-05-04 14:49:16 -07:00
Nicholas Hurley
cd0ff9abb0 Bug 1269448 - Fix test assertions. r=mayhemer
MozReview-Commit-ID: HQyi9SJmIC2
2016-05-04 08:44:21 -07:00
Carsten "Tomcat" Book
ad9214381b merge mozilla-inbound to mozilla-central a=merge 2016-05-04 11:54:42 +02:00
Dragana Damjanovic
d9ad6dbb9e Bug 1269055 - If a connection is reused, retry requests even if the request method is not safe (revert to old(ff45) behavior).r=mcmanus
MozReview-Commit-ID: INw61hHzvDl

--HG--
extra : rebase_source : e819067ddec67246787e4aa150be4bf325782cc7
2016-05-03 17:39:30 -07:00
Carsten "Tomcat" Book
f9e0bb9939 Merge mozilla-central to fx-team 2016-05-03 16:19:57 +02:00
Valentin Gosu
b962c08e1f Bug 1269080 - Convert NS_ERROR to NS_WARNING when setting an invalid scheme in nsSimpleURI. r=mcmanus 2016-04-30 17:08:33 +03:00
Jan Beich
3a9a9fa772 Bug 1269262 - Unbreak build without NO_EXPAND_LIBS in js/src/moz.build after bug 1239083. r=ted
MozReview-Commit-ID: LIOJ8HFhh2M

--HG--
extra : rebase_source : 4393b0845d15012e51d9fc74dddac4bd0268034b
2016-05-02 08:49:58 +00:00
Christoph Kerschbaumer
f9776e196c Bug 1268595: Use Cu.reportError() instead of logStringMessage within asyncFetch(). r=gijs 2016-05-02 12:02:48 +02:00
Dragana Damjanovic
485736ee81 Bug 1247982 - Lock request headers. r=mcmanus 2016-05-03 00:06:00 +02:00
Daniel Stenberg
238c4af941 Bug 1240932 - figure out 'network id' on Windows, r=mcmanus 2016-04-28 04:52:00 +02:00
Daniel Stenberg
a520e4cdb0 Bug 1240932 - figure out 'network id' on OS X, r=mcmanus 2016-04-28 04:51:00 +02:00
Carsten "Tomcat" Book
548d98c27e merge mozilla-inbound to mozilla-central a=merge 2016-05-02 11:25:32 +02:00
Jonathan Watt
1b7bc2f61d Bug 1162772, part 2 - Expose whether SEC_FORCE_INHERIT_PRINCIPAL was dropped from an nsILoadInfo. r=bz
MozReview-Commit-ID: 5Em9qXwDUIJ
2016-04-28 11:13:09 +01:00
Liang-Heng Chen
080c533edc Bug 1251332 - add PAC support for reversed ranges; r=bagder
MozReview-Commit-ID: HsbupdOORI6
2016-04-30 23:10:29 +08:00
Honza Bambas
5a9074a7ca Bug 1268922 - Don't insist on removal of cache2/doomed directory, causing cache responsiveness slowdown, r=michal 2016-04-30 14:24:20 +02:00
Sebastian Hengst
400524aba3 Backed out changeset 24a113011b90 (bug 1162772) 2016-04-30 09:54:08 +02:00
Jonathan Watt
0fde17d689 Bug 1162772, part 2 - Expose whether SEC_FORCE_INHERIT_PRINCIPAL was dropped from an nsILoadInfo. r=bz
MozReview-Commit-ID: 5Em9qXwDUIJ
2016-04-28 11:13:09 +01:00
Daniel Stenberg
e812edc978 Bug 1240932: add Telemetry to record network id successes, r=mcmanus 2016-04-11 07:24:00 +02:00
Daniel Stenberg
21399b54de Bug 1240932 - figure out 'network id' on Linux. r=mcmanus 2016-04-11 06:53:00 +02:00
Dave Huseby
b815db526b Bug 1233885 - fix up docInfo and permission manager to use default user context. r=sicking
(HEAD -> oa, refs/patches/oa/Bug_1233885)
fix up docInfo and permission manager to use default user context
2016-03-26 15:07:00 +01:00
Wes Kocher
56fe7c4bcb Merge m-c to fx-team a=merge
MozReview-Commit-ID: 3H9BxQQQnNI
2016-04-29 16:05:30 -07:00
Jared Wein
e889366796 Bug 1268159 - Use GreD in addition to XCurProcD for browser_misused_characters_in_strings.js to cover more string files. r=gijs
MozReview-Commit-ID: IlC170W0nlG
* * *
[mq]: temp

MozReview-Commit-ID: GF0k4zvONPD
2016-04-29 09:28:48 -04:00
Andi-Bogdan Postelnicu
fdbd0a8be3 Bug 1268387 - avoid memory leak of ToNewCString(key). r=valentin
MozReview-Commit-ID: L6V7HpKE8KT

--HG--
extra : rebase_source : 5a92649dcee2afe427d64f001cb6898ec9cee4ed
2016-04-28 12:35:58 +03:00
Christoph Kerschbaumer
4c4ddfb8df Bug 1268044 - Remove SEC_NORMAL form test_predictor.js. r=mcmanus
--HG--
extra : rebase_source : ef0cc2ccf4fb568520668aed777234e7e1effbba
2016-04-27 16:59:30 +02:00
Nicholas Nethercote
ee14356cd1 Bug 1267912 - Rename nsNetUtil.inl as nsNetUtilInlines.h. r=valentin.
--HG--
rename : netwerk/base/nsNetUtil.inl => netwerk/base/nsNetUtilInlines.h
extra : rebase_source : 818e40659bf4c61da6f3b67ad0e37af64cc33110
2016-04-27 14:20:31 +10:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Dragana Damjanovic
301a1490d4 Bug 1269738 - Lock SetHeader. r=mcmanus 2016-05-03 06:47:00 -04:00
Daniel Stenberg
fa3abdd435 Bug 1266493 - Make mShutdown atomic to avoid race. r=valentin 2016-05-02 14:34:00 -04:00
Valentin Gosu
4d0f75d28b Bug 1263428 - Make sure we don't set the domainLookupEnd timestamp after connectStart for non-persistant connections r=mcmanus 2016-04-27 22:13:30 +02:00
Yoshi Huang
ba1bb72568 Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create(&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Gregor Wagner
acecad8f82 Bug 1267577 - Move nsRunnable to mozilla::Runnable. r=gsvelto 2016-04-27 12:05:40 +02:00
Henry Chang
7ec95c63c9 Bug 1178337 - Part 1: Supports all referrer policies for element atrributes. r=sicking, r=Gijs, r=mcmanus
--HG--
extra : source : 6948efdbc5187e754d5bddd6391a7b67a30222a5
2016-04-27 10:26:57 +08:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
David Keeler
1fdc1bdd0a bug 1267463 - add a more nuanced subject common name fallback option for prerelease channels r=Cykesiopka,jcj
MozReview-Commit-ID: 1vHXrPAHTRm

--HG--
extra : rebase_source : dddd8ae973d1d793890bbfc44d9fe84ef4a47ee2
2016-04-25 15:55:18 -07:00
Patrick McManus
8f40d4db3f Bug 1267000 - null deref with spdy proxy r=hurley 2016-04-27 16:25:22 -04:00
Michal Novotny
4282b4dba0 Bug 1268922 - Limit number of tries to find unused trash directory, r=honzab 2016-05-02 19:58:58 +02:00
Liang-Heng Chen
cf4eea0406 Bug 1250776 - increase JavaScript runtime heap size to 4 MB; r=bagder
MozReview-Commit-ID: 9rx2wRSgNHw

--HG--
extra : rebase_source : f17e867f84d18e8b61c4e34d57727270c6598c1b
2016-04-29 11:53:10 +08:00
Carsten "Tomcat" Book
9afcd53619 Merge mozilla-central to mozilla-inbound 2016-05-02 11:40:02 +02:00
Adam Roach [:abr]
e67b36376c Bug 1266571 - Add telemetry to measure incidence of non-TLS use of HTTP AUTH. r=mayhemer 2016-04-30 17:58:34 -05:00
Nils Ohlmeier [:drno]
49438ee761 Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
MozReview-Commit-ID: ETkx1Z56bI8

--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Randell Jesup
37ad6cbc0c Bug 964092: don't let DOM DataChannels get GC'd if they have an active callback r=smaug,jib
MozReview-Commit-ID: 48gjdDpHOM9
2016-04-26 00:28:53 -04:00
Nicholas Nethercote
682d101dcd Bug 1266632 - Add a null check in nsHostResolver::SizeOfIncludingThis. r=sworkman.
MozReview-Commit-ID: EpBxcIGyq2z

--HG--
extra : rebase_source : 6dc4ba7e0bd092a27cf7eaa762948c893fcacfdd
2016-04-22 14:04:58 +10:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Valentin Gosu
c8a94789bb Bug 1262326 - Make test_user_agent_overrides.html work in e10s r=nwgh
* Rename SchedulingContext to RequestContext
* Move SetLoadGroupUserAgentOverride to nsHttpChannel
* Cache the userAgentOverride in RequestContext instead of LoadGroup

MozReview-Commit-ID: FQS9uSRR8kd

--HG--
rename : netwerk/base/SchedulingContextService.cpp => netwerk/base/RequestContextService.cpp
rename : netwerk/base/SchedulingContextService.h => netwerk/base/RequestContextService.h
rename : netwerk/base/nsISchedulingContext.idl => netwerk/base/nsIRequestContext.idl
2016-04-21 16:59:17 +02:00
Jon Coppeard
d5b6a661f0 Bug 1259021 - Rename Vector::extractRawBuffer to extractOrCopyRawBuffer r=Waldo 2016-04-25 13:41:25 +01:00
Giorgio Maone
6355e2be61 Bug 1266184 - Implement nsIMIMEInputStream.data getter. r=mcmanus
MozReview-Commit-ID: EAfSPGDSZfW

--HG--
extra : transplant_source : %D4%B07%09%92%9F%15.%89%1F%95%8AK%A6%C5%C9K%DAH%20
2016-04-20 21:36:43 +02:00
Sebastian Hengst
c108701a85 Backed out changeset 68442febc36c (bug 1160200) for almost permafailing added test apng-mime/test.html Android 4.3 API15+ opt. r=backout 2016-04-23 22:33:26 +02:00
Nicholas Hurley
65e701bed3 Bug 1122642 - Have an error page for H2 INADEQUATE_SECURITY r=mcmanus,bz 2016-04-22 09:56:42 -07:00
Chris Peterson
7f019cfba6 Bug 1160368 - Part 2: Clean up some cruft in nsCookie.h from PRBool/bool conversions. r=jdm
Also make nsCookie's member variables private.
2016-02-20 22:22:35 -08:00
David Newton
f44103a43f Bug 1160200 - APNG can't be used with type switching. r=mcaceres,r=jrmuizel 2016-04-20 23:57:00 +02:00
Nicholas Hurley
fd7a5d97b5 Bug 1016628 - Add prefetch abilities to the predictor. r=mayhemer 2016-04-21 12:32:30 -07:00
Jonathan Kew
c60f6a1ae4 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Christoph Kerschbaumer
debbccb785 Bug 1257930 - Update NetUtil.asyncFetch() to use asyncOpen2(). r=sicking 2016-04-14 19:49:01 +02:00
Carsten "Tomcat" Book
4d6108d41a Merge mozilla-central to mozilla-inbound 2016-04-20 11:52:05 +02:00
Carsten "Tomcat" Book
9eb45808ae merge mozilla-inbound to mozilla-central a=merge 2016-04-20 11:50:29 +02:00
Michal Novotny
03ed0becb2 Bug 1265243 - Do not initialize CacheObserver in the child process, r=honzab 2016-04-20 11:29:50 +02:00
Tom Tromey
a03b12c9e4 Bug 1265076 - make ArrayBufferInputStream obey readSegments contract; r=mcmanus
MozReview-Commit-ID: 7RSzey2vdPL

--HG--
extra : transplant_source : %CF%C4%99%F8%04%E9s%D9%0A%D3%2AH%97%D2%C2%C9%1C%CA%93n
2016-04-15 14:43:14 -06:00
Thomas Zimmermann
33661a67cf Bug 1264887: |nsWifiScannerDBus|: Hold DBusMessage references in |RefPtr|, r=josh 2016-04-19 16:26:01 +02:00
Thomas Zimmermann
608fd6af9e Bug 1264887: |nsWifiScannerDBus|: Hold DBusConnection reference in |RefPtr|, r=josh 2016-04-19 16:26:01 +02:00
Valentin Gosu
ac02cc4197 Bug 548685 - Avoid null pointer deref in nsURIHashKey r=mcmanus
MozReview-Commit-ID: 5wCZ0DTHEUS
2016-04-19 15:46:34 +02:00
Carsten "Tomcat" Book
c778c28981 Backed out changeset 3e0859b436d6 (bug 1264887)
--HG--
extra : rebase_source : 3b4cc4d10a117ed948e47fc54f338b15e9191076
2016-04-19 12:07:13 +02:00
Carsten "Tomcat" Book
074d1a0340 Backed out changeset 348413c98656 (bug 1264887)
--HG--
extra : rebase_source : a856a4c570a3952ceef555388461281d134362e0
2016-04-19 12:07:11 +02:00
Stone Shih
6759b9bad6 Bug 1240436 - Part2: Lossy convert UTF16 to ASCII before generating nsStringInputStream. r=mayhemer 2016-04-14 18:48:37 +08:00
Stone Shih
361cc9181f Bug 1225756 - Part1: Let the regular veto handlers check on redirects then check mRedirectChannelChild in the result callback. r=mayhemer 2016-04-14 13:45:51 +08:00
Thomas Zimmermann
c9c1980673 Bug 1264887: |nsWifiScannerDBus|: Hold DBusMessage references in |RefPtr|, r=josh 2016-04-19 11:09:02 +02:00
Thomas Zimmermann
0a068ba686 Bug 1264887: |nsWifiScannerDBus|: Hold DBusConnection reference in |RefPtr|, r=josh 2016-04-19 11:09:02 +02:00
Kris Maglione
d229ba6403 Bug 719905: Fix resolution of resource: URLs containing : and / characters. r=valentin
MozReview-Commit-ID: Jetsp6LpT7L

--HG--
extra : rebase_source : bb712b53706922c81a17bba04b690994047bba30
extra : amend_source : 08c435f17b2ad243bd03bcb1b252874dd77f9c56
2016-02-04 20:19:24 -08:00
Gijs Kruitbosch
30a0ac0ed8 Bug 1253673, r=bz
MozReview-Commit-ID: eyZ0XvZkfM

--HG--
rename : browser/base/content/test/general/dummy_page.html => dom/tests/browser/dummy.html
extra : amend_source : 0ceb77aae62ed163362e794b9aed8f92849e3e6d
extra : histedit_source : 60dbd015a6909a0023dc26613530c89a16de6ea7%2Ca5ea96457b370e57e3a73c19bea08e157f16ac4f
2016-04-19 09:56:19 +01:00
Mark Goodwin
33bbad3164 Bug 1264675 - Add content signature root hash to security preferences r=keeler,r=ulfr
MozReview-Commit-ID: 256b3zC6h1K
2016-04-15 12:04:14 +01:00
Michal Novotny
3e05444c44 Bug 1253040 - Do not write metadata if CacheFile is killed, r=honzab 2016-04-17 16:23:49 +02:00
Ben Kelly
a669ad97ac Bug 1263469 P1 Set FetchEvent.request.cache value correctly for non-fetch channels. r=mayhemer 2016-04-15 11:15:58 -07:00
J.C. Jones
63f7ce5155 Bug 1244960 - Complete FIDO u2f NSSToken (Part 1). r=keeler, r=baku
- Merge in test changes from Bug 1255784.
- Remove the unnecessary mutex
- Stop doing direct memory work in NSS Token
- Clean up direct memory work in ContentParent
- In order to store persistent crypto parameters, the NSSToken had to move
  onto the main thread and be interfaced with via IDL/IPDL.
- Support Register/Sign via NSS using a long-lived secret key
- Rename the softtoken/usbtoken "enable" prefs, because of hierarchy issues
  with the WebIDL Pref shadowing.
- Also orders the includes on nsNSSModule.cpp
- Attestation Certificates are in Part 2.

Updates per keeler review comments:

- Use //-style comments everywhere
- Refactor the PrivateKeyFromKeyHandle method
- Rename the logging and fix extraneous NS_WARN_IF/logging combinations
- Other updates from review

April 11-12:

- Correct usage of the "usageCount" flag for PK11_UnwrapPrivKey
- Rebase up to latest

April 15:
- Rebase to latest

MozReview-Commit-ID: 6T8jNmwFvHJ

--HG--
extra : transplant_source : w%26%CES%2Cu%04%3EAl%04%2Cb%E2v%C9%08%3A%CC%F4
2016-04-15 09:29:12 -07:00
Andrew McCreight
2f632d2f46 Bug 1263235, part 3 - Move PHttpChannel::OnTransportAndData's data argument last. r=mayhemer
This will reduce internal memory fragmentation for the IPC::Message used to make this call.
2016-04-14 10:41:01 -07:00
Honza Bambas
f497bdb20f Bug 1263028 - send HTTP data to the content process in smaller chunks, r=michal 2016-04-14 10:41:00 -07:00
Honza Bambas
4d038ffd77 Bug 1240929 - Copy some HTTP request headers automatically on redirect, r=mcmanus 2016-04-06 09:28:00 +02:00
Carsten "Tomcat" Book
49aae827cb Merge mozilla-central to mozilla-inbound 2016-04-14 11:43:48 +02:00
Carsten "Tomcat" Book
32c25ca2da merge mozilla-inbound to mozilla-central a=merge 2016-04-14 11:38:11 +02:00
Michael Kaply
e9bc8bf7d5 Bug 1264076 - Allow customized device string for user agent on Fennec; r=mcmanus 2016-04-13 20:46:13 -05:00
Johann Hofmann
3676aeefc2 Bug 1242886 - Change learn more link for unknown issuers on about:certerror. r=gijs 2016-04-08 16:01:51 +02:00
Dragana Damjanovic
645513565f Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Dragana Damjanovic
e72aa9a9f1 Bug 1125916 - Check whether loadInfo and loadContext match. r=sicking, r=jduell
--HG--
extra : rebase_source : 582977113d0e3e15913120232300478835ef1384
extra : histedit_source : 7d3f02b68874f16bb63974f8b41facf947385917
2016-04-13 10:23:26 +02:00
Dragana Damjanovic
4ca2619d53 Bug 1125916 - Add SEC_FORCE_PRIVATE_BROWSING to LoadInfo. r=sicking, r=jduell
--HG--
extra : rebase_source : 91f3e5de5475949fcc3ab430bf6d327f34ccee26
extra : histedit_source : fa6210f9f646938cb36f623cfefa5f5838937327
2016-04-13 10:22:49 +02:00
Tanvi Vyas
9c0a7ac154 Bug 1105556 - Add a hidden preference that is checked in debug mode to determine whether the main LoadInfo() constructor should assert that the ContentPolicyType is not TYPE_DOCUMENT.
Set the preference in xpcshell tests that create TYPE_DOCUMENT loads in javascript and hence end up using the main constructor. r=sicking, ckerschb
2016-04-13 16:30:36 -07:00
Tanvi Vyas
9209781614 Bug 1105556 - test fixes. r=sicking, ckerschb 2016-04-13 16:30:33 -07:00
Tanvi Vyas
297217ffc0 Bug 1105556 - nsPerformance::CheckAllowedOrigin should return early for TYPE_DOCUMENT loads. TYPE_DOCUMENT loads don't go through a TimingAllowedCheck(). r=bz, vgosu 2016-04-13 16:30:31 -07:00
Tanvi Vyas
ae5dad1d9c Bug 1105556 - We won't have a channelLoadingPrincipal for top level loads, so nsChannelClassifier::SameLoadingURI will return false. Adding a comment to indicate that the behavior is fine since Tracking Protection doesn't apply to top level loads. r=fmarier 2016-04-13 16:30:25 -07:00
Tanvi Vyas
2ca721ef81 Bug 1105556 - Allow loadInfo->loadingNode and loadInfo->loadingPrincipal to be null for TYPE_DOCUMENT loads. r=sicking, ckerschb 2016-04-13 16:30:16 -07:00
Nicholas Nethercote
60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00