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