Commit Graph

14216 Commits

Author SHA1 Message Date
Michael Layzell
661470315c Bug 1349634 - Ensure that HttpChannelParent isn't closed before accessing its Manager(), r=billm
MozReview-Commit-ID: EXHeRpN36yU
2017-03-24 15:53:00 -04:00
Carsten "Tomcat" Book
5f408d092d Merge mozilla-central to mozilla-inbound 2017-03-24 14:29:00 +01:00
Carsten "Tomcat" Book
7419b36815 merge mozilla-inbound to mozilla-central a=merge 2017-03-24 14:24:21 +01:00
Kris Maglione
3107e48e00 Bug 1348442: Part 4 - Remove support for synchronously loading localized extension CSS. r=jdm
After switching to loading content stylesheets asynchronously, there are no
longer any consumers that require a synchronous channel to load localized CSS,
so these workarounds are no longer necessary.

MozReview-Commit-ID: AwLSmYf9qL3

--HG--
extra : rebase_source : d5f34c37e91478bb656014d53011ba2f504fe0e8
2017-03-17 16:46:59 -07:00
Valentin Gosu
85893b625c Bug 1344498 - Use fallible string.StripWhitespace to avoid OOM r=mcmanus
MozReview-Commit-ID: 9wosC46DNcX

--HG--
extra : rebase_source : 266a4c722d32d9e924d5450c000740f80c145bc3
2017-03-23 12:54:38 +01:00
Thinker K.F. Li
837f48f1f8 Bug 1323076 - Part 5: Necko with flag checking for TaskTracer. r=mayhemer 2017-03-22 21:53:00 +01:00
Kershaw Chang
3b3bf39b5a Bug 1343761 - Use SystemGroup to dispatch runnables in DNSRequestChild, r=mayhemer
--HG--
extra : rebase_source : b2d0aa4e0ed2aca8b79b9c3ff024609b717c0ead
2017-03-23 23:33:00 +01:00
Kershaw Chang
07398398a4 Bug 1343750 - Part2: Label runnable and IPC actor in FTPChannelChild, r=mayhemer
--HG--
extra : rebase_source : ea62f6fcdc87545028ef754a054e944775b26d42
2017-03-23 23:31:00 +01:00
Kershaw Chang
7f62e4602e Bug 1343750 - Part1: Add an API to get Dispatcher from nsILoadInfo, r=mayhemer
--HG--
extra : rebase_source : 5fba371b7bfe8b4704b346f57953aa447662aef8
2017-03-23 23:31:00 +01:00
Carsten "Tomcat" Book
9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Carsten "Tomcat" Book
534f3aebc6 Merge mozilla-central to mozilla-inbound 2017-03-22 16:13:03 +01:00
Carsten "Tomcat" Book
62f6c37109 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
Andrea Marchesini
507c00cb9f Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/ContentPrincipal.cpp
rename : caps/nsPrincipal.h => caps/ContentPrincipal.h
2017-03-22 11:39:31 +01:00
Andrea Marchesini
1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Junior Hsu
8fc810c5c9 Bug 1325091 - Add flag indicating presence of alternative data in the cache entry to cache index. r=michal 2017-03-06 18:21:59 +08:00
Wes Kocher
76372437ce Backed out changeset c040782ca691 (bug 1344171) for being the likely cause of Win7VM xpcshell crashes a=backout
MozReview-Commit-ID: GcZD8oWQ548
2017-03-21 17:19:32 -07:00
Wes Kocher
3c092e1002 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GjXiiENYBmx
2017-03-21 16:20:08 -07:00
Wes Kocher
8fb7d84cb4 Merge inbound to central, a=merge
MozReview-Commit-ID: FKkx5SygvHz
2017-03-21 16:08:32 -07:00
Michael Layzell
796f2bf010 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-21 11:08:03 -04:00
Michael Layzell
09ff23c2cc 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-21 11:08:03 -04:00
Michael Layzell
ba95fb3f71 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-21 11:08:03 -04:00
Sebastian Hengst
952d1e945f Backed out changeset 4258769b457d (bug 1348464) for crashing in Marionette e10s tests in nsIDocument::GetDocGroup(). r=backout on a CLOSED TREE 2017-03-21 15:48:56 +01:00
Sebastian Hengst
2b5713b552 Backed out changeset b89cd59e4ff6 (bug 1348464) 2017-03-21 15:47:46 +01:00
Ehsan Akhgari
2d24acd7f3 Bug 1348464 - Part 1: Avoid two virtual calls in NS_URIChainHasFlags(); r=mcmanus 2017-03-21 09:26:07 -04:00
Ehsan Akhgari
350b13d1d9 Bug 1348464 - Part 0: Make nsIOService::GetInstance() a simple inline function that returns a plain pointer; r=mcmanus 2017-03-21 09:26:00 -04:00
Carsten "Tomcat" Book
6fd1303c2a merge mozilla-inbound to mozilla-central a=merge 2017-03-21 12:04:43 +01:00
Andrea Marchesini
2e9d67bae0 Bug 1347557 - Move 2 static methods about the IPC serialization of streams into an helper class, r=qdot 2017-03-21 07:47:25 +01:00
Daniel Stenberg
6ae1479eb9 Bug 1344461 - Keep track of line length to not read beyond eol. r=valentin
--HG--
extra : rebase_source : 662cfbee945210e4fb3a15ef1073bad4afb3c30a
2017-03-20 18:23:18 -04:00
Dragana Damjanovic dd.mozilla@gmail.com
4ec03683cd Bug 1344171 - Improve connection management. r=mcmanus 2017-03-21 18:38:07 +01:00
Henry Chang
749573264f 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
Nicholas Hurley
ba45d4be81 Bug 1343505. r=mcmanus
MozReview-Commit-ID: 7OPJQfzW4FU

--HG--
extra : rebase_source : e05aa6cc88883533171f620a153fedccf5c80efa
2017-03-20 18:01:31 -04:00
Sebastian Hengst
2d4fb783da Backed out changeset 1f0db7810a84 (bug 1344171) for bustage (unused variable 'claimed'). r=backout 2017-03-20 20:29:03 +01:00
Dragana Damjanovic dd.mozilla@gmail.com
6d420690b1 Bug 1344171 - Improve connection management. r=mcmanus 2017-03-20 05:26:00 -04:00
Michal Novotny
b7c9ae474c Bug 1342722 - Firefox cache used all available inodes on the system, r=honzab
When overlimit eviction is too slow the new content might be stored much faster than the old one is deleted. In such case the cache can grow far beyond the cache size limit. This patch implements a hard limit (105% of cache size limit) when we stop caching any new content.
2017-03-20 18:49:04 +01:00
Michael Froman
f0c929ff2d Bug 1345511 - pt 2 - add IPC mechanism for getting stun addrs on main process. r=bwc
PStunAddrsRequest.ipdl defines the new IPC protocol to get stun
  addrs on the main process.
StunAddrsRequestChild requests the stun addrs from the parent.
StunAddrsRequestParent uses a static method on NrIceCtx to get the
  stun addrs from the STS thead and sends the addrs back to the
  child process.
NrIceStunAddr (nricestunaddr.{cpp|h}) wraps nr_local_addr and makes
  it easier to serialize/deserialize over IPC.
NrIceStunAddrMessageUtils follows the pattern used by other Necko
  IPC classes to define top-level serialization/deserialization
  calls used by the IPC framework.

Modifications under netwerk/ipc are to connect the new IPC
protocol to get stun addrs to PNecko since it is a network
related IPC protocol.

MozReview-Commit-ID: GyEapBe5krl

--HG--
extra : rebase_source : c650d6aa4f7928bcae6032424303869074a755d4
2017-03-21 19:59:05 -05:00
Wes Kocher
9a54a919a0 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2LT2oEKZno8
2017-03-21 16:20:49 -07:00
Nicholas Hurley
bdde27869d Bug 1349246 - fix stream target for early transport status events. r=mcmanus
MozReview-Commit-ID: 9IGDNbNH0L8

--HG--
extra : rebase_source : 9f40a88663e78c9ff4082221707921af92fece79
2017-03-16 08:45:42 -07:00
Carsten "Tomcat" Book
ba50caf91b Merge mozilla-central to autoland 2017-03-21 12:08:43 +01:00
Valentin Gosu
1d52489dd5 Bug 1334443 - Rewrite nsProtocolProxyService::LoadHostFilters to use Tokenizer r=bagder
This eliminates some of the pointer math and makes the method a bit safer.
The function's behaviour remains the same as before.

MozReview-Commit-ID: 94wBk6xvkd6

--HG--
extra : rebase_source : 9fac33114b16d0910e63b474222acf0bc1db500f
2017-03-20 20:21:15 +01:00
Valentin Gosu
179c07ad0e Bug 1334443 - Add gtest for nsProtocolProxyService::{LoadHostFilters,CanUseProxy} and fix IPv6 parsing r=bagder
While writing a gtest I discovered the parsing an IPv6 address didn't work due to the brackets.

MozReview-Commit-ID: 9mmKS72hf7Y

--HG--
extra : rebase_source : 757a19a50a50b2af232f0b44f6faacf7280b554a
2017-03-20 20:20:42 +01:00
David Keeler
f80d918026 bug 1344585 - close streams and server sockets in test_tls_server.js to prevent leaks r=mcmanus
MozReview-Commit-ID: 28v2rhrcktS

--HG--
extra : rebase_source : 13e72fe847c3f0cdbba4e126551704fee2f3870c
2017-03-21 13:56:57 -07:00
David Keeler
255cd7aea4 bug 1344584 - proactively close streams in test_be_conservative.js to prevent leaks r=mcmanus
MozReview-Commit-ID: 89h5lQJum6c

--HG--
extra : rebase_source : 50744f0c8bd21001362fbab090c4b34fd5992784
2017-03-21 13:23:09 -07: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