Граф коммитов

14326 Коммитов

Автор SHA1 Сообщение Дата
Junior Hsu 6dc5f1d10e Bug 1325088 - Part 1: Add net-response-time-onstart/onstop to cache index. r=michal
--HG--
extra : rebase_source : 76b3365ffccc170287be04678dc29227a2fc88ca
2017-03-28 11:40:21 +08:00
Junior Hsu 202768c0e6 Bug 1347470 - clean mAvailableCachedAltDataType when we get 200, r=valentin 2017-03-15 15:07:21 +08:00
Dragana Damjanovic 4fca90dedd Bug 1348081 - if we call ProcessPendingQForEntry with considerAll=false we should return if we already found a transaction in the urgent queue. r=mayhemer 2017-03-17 10:12:57 +01:00
Dragana Damjanovic 1c99ae8f32 Bug 1341572 - Fix multiple HalfOpen socket for a single transaction. r=mcmanus 2017-03-17 09:00:50 +01:00
Wes Kocher c5d1991d35 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Dragana Damjanovic a66f6a3080 Bug 1348016 - nsHttpConnectionMgr::OnMsgCancelTransactions miss to cancel one transaction. r=mayhemer 2017-03-16 21:12:51 +01:00
Dragana Damjanovic fe46e21bf3 Bug 1347951 - Check if a h2 connection can accept more streams before trying to dispatchach a transaction. r=mayhemer 2017-03-16 21:10:30 +01:00
Carsten "Tomcat" Book 468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Ehsan Akhgari 5fcbc5ac5c Bug 1347379 - Don't bother searching for a newly generated UUID in the request context hashtable; r=mcmanus 2017-03-15 23:03:37 -04:00
Blake Kaplan 59c1540717 Bug 1346286 - Remove CPOWs from browser_child_resource.js. r=Gijs
MozReview-Commit-ID: 9GXn1snauxt

--HG--
extra : rebase_source : 3bbb4e973445ff74626f6c04e6e4f52be8704516
2017-03-09 17:18:09 -08:00
Iris Hsiao a8b3a6da1b Backed out changeset af4ad0346213 (bug 1325054) for mochitest failures in test_classify_ping.html 2017-03-16 15:12:17 +08:00
David Major ed12ea611f Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg
MozReview-Commit-ID: DWDEDMIVKm7

--HG--
extra : rebase_source : 7fe8dc07c816dca234c67761e61cdee372a87e97
2017-03-10 15:17:23 +13:00
Henry Chang effce52706 Bug 1325054 - Defer any possible connection establishment in BeginConnect until knowing if it's a tracker. r=dragana
MozReview-Commit-ID: 59MzYAVlr6i

--HG--
extra : rebase_source : feb16165876888aac853a9d4c1bb27b553134715
extra : source : bccd6272229ba5a6f4813cd9d54d52a3e19d9fd2
2017-03-06 17:43:11 +08:00
Michal Novotny e92895d647 Bug 1342366 - Crash in nsWyciwygChannel::GetCharsetAndSource, r=honzab 2017-03-15 08:40:56 +01:00
Eric Rahm 4e9a6f1d89 Bug 1344305 - Part 2: Update size calculation for base64 encode in nsHttpNTLMAuth::GenerateCredentials. r=jduell
MozReview-Commit-ID: 11CK452mzXL
2017-03-14 18:54:18 -07:00
Eric Rahm ddb7ada84d Bug 1344305 - Switch to Base64Decode in nsHttpNTLMAuth::GenerateCredentials. r=jduell
MozReview-Commit-ID: DK6yx4PAYzi
2017-03-14 18:54:17 -07:00
Sebastian Hengst 1bb61f6114 Backed out changeset 2d2d603dbdaf (bug 1337056) 2017-03-15 00:46:35 +01:00
Sebastian Hengst 8b0ff01934 Backed out changeset c9674c8a9d4f (bug 1337056) 2017-03-15 00:46:30 +01:00
Sebastian Hengst e96286a94b Backed out changeset 40b8605b5e48 (bug 1337056) 2017-03-15 00:46:06 +01:00
Michael Layzell a5740e4923 Bug 1337056 - Part 8: Add nsIRequest::LOAD_HTML_OBJECT_DATA flag to identify requests loaded by nsObjectLoadingContent, r=mcmanus
MozReview-Commit-ID: 3hgLRCeuiyD
2017-03-14 14:56:09 -04:00
Michael Layzell d861bbc093 Bug 1337056 - Part 3: Send down http[s] and ftp permissions as they are needed. Send down other permissions at startup, r=baku
MozReview-Commit-ID: CUKPvFp6zpF
2017-03-14 14:56:03 -04:00
Michael Layzell e7fb4ee297 Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
These APIs are intended to use the mechanism defined in Part 1.

Part 3 implements the usage of these APIs to synchronize permissions.

MozReview-Commit-ID: HNKyDPtoaHl
2017-03-14 14:55:49 -04:00
Valentin Gosu 724d134c92 Bug 1346711 - Backout changeset 36839839cfa7 (bug 1334443) a=backout
proxy_GetStringPref also strips whitespace, thus it breaks parsing a space separated list

MozReview-Commit-ID: F9SoMkbI28z
2017-03-14 15:28:48 +01:00
Carsten "Tomcat" Book fb74131fe7 Merge mozilla-central to mozilla-inbound 2017-03-14 14:26:07 +01:00
Carsten "Tomcat" Book dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Yoshi Huang 996e0349b3 Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.

So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.

There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
Carsten "Tomcat" Book fdb7f606e2 Backed out changeset 985d9b83325f (bug 1337043) for causing bug 1337043 2017-03-14 07:02:02 +01:00
Wes Kocher bdd77feb24 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GiMyITxSevR
2017-03-13 16:39:38 -07:00
Felipe Gomes 202823730b Bug 1337043 - Don't bother classifying about: URLs. r=tnguyen r=francois
MozReview-Commit-ID: Dz9XcepYWjh
2017-03-13 20:07:30 -03:00
Carsten "Tomcat" Book 1ddeca78fa Merge mozilla-central to autoland 2017-03-13 15:26:50 +01:00
Valentin Gosu a42ca87b4d Bug 1341343 - Make sure the channel returns the correct contentLength for alt-data without saving it to the metadata r=michal
MozReview-Commit-ID: 1pXspJwLfJa
* * *
[mq]: fixing.patch

MozReview-Commit-ID: KKS2x2aeHY3

--HG--
extra : rebase_source : b6deb2a1caead735356aa4079462abc6f46c25e4
2017-03-13 12:06:55 +01:00
Valentin Gosu 119e9abd82 Bug 1341343 - Don't send AltDataOutputStreamConstructor IPC message if mIPCOpen is false r=mayhemer,michal
MozReview-Commit-ID: 2cVpB2HOgSG

--HG--
extra : rebase_source : e69c34714f5afd065c6b0ecfd47cf07ba2ab877a
2017-03-13 12:06:52 +01:00
Valentin Gosu 62ea9feefd Bug 1341343 - Test for overwriting alt-data r=michal
MozReview-Commit-ID: HljsfPNtN42

--HG--
extra : rebase_source : d7f412e7aaf563b6083c0f5811f52605ccb4c5da
2017-03-13 11:38:38 +01:00
Andrea Marchesini f9cbf66dfd Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini 6ced9f8a25 Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
David Major 92cb9d6615 Bug 1344629 - Part 7: Fix up a couple of pointers to literal strings. r=dbaron
These would fail to compile once nsTLiteralString stops inheriting from nsTString.

MozReview-Commit-ID: DFvuESN8G5s

--HG--
extra : rebase_source : 14f4ea7b59d14786949a2d57c40f4e740b1aa34a
2017-03-14 15:26:36 +13:00
David Major dc67bfc9a3 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Iris Hsiao 5cece96e1c Backed out 12 changesets (bug 1344629) for stylo build bustage
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major a2d284604f Bug 1344629 - Part 7: Fix up a couple of pointers to literal strings. r=dbaron
These would fail to compile once nsTLiteralString stops inheriting from nsTString.

MozReview-Commit-ID: DFvuESN8G5s

--HG--
extra : rebase_source : 14f4ea7b59d14786949a2d57c40f4e740b1aa34a
2017-03-14 15:26:36 +13:00
David Major 40f4821701 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Amy Chung 2ac1ba03cf Bug 1312774 - Allow channels marked as urgentStart to bypass connection limits. r=mayhemer
--HG--
extra : rebase_source : 31612010ceb050a70ed4bd74cca8ccec8a21b07d
2017-03-12 01:31:13 +08:00
Kershaw Chang 3310ba5db8 Bug 1309653 - Part1: Add new API for updating current top level outer content windowId - v2, r=honzab
--HG--
extra : rebase_source : a7a9797ad94d66e9ecb9b13a6d7103c0af2303ff
2017-03-10 01:32:00 +01:00
Wes Kocher 65140a44e3 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Kershaw Chang 3cf721745a Bug 1326339 - Store top level outer content window id in http transaction and connMgr. r=mayhemer
--HG--
extra : rebase_source : 0ad395edaa8ae7760fb0057084f353d977964234
2017-03-09 02:55:00 -05:00
Valentin Gosu 1c5fbd8c6e Bug 1342438 - Remove url .hash encoding/decoding prefs r=bagder
These prefs have been added close to two years ago:
dom.url.encode_decode_hash and dom.url.getters_decode_hash
The main reason for their existence was in case we encounter any web-compat issues. At this point the extra code is mostly useless, and flipping the pref may lead to crashes.

MozReview-Commit-ID: LhAHkYmv0TR

--HG--
extra : rebase_source : 8f2d50d5633496cf165b3925d952bb6475bce3e0
2017-03-08 22:19:34 +01:00
Valentin Gosu 5847af980b Bug 1324243 - Normalize IPv6 r=manishearth
MozReview-Commit-ID: 1UFIdeWrz1E

--HG--
extra : rebase_source : cb7e44b0afe06426e3268e80d94a2f59af633b9b
2017-03-09 00:55:05 +01:00
Carsten "Tomcat" Book 45b510057b Merge mozilla-central to autoland
--HG--
extra : rebase_source : dcccfd463c74743c692814695c9a7f0cba61e3ee
2017-03-09 11:26:20 +01:00
Carsten "Tomcat" Book 6d06361383 merge mozilla-inbound to mozilal-central a=merge 2017-03-09 11:23:25 +01:00
Wes Kocher 5d9e472591 Backed out 3 changesets (bug 1334693) for build failures a=backout
Backed out changeset 8042ff76ef53 (bug 1334693)
Backed out changeset f48b85ae4eca (bug 1334693)
Backed out changeset 85c4356eebea (bug 1334693)

MozReview-Commit-ID: 2VFn68MXSmx
2017-03-08 18:04:30 -08:00
Jonathan Hao 93bb922fe6 Bug 1334693 - Test http2 push and origin attributes. r=mcmanus
MozReview-Commit-ID: 8qrhjyyV6Uc

--HG--
extra : rebase_source : 25832d4330c1c8521e3f3c965575b146c3e84c85
2017-03-08 18:17:10 +08:00
Jonathan Hao 8b9f1fd19c Bug 1334693 - Add origin attributes to Http2Stream::PushHashKey(). r=mcmanus
MozReview-Commit-ID: He9Ha4SOp2O

--HG--
extra : rebase_source : 7f99cc15dfd82ea7b4dfbb860831a0a5f4aff2cd
2017-03-08 18:26:08 +08:00
Jonathan Hao ae7d21780a Bug 1334693 - Add origin attributes to HTTP2 coalescing keys. r=mcmanus
MozReview-Commit-ID: C4ZbYSxWKLu

--HG--
extra : rebase_source : 166847fdd5c571abcb2b298c1f34c48420f41e21
2017-03-08 16:14:06 +08:00
Wes Kocher c1d1ad8a06 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1huLsbfIJEB
2017-03-08 17:15:08 -08:00
Cykesiopka 6b0596a14c Bug 1344441 - Move various Necko IDLs that really ought to be PSM IDLs. r=keeler,mcmanus
These IDLs conceptually are PSM APIs, and are implemented in PSM as well.

nsICryptoFIPSInfo.idl is similar but is removed instead because:
1. It's unused even by addons.
2. The only thing it provides is also available through nsIPKCS11ModuleDB.idl.

MozReview-Commit-ID: K8R0wDAhjLq

--HG--
rename : netwerk/base/nsICryptoHMAC.idl => security/manager/ssl/nsICryptoHMAC.idl
rename : netwerk/base/nsICryptoHash.idl => security/manager/ssl/nsICryptoHash.idl
rename : netwerk/base/nsINSSErrorsService.idl => security/manager/ssl/nsINSSErrorsService.idl
extra : rebase_source : 3eca83901e14cea714d402046303790d283cff74
2017-03-05 18:30:31 +08:00
Andrea Marchesini 12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Michal Novotny e8184a9cd7 Bug 1343816 - CacheFileIOManager::CloseHandleInternal() can remove file belonging to other handle. r=mayhemer 2017-03-08 05:12:00 -05:00
Carsten "Tomcat" Book f7810a3e13 Backed out changeset ca1f19ad3de6 (bug 1341572) for causing test failures in test_altsvc.js
--HG--
extra : rebase_source : 7377d5bf1efe761d07af2d64a2a8e8a429687f14
2017-03-08 16:29:50 +01:00
Dragana Damjanovic d813effa4b Bug 1341572 - Fix multiple HalfOpen socket for a single transaction. r=mcmanus
--HG--
extra : amend_source : 210b719d438b20dcaaae5f8bfff1b1715a9fc3e5
2017-03-08 04:04:00 +01:00
Daniel Stenberg d8104f97ac Bug 1342661: boundary check before assigning, r=valentin
From 9e7554ae8aa6c09e53207b2271991ec419652e0c Mon Sep 17 00:00:00 2001
---
 netwerk/streamconv/converters/nsBinHexDecoder.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
2017-03-06 13:26:43 +01:00
Thomas Nguyen 2b86f73c62 Bug 1339006 - Specify event target if we run nsIURIClassifier.clasify() from content process.r=ehsan, r=gcp
MozReview-Commit-ID: BztjVMlQngi
2017-03-08 11:06:36 +08:00
Andrea Marchesini f2a07c0b1c Bug 1344204 - nsBufferedInputStream should be serializable/cloneable following the internal sub streams, r=smaug 2017-03-08 07:48:37 +01:00
Andrea Marchesini e9195daa8d Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr 2017-03-08 07:41:51 +01:00
Andrea Marchesini 8c2ad72d08 Bug 1345168 - Fix the indentation in LoadInfo.cpp, r=tjr 2017-03-08 07:41:20 +01:00
Patrick McManus 5983012246 Bug 1345240 - Trigger Reads After FlushWrite with no new writable streams in h2 r=hurley 2017-03-07 15:56:41 -05:00
Honza Bambas 00410037b0 Bug 1342442 - Add null-check over gService in nsCacheService. r=michal 2017-03-06 05:46:00 -05:00
Florian Quèze cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Carsten "Tomcat" Book 087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Michal Novotny 43f8cee68d Bug 1343916 - CacheFile::Truncate doesn't update hashes in CacheFileMetadata, r=valentin 2017-03-09 17:28:56 +01:00
Jonathan Hao 56383b67ab Bug 1334693 - Test http2 push and origin attributes. r=mcmanus
MozReview-Commit-ID: 8qrhjyyV6Uc

--HG--
extra : rebase_source : a7b25bf4d9fc3abedac7959b0efc3271ea0994a7
2017-03-08 18:17:10 +08:00
Jonathan Hao 7bd0555dbc Bug 1334693 - Add origin attributes to Http2Stream::PushHashKey(). r=mcmanus
MozReview-Commit-ID: He9Ha4SOp2O

--HG--
extra : rebase_source : b4c0fe34f7ee08aea63ce58569a84efd0dc57072
2017-03-08 18:26:08 +08:00
Jonathan Hao c435bdc697 Bug 1334693 - Add origin attributes to HTTP2 coalescing keys. r=mcmanus
MozReview-Commit-ID: C4ZbYSxWKLu

--HG--
extra : rebase_source : 166847fdd5c571abcb2b298c1f34c48420f41e21
2017-03-08 16:14:06 +08:00
Andrea Marchesini 5074a53881 Bug 1339713 - Use IPCStream everywhere - part 4 - PWebSocket, r=smaug 2017-03-09 14:10:24 +01:00
Andrea Marchesini 5a6434a92a Bug 1339713 - Use IPCStream everywhere - part 2 - PFTPChannel, r=smaug 2017-03-09 14:09:31 +01:00
Wei-Cheng Pan 0ec220a22a Bug 1310127 - Part 6: Use MOZ_MUST_USE in netwerk/protocol/http r=dragana
MozReview-Commit-ID: 6zF76CsegSn

--HG--
extra : rebase_source : b151d1152014f32bc2a3019275d769f907d50145
2017-01-12 15:17:52 +08:00
Wei-Cheng Pan 3303c36f89 Bug 1310127 - Part 5: Use MOZ_MUST_USE in netwerk/protocol/http r=mayhemer
MozReview-Commit-ID: 9xtNZyavZtc

--HG--
extra : rebase_source : 255cd6a9646e9edf0189ac6f31f814cf1c528ff9
2017-01-12 17:49:03 +08:00
Wei-Cheng Pan ab2969cfa1 Bug 1310127 - Part 4: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
This patch contains some changes that may alter control flows.

MozReview-Commit-ID: Kcc2DWJZ8L5

--HG--
extra : rebase_source : ddb068f7c038f6f0ad75efda941dd6b8da8b949a
2016-12-28 14:43:47 +08:00
Wei-Cheng Pan 03ca0df8a1 Bug 1310127 - Part 3: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
Add assertions.

MozReview-Commit-ID: DPvgKzVr3ip

--HG--
extra : rebase_source : a96d658c8b76180fe5a904106de9a68de16e0383
2017-01-12 17:48:45 +08:00
Wei-Cheng Pan 7aa068fbb7 Bug 1310127 - Part 2: Use MOZ_MUST_USE in netwerk/protocol/http r=Cykesiopka,mcmanus
Log failures or just ignore them, no control flow change.

MozReview-Commit-ID: D748DEjl3Fv

--HG--
extra : rebase_source : cec54fe99637a2292e9d4ddc6f4131f083da509a
2016-12-27 19:05:13 +08:00
Wei-Cheng Pan 5143918e81 Bug 1310127 - Part 1: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
Add MOZ_MUST_USE attirbute to headers and idl files.

MozReview-Commit-ID: 7nZQlZoDrv2

--HG--
extra : rebase_source : e8d9469a3b24932d95bf533c54f43c324ffa8c53
2016-12-27 15:22:07 +08:00
Tim Huang 20060aad91 Bug 1337893 - Part 5: Add a test case for DNS with originAttributes. r=valentin
MozReview-Commit-ID: JzoGMfdmubH

--HG--
extra : rebase_source : dc8ec82f4c1ccf8fe8a744a35853c87dccc0a4a7
2017-02-15 10:36:39 +08:00
Tim Huang fc6e097c7a Bug 1337893 - Part 4: Updating whole gecko to make all callers of DNS using correct originAttributes. r=baku
MozReview-Commit-ID: D6Vp8ANSzLI

--HG--
extra : rebase_source : f3608b09835040e4a4f8e7675aa53d003f298d32
2017-02-15 10:39:40 +08:00
Tim Huang 2d4b6a79e2 Bug 1337893 - Part 3: Updating Necko for DNS changes. r=valentin
MozReview-Commit-ID: AVEp3hP7XqB

--HG--
extra : rebase_source : ab7bccfc0336a92f837c16eacbf3ae9290f3803b
2017-02-15 17:48:15 +08:00
Tim Huang defed589eb Bug 1337893 - Part 2: Making the DNS cache be aware of originAttributes. r=valentin
MozReview-Commit-ID: EroJiwwkGHa

--HG--
extra : rebase_source : 409730ef008b02373cc547a890224371806fbf4c
2017-02-14 12:25:35 +08:00
Tim Huang a36759a331 Bug 1337893 - Part 1: Updating idl and ipdl files of DNS to make them originAttributes aware. r=valentin
MozReview-Commit-ID: 8ev5AU1GKo5

--HG--
extra : rebase_source : d501c3368fe101f0c8a9418627b277c1791718be
2017-02-15 11:53:37 +08:00
Carsten "Tomcat" Book a25648d3cd Backed out changeset 189b914221f4 (bug 1324243) for wpt-11 bustage 2017-03-06 14:13:03 +01:00
Valentin Gosu 0cb0b2702b Bug 1324243 - Normalize IPv6 r=manishearth
MozReview-Commit-ID: Kxe9eLqvKp6

--HG--
extra : rebase_source : 195cafb81adeb9d5fa0a84535144debe1b26f6ff
2017-03-01 00:01:15 +01:00
Carsten "Tomcat" Book 2cba1fb22e Merge mozilla-central to autoland 2017-03-06 11:10:50 +01:00
Carsten "Tomcat" Book d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Valentin Gosu 55e829f800 Bug 1344558 - Avoid OOM in nsSimpleURI::SetPath r=mcmanus
MozReview-Commit-ID: JWlN5Q6H59Q

--HG--
extra : rebase_source : f3f1971f33d8fe6b560c1a9aca307219725713c6
2017-03-05 22:55:45 +01:00
Ursula Sarracini 6b1858e254 Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
MozReview-Commit-ID: F0P5tn2wyG

--HG--
extra : rebase_source : a9f766913b8340e12a4f526dc741e8ed752e6acf
2017-02-22 13:18:09 -05:00
Nick 88d3231652 Bug 1343545 - Moved necessary code out of nsNetUtilInlines.h and removed the file r=bsmedberg
MozReview-Commit-ID: AazctrDbCdf

--HG--
extra : rebase_source : 153265d7b2bf208d8a22c648f621c0f7f40ff405
2017-03-02 09:32:37 -05:00
Nick a140409193 Bug 1343489 - Remove unnecessary IsNeckoChild() call. r=mcmanus
MozReview-Commit-ID: B8PxDqO6fp5
2017-03-01 17:45:41 -05:00
Patrick McManus a980860d80 Bug 1340655 - remove h1 pipeline support r=mayhemer 2017-02-17 15:35:37 -05:00
Dragana Damjanovic 29f090a0d6 Bug 1343600 - add TLS handshake Start/Stop events. r=:valentin 2017-03-02 03:07:00 +01:00
Carsten "Tomcat" Book 4a4777d1aa merge mozilla-inbound to mozilla-central a=merge 2017-03-02 14:02:48 +01:00
Nick 18bf80c674 Bug 1337303 - Corrected RFC number cited in comments. r=mcmanus
MozReview-Commit-ID: eg1NRMeb5G

--HG--
extra : rebase_source : 5ba14360e3acf6652d3152109dea9945513b3271
2017-03-01 17:51:07 -05:00
Wes Kocher 9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Sebastian Hengst 71318f787d Backed out changeset 379093669b39 (bug 1340655) for warning as err.or at nsHttpConnection.cpp(875). r=backout on a CLOSED TREE 2017-03-01 20:20:57 +01:00
Patrick McManus 63212ea3a1 Bug 1340655 - remove h1 pipeline support r=mayhemer
HTTP/1.1 pipelines have been subsumed by the more effective mux of spdy, h2, and soon quic.

The feature was never able to overcome the limitations of HoL blocking
and TCP reset, and their impact on performance and reliability.

Fundamentally mux is the only way we should be approaching that problem.

The massive amount of code - mostly heuristics to try and deal with
the HoL problem (by classifying things onto different transactions,
timers for broken servers, etc..) has become a maintenance burden with
minimal value given the default off state of the feature.

h2 is the new (working) strategy.

--HG--
extra : rebase_source : 5794957c1f078ca435480724d3caf9bdd861b7de
2017-02-17 15:35:37 -05:00
Honza Bambas 51b7039d0c Bug 1343191 - Displayed HTTP cache occupation size may overflow. r=michal
--HG--
extra : rebase_source : bf26da8a240856cc684baf1096d664a6b5e69eef
2017-03-01 09:23:00 -05:00
Michael Layzell dba2e68a7e Bug 1343302 - Explicitly pass the nsHttpChannel to mCacheOpenRunnable instead of using a closure, r=valentin
MozReview-Commit-ID: 2jPiUdI1DWN
2017-03-01 15:09:44 -05:00
Benjamin Smedberg d9c7494134 Bug 1332639 - Remove the external string API: nsStringAPI.h/cpp and nsEmbedString.h, r=glandium
MozReview-Commit-ID: 9dZcmMAI0Vk

--HG--
extra : rebase_source : 5561cf7f3318c60f082fff02c5e78aba661f6437
2017-02-27 11:41:52 -05:00
Valentin Gosu d96e9dfb7a Bug 1340486 - Add licence header r=me DONTBUILD
MozReview-Commit-ID: F9qYkEpxXEd
2017-02-28 17:07:09 +01:00
Patrick McManus 4d766b8889 Bug 1344890 - need to set nsHttpTransaction.mSecurityInfo in Finish0RTT r=dragana 2017-03-08 13:18:24 -05:00
Kris Maglione ee306e28c0 Bug 1314361 - Part 6: Remove the addonId origin attribute. r=bholley 2016-11-08 17:11:32 -08:00
Dragana Damjanovic 2d58b7e9f1 Bug 1344340 - add text for NS_NET_STATUS_TLS_HANDSHAKE_STARTING and NS_NET_STATUS_TLS_HANDSHAKE_ENDED tansport states. r=valentin 2017-03-06 01:11:00 +01:00
Carsten "Tomcat" Book 110e96be80 Backed out changeset a8564a2c30a3 (bug 1343600) for landing with wrong bug number 2017-03-06 14:39:12 +01:00
Dragana Damjanovic 4ba0e2bf64 Bug 1343600 - add text for NS_NET_STATUS_TLS_HANDSHAKE_STARTING and NS_NET_STATUS_TLS_HANDSHAKE_ENDED tansport states. r=valentin 2017-03-06 01:11:00 +01:00
Patrick McManus 0a3349e548 Bug 1344374 - remove now-meaningless nsIRequest::INHIBIT_PIPELINE r=hurley 2017-03-03 16:46:53 -05:00
Wes Kocher d2b28917c0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7UN77Uvxgus
2017-02-27 13:37:44 -08:00
Wes Kocher 1e95bd721f Merge inbound to central, a=merge
MozReview-Commit-ID: F0XvCKnh8H7
2017-02-27 13:34:55 -08:00
Dragana Damjanovic 499d83ab5a Bug 1343008 - Fix combination of H2, tls1.3 early-data and not safe http methods. r=mcmanus 2017-02-27 15:02:47 -05:00
Valentin Gosu 3eeff608a4 Bug 1340486 - Remove duplication of code at nsHttpNegotiate/NTLMAuth::TestPref and MatchesBaseURI r=mayhemer
MozReview-Commit-ID: L8oS7TFnHJm

--HG--
extra : rebase_source : aac598a3b3722d9bfb370de425d14fbb4960291f
2017-02-27 17:57:59 +01:00
Amy Chung fd9951f4c7 Bug 1319403 - Modified nsCookieService::FindStaleCookie() and test cases, r=jdm 2017-02-27 18:31:33 +08:00
Wes Kocher e84fc624ff Merge inbound to central, a=merge
MozReview-Commit-ID: DpCZgRV1csS
2017-02-24 16:46:12 -08:00
Michael Layzell 59878e7979 Bug 1336510 - Part 8: Stop capturing this by value in OSX only code, r=schien
MozReview-Commit-ID: BHWJMHNgdRu
2017-02-24 14:34:29 -05:00
Michael Layzell 9509bedeee Bug 1336510 - Part 5: Workaround lambda static analysis in nsMultiMixedConv, r=valentin
MozReview-Commit-ID: 7Mvh9aeCKOh
2017-02-24 14:34:24 -05:00
Honza Bambas 8a976a079d Bug 1341932 - Ignore preamble in multimixed converter. r=valentin 2017-02-23 09:14:00 -05:00
Dragana Damjanovic 7fcc6ce47a Bug 1337826 - Do not use sticky connection if it is pipeline. r=mcmanus 2017-02-14 10:46:00 -05:00
Dragana Damjanovic d8b587f15b Bug 1340164 - Fix socketTrasport states in nsHttpTransaction coming from multiple sockets. r=mcmanus 2017-02-22 02:27:00 +01:00
Wes Kocher 7e8f316730 Backed out 8 changesets (bug 1336510) for windows debug mn-e10s failures a=backout
Backed out changeset 419ada2f9e81 (bug 1336510)
Backed out changeset 19239f566a93 (bug 1336510)
Backed out changeset c8aeead6fe83 (bug 1336510)
Backed out changeset 422e63b872b5 (bug 1336510)
Backed out changeset 21869174dfd3 (bug 1336510)
Backed out changeset 57476b9f342d (bug 1336510)
Backed out changeset e842cdaaa7e5 (bug 1336510)
Backed out changeset bd943b368ff7 (bug 1336510)

MozReview-Commit-ID: 2z3Wa9QFkX4
2017-02-23 16:07:41 -08:00
Michael Layzell 24d21a9419 Bug 1336510 - Part 8: Stop capturing this by value in OSX only code, r=schien
MozReview-Commit-ID: BHWJMHNgdRu
2017-02-23 12:24:12 -05:00
Michael Layzell dc0af656c5 Bug 1336510 - Part 5: Workaround lambda static analysis in nsMultiMixedConv, r=valentin
MozReview-Commit-ID: 7Mvh9aeCKOh
2017-02-23 12:24:12 -05:00
Ehsan Akhgari 8b2af3a15f Bug 1341954 - Break a reference cycle caused by ChannelListener that creates leaks in all tests using it; r=mcmanus 2017-02-23 12:12:56 -05:00
Nathan Froyd f7fb97ad16 Bug 1338282 - remove profile.dev options from rust-url-capi's Cargo.toml; r=valentin 2017-02-22 17:15:02 -05:00
Honza Bambas 3c1d8fd7b1 Bug 1322355 - Cancel http:// channel when secure update (redirect) to https:// is vetoed to avoid duplicate OnStartRequest notification + added logs. r=michal
--HG--
extra : rebase_source : edb97c1bdfd700ed75c57d1af0018f63428036f0
2017-02-22 09:10:00 -05:00
Patrick McManus 72f7c60874 Bug 1341128 - high level HTTP Channel Success Telemetry r=dragana r=bsmedberg
--HG--
extra : rebase_source : 22e7e39821c8b1f704b11e27979a02041bce8be2
2017-02-20 17:15:36 -05:00
Carsten "Tomcat" Book 9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Sebastian Hengst 10a6e4f120 Backed out changeset f82fd05e7699 (bug 1333899) 2017-02-22 09:59:57 +01:00
Sebastian Hengst eba24aae1e Backed out changeset fbb7cc8d04b9 (bug 1333899) 2017-02-22 09:59:53 +01:00
Andrea Marchesini e87ad16573 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 09:41:51 +01:00
Iris Hsiao f9bdfe10bb Backed out 5 changesets (bug 1339710) for GTest failures in TestSlicedInputStream.StartBiggerThan
Backed out changeset 7c0ec55b44dc (bug 1339710)
Backed out changeset cbb4e1c2aada (bug 1339710)
Backed out changeset c685dca493f5 (bug 1339710)
Backed out changeset 4761a15d45fd (bug 1339710)
Backed out changeset 7561692c1bc7 (bug 1339710)
2017-02-22 16:19:50 +08:00
Tooru Fujisawa 8f6cb3e9d7 Bug 1338262 - Remove legacy generator from netwerk/test/. r=mayhemer 2017-02-22 16:11:34 +09:00
Andrea Marchesini 190bf147a2 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 07:56:29 +01:00
Eric Rahm cbfbc77ab8 Bug 1333899 - Part 3: Avoid extra copies in nsDataChannel::OpenContentStream. r=bz
This switches over to cloning the URI without it's ref which will most likely
avoid a copy. The new |ParsePathWithoutRef| is used, again to avoid needing a
copy of the path substring.

A pipe is no longer used for the input stream, instead we use a string stream
which in most cases will be able to share the string data buffer rather than
copying it.

For the base64 case in the best case we only allocate the decoded buffer, worst
case there's another buffer for the URL decoded data. So either 3/4 transient
or 1 3/4 transient, both of which are better than 3.5.

MozReview-Commit-ID: 4tYI3iyxMCl
2017-02-21 17:56:36 -08:00
Eric Rahm 57307ce7cf Bug 1333899 - Part 2: Add nsDataHandler::ParsePathWithoutRef. r=valentin
This adds a version of |ParseURI| that only deals with the path portion of the
URI and expects the ref not to be present. It's mainly copy and pasted from
|ParseURI| but updated to use nsString methods rather than NSPR.

Additionaly it only returns a substring to the path passed in for the data
buffer if requested.

|ParseURI| is updated to advance past the scheme and trim the ref, then it
just uses |ParseURIWithoutRef|.

MozReview-Commit-ID: F5h6bcSLd8P
2017-02-21 17:56:35 -08:00
Wes Kocher 5295bd9f91 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AoD5GpFatBw
2017-02-21 17:41:05 -08:00
Wes Kocher 13e1cccb3f Merge inbound to central, a=merge
MozReview-Commit-ID: EEMZdLCheAm
2017-02-21 17:35:01 -08:00
Ehsan Akhgari 8b87856c36 Bug 1340677 - Stop supporting ORIGIN_IS_FULL_SPEC for Firefox; r=mcmanus
This is only used in Thunderbird and SeaMonkey and makes origin
comparisons needlessly slow in Firefox.
2017-02-21 10:37:37 -05:00
Jonathan Hao ed61d4b763 Bug 1334468 - A crashtest about restricted characters in URI. r=mcmanus
--HG--
extra : rebase_source : bd69aaed16294f4a4d48a89e3ba11eee758434b3
2017-02-10 11:19:59 +08:00
Carsten "Tomcat" Book 85079555b0 Merge mozilla-central to autoland 2017-02-20 14:12:30 +01:00
Carsten "Tomcat" Book 66dea2a3aa Backed out changeset 5124565a51dc (bug 1334468) for failing on own tests 2017-02-20 12:39:11 +01:00
Jonathan Hao cfa5b03320 Bug 1334468 - A crashtest about restricted characters in URI. r=mcmanus
--HG--
extra : rebase_source : acac1c82c5716428a4fa99aa4036cac8a6d4da87
2017-02-10 11:19:59 +08:00
Shih-Chiang Chien 9c648e86fc Bug 1337721 - Part 2, add xpcshell test for channel priority. r=mayhemer
MozReview-Commit-ID: JbbRg63ufW9

--HG--
extra : rebase_source : 4a32499e62a9c3f9292311a3974d5759bf5a579e
2017-02-10 16:56:04 +08:00
Shih-Chiang Chien 9de058213e Bug 1337721 - Part 1, preserve the channel priority after redirect. r=mayhemer
MozReview-Commit-ID: 14rIrhOcXXK

--HG--
extra : rebase_source : ec26484daa2684313990f54e4d579fe6b08daaa3
2017-02-10 10:45:28 +08:00
Thomas Nguyen 65d9ef988a Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois
MozReview-Commit-ID: 6u0dUOB838F

--HG--
extra : rebase_source : 8800e60e6a3b787f1ebaeafb48057e3a3d509468
2017-02-21 09:46:36 +08:00
Patrick McManus 93f999e4af Bug 1322373 - TLS 1.3 early-data for HTTP/2. r=dragana,mcmanus 2017-02-21 15:19:46 -05:00
Wes Kocher 5e9e84d7ec Backed out changeset a93c0f43ccf8 (bug 1322355) for android build bustage a=backout
MozReview-Commit-ID: 5ecKiKuodUm
2017-02-21 12:37:27 -08:00
Emanuel Hoogeveen 6a5e949037 Bug 1338574 - Part 5: Use MOZ_CRASH_UNSAFE_OOL in Necko. r=valentin
--HG--
extra : rebase_source : 21482d7c7e8b9451f8602a6373f2d0949c4c3f0d
2017-02-21 18:01:56 +01:00
Honza Bambas 1feb471fe0 Bug 1322355 - Cancel http:// channel when secure update (redirect) to https:// is vetoed to avoid duplicate OnStartRequest notification + added logs. r=michal
--HG--
extra : rebase_source : 23012382b21a1fd908d2cbb2a25b7a014f4149b7
2017-02-21 11:30:00 -05:00
Nathan Froyd 2f23818440 Bug 1339617 - move GetClosure call prior to canceling timer; r=mayhemer
Some recent work on timers changed how we handle callbacks and
associated closure data: prior to these changes, canceling timers would
not null out associated closure data, so calling GetClosure() on a timer
after canceling it would return what you had put in.  After these
changes, however, GetClosure() after cancellation would retrieve a null
value, causing anything that assumed non-nullness to crash.  The simple
fix is to move the GetClosure() call prior to Cancel()'ing the timer.
2017-02-21 13:35:52 -05:00
Carsten "Tomcat" Book 73835fd06d Merge mozilla-central to autoland 2017-02-24 11:54:01 +01:00
Thomas Nguyen 517a43f68d Bug 1336240 - Remove observer in PendingLookup and nsChannelClassifier r=dimi,francois
MozReview-Commit-ID: EBQpQzESVZP

--HG--
extra : rebase_source : 16f93024c26cde43a0960b4c9425f8fb60f66ad3
2017-02-24 10:14:07 +08:00
Jonathan Hao 9a4de2ace4 Bug 1323644 - Isolate the HSTS and HPKP storage by first party domain (Necko) r=ckerschb
MozReview-Commit-ID: 6DFPXTXoykc

--HG--
extra : rebase_source : 4c69a918b289f76a75ac463f08a6e43f7b625571
2017-02-14 10:29:41 +08:00
Phil Ringnalda 40752d4230 Backed out changeset 40d227b74dd1 (bug 1322373) for Android build bustage
CLOSED TREE
2017-02-17 19:32:01 -08:00
Nicholas Hurley 8996614036 Bug 1322373 - TLS 1.3 early-data for HTTP/2. r=dragana,mcmanus
MozReview-Commit-ID: 2edRJu2yPXz

--HG--
extra : rebase_source : e53e1aafc5d827f5fc6ef255a641a7dcc7098be0
2017-01-10 06:42:41 -08:00
Wes Kocher 8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Honza Bambas bb033696f7 Bug 1324419 - Use QueryObject for nsHttpChannel. r=mcmanus
--HG--
extra : rebase_source : 192a4705e4e91bc393a283743a1ad8880da6aeba
2017-02-17 08:08:00 -05:00
Honza Bambas 161afb3eae Bug 1326136 - Let nsHttpConnection close it's transaction on shutdown. r=mcmanus
--HG--
extra : rebase_source : 64ace3aba1174b82d74d3b872395dcc9e44c8a12
2017-02-16 06:50:00 -05:00
Dragana Damjanovic 7d8caf031b Bug 1338876 - Test for a digest auth. r=mcmanus
--HG--
extra : rebase_source : 2a0e7a7ded147c6fd19a9bc60a552408d7acb7d7
2017-02-17 10:44:36 -05:00
Vedant Sareen 7d4bd52fae Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Carsten "Tomcat" Book afe4d4b240 merge mozilla-inbound to mozilla-central a=merge 2017-02-17 13:24:55 +01:00
David Major cb834f6908 Bug 1340030: Remove necko_standalone lib (netwerk/standalone/). r=mcmanus
The only users of this library were removed by bug 1239866 and bug 1239870 as part of the larger removal of libxpcomrt in bug 1237409.
2017-02-17 15:17:39 +13:00
Wes Kocher adaec16e2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HtopB4vot9e
2017-02-16 17:23:00 -08:00
Blake Kaplan 7f89fb24f2 Bug 1335989 - Avoid a second copy when sending substrings through IPC. r=billm
MozReview-Commit-ID: HF27bYPH7Uq

--HG--
extra : rebase_source : 3b919d462068d76862e38401be1db9add1aebd05
2017-02-15 16:26:04 -08:00
Blake Kaplan 2620a3cb0c Bug 1335989 - Split aData into smaller chunks to avoid going over the IPC message size limit. r=billm
Unfortunately, this copies each chunk twice (once for the PromiseFlatString
and again for the message itself). At first blush it's hard to avoid the
double copy, but it seems like we could make this better.

MozReview-Commit-ID: F7ujVhUj596

--HG--
extra : rebase_source : 110681cdfe5c05ea735cdc60455e915a70bed3dd
2017-02-14 15:27:06 -08:00
Eric Rahm 6d6da9f240 Bug 1332202 - Followup to fix comment to say infallible. DONTBUILD r=me
MozReview-Commit-ID: ByRWrv7nGnM
2017-02-16 11:52:54 -08:00
Carsten "Tomcat" Book f3b2544de0 Merge mozilla-central to autoland 2017-02-16 13:20:11 +01:00
Carsten "Tomcat" Book b218b4c6ae merge mozilla-inbound to mozilla-central a=merge 2017-02-16 13:15:55 +01:00
Dragana Damjanovic fc793df53d Bug 1338876 - Read ww-auth properly. r=mcmanus
--HG--
extra : rebase_source : 61d54449f04d82ff58358315917558f276bba326
2017-02-15 20:38:59 -05:00
Wes Kocher 3797956aa6 Merge m-c to inbound a=merge
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Wes Kocher 9738f2b4f7 Backed out 5 changesets (bug 1336510) for mass bustage a=backout CLOSED TREE
Backed out changeset 35d16d04d67d (bug 1336510)
Backed out changeset 41db22e0c13d (bug 1336510)
Backed out changeset 2075037694ed (bug 1336510)
Backed out changeset 71be73be6c4e (bug 1336510)
Backed out changeset 02ccacdbbb93 (bug 1336510)

MozReview-Commit-ID: Lx2kKu7JVvI
2017-02-15 13:40:12 -08:00
Michael Layzell 455475c58b Bug 1336510 - Part 5: Workaround lambda static analysis in nsMultiMixedConv, r=valentin
MozReview-Commit-ID: 7Mvh9aeCKOh
2017-02-15 15:32:44 -05:00
Bill McCloskey 194043ae97 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Jan Horak cb8a1f1a44 Bug 1339372 - Abort during geolocation request when system DBus is not available; r=kanru
Under some special circumstances the system DBus is not available (for example in sandboxed environment).
This caused a crash during obtaining list of nearby wifi APs for determining user location. This patch
check result of dbus_bus_get() to avoid aborting.

MozReview-Commit-ID: LunRRdQQ4eL
***
Added braces

--HG--
extra : rebase_source : 40400b187a274d581c2f77081e1cddf589d39a78
2017-02-16 09:18:36 +01:00
Jonathan Hao 4bad12b164 Bug 1334690 - Isolate AlternateService mappings by Origin Attributes. r=mcmanus
MozReview-Commit-ID: LWfmmMn25zT

--HG--
extra : rebase_source : a1011393171cab727ae80652b49f928dad50291f
2017-02-14 16:49:59 +08:00
Jonathan Hao 020a6ee9a8 Bug 1334690 - Test that AlternateService is isolated by origin attributes. r=mcmanus
MozReview-Commit-ID: 3e6eiB5roVt

--HG--
extra : rebase_source : 57e16386780d3bf52e5557f3570a8835eb99e361
2017-02-16 17:50:55 +08:00
Junior Hsu 138b96c6ca Bug 1325322 - add HTTP_NET_VS_CACHE_* for large time span, r=michal
MozReview-Commit-ID: L8IISZ1SFCh

--HG--
extra : rebase_source : 67d8c08288023279f431ebaebdddedbca2fa071b
2017-02-14 01:31:00 +08:00
Ehsan Akhgari c5652aad98 Bug 1339129 - Remove access to HTTP-only cookies from the child process; r=jdm 2017-02-14 10:01:47 -05:00
Carsten "Tomcat" Book 6215212efa Merge mozilla-central to mozilla-inbound 2017-02-14 13:41:43 +01:00
Junior Hsu a9616aa8f5 Bug 1338154 - not normalize ipv4 for resource and chrome uri. r=valentin 2017-02-13 03:10:00 +08:00
Shih-Chiang Chien 54bcd3b5da Bug 1334068 - proxy release main-thread-only references in nsHttpChannel and HttpBaseChannel. r=mayhemer
MozReview-Commit-ID: 9lojerCPhSb

--HG--
extra : rebase_source : fe493862b74c9fc2be5358e70ef03deae318ad8d
2017-02-07 10:37:11 +08:00
Wes Kocher 252dae269a Merge inbound to central, a=merge
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Sebastian Hengst ebe4ae4dc3 Backed out changeset c27179ee59e9 (bug 1339129) for failing xpcshell tests netwerk/cookie/test/unit_ipc/test_ipc_parser_0001.js and test_ipc_parser_0019.js. r=backout 2017-02-13 21:23:52 +01:00
Michael Layzell a71fd85f7d Bug 1339153 - Part 1: Correctly emulate missing headers in nsViewSourceChannel::GetResponseHeader, r=bz
MozReview-Commit-ID: 34bCA7wKkmh
2017-02-13 14:42:24 -05:00
Ehsan Akhgari cbdcae43c2 Bug 1339129 - Remove access to HTTP-only cookies from the child process; r=jdm 2017-02-13 14:08:38 -05:00
Valentin Gosu d28a501a3f Bug 1339809 - Update rust-url to version 1.4.0 r=froydnj
MozReview-Commit-ID: 90Pe9sh91S5

--HG--
extra : rebase_source : 117b3e44a3ceffa9b36cb409b1ae8bf7f0287bad
2017-02-15 16:05:11 +01:00
Sylvestre Ledru 0b79b69876 Bug 1338086 - Remove useless else blocks in order to reduce complexity in netwerk/ r=dragana
MozReview-Commit-ID: 2TSxhHWmL2H

--HG--
extra : rebase_source : a8a70bfc3aec34b85d20021036bd2c13cdcfe5f3
2017-02-09 11:21:38 +01:00
Valentin Gosu 6ea6d93279 Bug 1325081 - Change nsHttpChannel to be able to race network with cache r=michal
MozReview-Commit-ID: LmIK9RiKsKp

--HG--
extra : rebase_source : f908b168eb76781e3f398efed9b111a0aca63c29
2017-02-16 15:20:13 +01:00
Valentin Gosu bc75a46d4a Bug 1325081 - Add interface to delay the cache fetch in order to test network-cache racing of HTTP requests r=michal
MozReview-Commit-ID: 96fSzPw8FHi
* * *
[mq]: over1

MozReview-Commit-ID: 80RePXK1TbR

--HG--
extra : rebase_source : a89470efe71442fb6af36e74ac582e232557f81d
2017-02-15 20:44:09 +01:00
Tom Tromey d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey 5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tom Tromey 0f3e91830a Bug 1060419 - make nsHttpHandler.cpp use Printf.h, r=froydnj
MozReview-Commit-ID: 5oMUmsrQV3k

--HG--
extra : rebase_source : a1e8bef0d98d616a20872497213f10261d2cf511
2016-12-09 10:23:00 -10:00
Tom Tromey 8b46780e10 Bug 1060419 - make nsCookieService.cpp use Printf.h, r=froydnj
MozReview-Commit-ID: G2ge9NFbDV6

--HG--
extra : rebase_source : 0f83efba40734408fab3e3b523349202c7b448fb
2016-12-09 10:21:55 -10:00
Tom Tromey f8ab4ddf02 Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
MozReview-Commit-ID: JifhpA3oOeH

--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Nicholas Hurley 31b98bda83 Bug 1312754 - Add a service to throttle certain HTTP channels. r=mayhemer
This patch adds (and hooks up) a new service so that HTTP channels marked as
"Throttleable" will periodically be Suspend()ed and Resume()d when more
important operations are going (such as a page load).

While this patch is not responsible for marking channels as "Throttleable",
the general idea is that these would be less-important channels - background
downloads, beacons, etc, and perhaps even resources known to be trackers.

MozReview-Commit-ID: HEZsxS04rRK

--HG--
extra : rebase_source : 03cce85fe7df782e1f6e2da9e5a99997b796aba2
2017-01-10 06:39:18 -08:00
Nicholas Hurley daad6c8f13 Bug 1312754 (prereq) - Fix compile issues caused by shuffling around unified files. r=mayhemer
MozReview-Commit-ID: 1FIopeftM6G

--HG--
extra : rebase_source : 8c2bae2051b1459b7304a1208990193581fa84d9
2017-01-10 06:34:49 -08:00
Liang-Heng Chen ce7d6c91d6 Bug 1028195 - make proxy bypass rule consistent; r=bagder
MozReview-Commit-ID: CMAUt1p3L3u

--HG--
extra : rebase_source : 4a33d2ebd55aa501acf74100273490af9c521c63
2017-02-08 15:10:02 +08:00
Nils Ohlmeier [:drno] 0a462392c1 Bug 1317946: unit test for zero length UDP messages. r=schien
MozReview-Commit-ID: Gemk8EiUO31

--HG--
extra : rebase_source : cd3fc124e4a710b6613b19a79028df5aae4a227c
2017-01-06 15:35:08 -08:00
Nils Ohlmeier [:drno] 73dd4c356c Bug 1317946: allow sending of zero length buffers. r=schien
MozReview-Commit-ID: 4vNPewYScEF

--HG--
extra : rebase_source : d678703429b39a2a8bb2127f5fc55528a38fd480
2017-01-13 23:54:51 -08:00