Honza Bambas
4263c50db2
Bug 1358060 - Allow postponing of unimportant resources opening during page load, class-of-service Tail flag. r=dragana
...
--HG--
extra : rebase_source : 1ab691fe066e641c948aa5f42827305411579708
2017-08-30 09:32:00 -04:00
Nicholas Hurley
d4f64ba24e
Bug 1391467 - Remove --enable-necko-protocols. r=gps,valentin
...
This patch removes the ability to select which protocols you want
included in necko, a wholly untested configuration that is broken in
practice. We have no need of this kind of configurability in necko.
In addition, this removes the final vestiges of rtsp support, which was
originally removed in bug 1295885 but still had some stuff hanging
around behind some ifdefs (that were never true).
MozReview-Commit-ID: KOEaDmit2IL
--HG--
extra : rebase_source : f6c2fdb972aaba46e922cda801252dc953550b94
2017-08-17 17:30:57 -07:00
Carsten "Tomcat" Book
139661e8e4
Merge mozilla-central to mozilla-inbound
2017-07-28 15:25:58 +02:00
Shane Caraveo
824d3d0d57
Bug 1380186 implement SimpleChannel Parent/Child IPC, r=kmag,mayhemer
...
MozReview-Commit-ID: 8zgF2MLwdu2
--HG--
extra : rebase_source : a5adcddb0119b8308a7beef74df998263dc8b620
2017-07-27 13:34:54 -07:00
Kershaw Chang
9d5a13ae0f
Bug 1366822 - Part2: Revert changes of NotifyCurrentTopLevelContentWindowChange, r=mayhemer
2017-07-27 23:42:00 +02:00
Haik Aftandilian
9ab2f249f0
Bug 1376496 - Part 5 - Don't send child nsILoadInfo's to the parent for requests. r=ckerschb
...
MozReview-Commit-ID: G8fCPL7aLT0
--HG--
extra : rebase_source : 3c49008eaedf65befffc2f0327529817d9879cd5
2017-07-20 11:49:29 -07:00
Haik Aftandilian
c3cf53a7ef
Bug 1334550 - Part 1 - Proxy moz-extension protocol requests to the parent process; r=jimm,mayhemer
...
Changes ExtensionProtocolHandler to use remote streams for
moz-extension loads of file and JAR URI's to allow for
filesystem read-access sandboxing.
Adds messaging to PNecko to allow child processes to
request an input stream or file descriptor for moz-extension
URI's.
Add ExtensionProtocolHandler singleton so that NeckoParent can
call methods directly and ExtensionProtocolHandler::NewFD
can use a new member variable |mFileOpenerThread| to open files.
Adds FileDescriptorFile, a limited implementation of nsIFile
that wraps a file descriptor, to be sideloaded into
nsJARChannels so that extension JAR files can be read
using a file descriptor without accessing the filesystem
directly.
MozReview-Commit-ID: 1pcnIpjz2yR
--HG--
extra : rebase_source : 9d7334778fc81837b11b98d4e32603f7e5eb3a27
2017-06-23 17:10:54 -07:00
Phil Ringnalda
21f33fe35a
Backed out 3 changesets (bug 1334550) for Windows timeouts in test-oop-extensions/test_ext_unlimitedStorage.html
...
Backed out changeset 17c74c7634a2 (bug 1334550)
Backed out changeset d3b0db4e50c5 (bug 1334550)
Backed out changeset 4319f15e2496 (bug 1334550)
MozReview-Commit-ID: 2vmxPAMJZW
2017-06-22 22:32:58 -07:00
Haik Aftandilian
008a6c80f9
Bug 1334550 - Part 1 - Proxy moz-extension protocol requests to the parent process; r=jimm,mayhemer
...
Changes ExtensionProtocolHandler to use remote streams for
moz-extension loads of file and JAR URI's to allow for
filesystem read-access sandboxing.
Adds messaging to PNecko to allow child processes to
request an input stream or file descriptor for moz-extension
URI's.
Add ExtensionProtocolHandler singleton so that NeckoParent can
call methods directly and ExtensionProtocolHandler::NewFD
can use a new member variable |mFileOpenerThread| to open files.
Adds FileDescriptorFile, a limited implementation of nsIFile
that wraps a file descriptor, to be sideloaded into
nsJARChannels so that extension JAR files can be read
using a file descriptor without accessing the filesystem
directly.
MozReview-Commit-ID: 1pcnIpjz2yR
--HG--
extra : rebase_source : c3f2ede3dbfb29d98af6b194dbe58669d93d4197
2017-06-22 11:53:06 -07:00
Honza Bambas
5f3173e90f
Bug 1365306 - Remove net::ThrottlingService, don't suspend/resume download channels on page load. r=hurley
2017-05-18 14:09:00 -04:00
Andrea Marchesini
b69ca32006
Bug 1359005 - Cleanup the use of PBlob in StructuredCloneHolder - part 1 - protocols, r=smaug
2017-05-23 07:49:40 +02:00
Nicholas Hurley
861e6a501e
Bug 1345094 - make http redirects to file:// uris work under e10s. r=mayhemer
...
MozReview-Commit-ID: J4IheswoeMZ
--HG--
extra : rebase_source : 4af1354af026fc9be255ed2ef92164d5575f1d5d
2017-04-12 11:43:50 -07:00
Nicholas Hurley
89c508224f
Bug 1348462 - Use a process-unique uint64 instead of a uuid for request context ids r=mcmanus
...
--HG--
extra : rebase_source : 84541f78eeec1a5e202c12b57131ede9834f687a
2017-03-23 07:40:36 -07: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
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
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
Andrea Marchesini
5a6434a92a
Bug 1339713 - Use IPCStream everywhere - part 2 - PFTPChannel, r=smaug
2017-03-09 14:09:31 +01: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
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
Tim Huang
715d0af359
Bug 1312954
- Part 5: Have the network predictor use OriginAttributes to properly partition connections it creates like non-predictive connections. r=nwgh
2017-02-02 22:16:00 -05:00
Tim Huang
fc4cdaf096
Bug 1304219 - Part 1: Add a nsISpeculativeConnect.speculativeConnect2() interface which takes a principal as an additional argument. r=mayhemer, sr=mcmanus
...
--HG--
extra : rebase_source : 5fbcafd208b3136d168725b0a57e35bb70304f6a
extra : histedit_source : 2f9e0606a13b41deea3675d9435dcc7ef52f37c3
2016-10-24 12:18:25 +08:00
Valentin Gosu
32a883b619
Bug 1307467 - Remove RemoteFileOpen, and all app:// related code from JAR channels. r=bagder
...
Removes things added in bug 815523
MozReview-Commit-ID: FuXQceHGLhf
--HG--
extra : rebase_source : 048132627fb1e7ef00a061c3173fdd049724936c
2016-10-21 00:08:57 +02:00
Josh Matthews
9c847a5ac4
Bug 1277681 - Send HTTP request bodies in chunks. r=mayhemer
2016-09-28 18:38:26 -04:00
Valentin Gosu
d746e122c8
Bug 1307491 - (Part 1) Remove support for per-app-offline in netwerk/ [nukeb2g] r=bagder
...
* * *
Bug 1307491 - Remove support for per-app-offline [nukeb2g] r=bagder
MozReview-Commit-ID: FoweWBv9QyE
--HG--
extra : rebase_source : 0f6e0f0d19f108c3aef8b25cb6d605ecd338ee2b
2016-10-17 03:54:46 +02:00
Bill McCloskey
f478d1188c
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 20:34:54 -07:00
Bill McCloskey
b83db28a45
Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
...
This reverts commit b1460c626078afbb9290e7d9ecaf3af605d5e893.
2016-10-04 15:55:19 -07:00
Bill McCloskey
eddd80027c
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 15:28:14 -07:00
Valentin Gosu
76d2cd8b5d
Bug 1231565 - (Part 2) Allow storing alternate data in the HTTP cache r=honzab
...
* Add PAltDataOutputStream.ipdl to be able to open an OutputStream to the cache entry in the child process
* AltDataOutputStreamChild/Parent are Main Thread only for now.
* Adds methods for reading and writing alt-data to nsICacheInfoChannel.idl
* Keep a ref of the cache entry after OnStopRequest in case the consumer tries to open the alt-data output stream
MozReview-Commit-ID: jlraDI97Hg
2016-04-11 05:17:02 +02:00
Nicholas Nethercote
37301e25ad
Bug 1297300 - Add missing checks to GetSpec() calls in netwerk/. r=hurley,dragana.
...
--HG--
extra : rebase_source : 961a82fb6e723688837e5250f57121c14ca958cb
2016-08-26 16:40:57 +10:00
Jonas Sicking
add35a6bd8
Bug 1263991 part 6: Add e10s support for incoming websocket connections to FlyWebPublishedServer. r=baku,michal
2016-06-07 02:46:03 -07:00
Carsten "Tomcat" Book
5a4b7e506f
Backed out changeset 64fb728c174a (bug 1263991)
2016-06-07 12:10:23 +02:00
Jonas Sicking
9835b04168
Bug 1263991 part 6: Add e10s support for incoming websocket connections to FlyWebPublishedServer. r=baku,michal
2016-06-07 02:46:03 -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
Nicholas Hurley
fd7a5d97b5
Bug 1016628 - Add prefetch abilities to the predictor. r=mayhemer
2016-04-21 12:32:30 -07:00
Nicholas Hurley
ccbf76c675
Bug 1260498 - Make test_rel_preconnect work in e10s mode. r=mcmanus
...
MozReview-Commit-ID: 3PGA2N73foH
--HG--
extra : rebase_source : b3837c38a8bf1847d207ebfc2d3ce60ddf826a01
2016-03-28 16:43:01 -07:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Andrea Marchesini
73c08ab413
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 2 - Unique Serial number for WebSocketChannel in IPC, r=michal
2015-10-28 19:10:42 +00:00
Andrea Marchesini
b121e7da05
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
...
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 19:10:20 +00:00
Carsten "Tomcat" Book
bc50966763
Backed out changeset 7393a036ce36 (bug 1215092) for failing on own tests on a CLOSED TREE
...
--HG--
rename : netwerk/protocol/websocket/PWebSocketEventListener.ipdl => netwerk/protocol/websocket/PWebSocketFrameListener.ipdl
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.cpp => netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.h => netwerk/protocol/websocket/WebSocketFrameListenerChild.h
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.cpp => netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.h => netwerk/protocol/websocket/WebSocketFrameListenerParent.h
rename : netwerk/protocol/websocket/WebSocketEventService.cpp => netwerk/protocol/websocket/WebSocketFrameService.cpp
rename : netwerk/protocol/websocket/WebSocketEventService.h => netwerk/protocol/websocket/WebSocketFrameService.h
rename : netwerk/protocol/websocket/nsIWebSocketEventService.idl => netwerk/protocol/websocket/nsIWebSocketFrameService.idl
2015-10-28 14:28:59 +01:00
Carsten "Tomcat" Book
df5ef54deb
Backed out changeset 2284c3e8c336 (bug 1215092)
2015-10-28 14:28:37 +01:00
Andrea Marchesini
e0173ff60c
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 2 - Unique Serial number for WebSocketChannel in IPC, r=michal
2015-10-28 11:42:00 +00:00
Andrea Marchesini
4d8e79e969
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
...
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 11:41:24 +00:00
Andrea Marchesini
5fb333826f
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 4 - IPC, r=michal
2015-10-26 15:31:00 +00:00
Josh Matthews
fbb088e702
Bug 885982 - Part 3: Add e10s support to TCPSocket and TCPServerSocket. r=asuth,mayhemer,bz
2015-03-25 10:36:56 -04:00
Nicholas Hurley
16407ea724
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL
...
--HG--
extra : rebase_source : 24dd37c6eaec83a1776d77632b97106e8abb8015
2015-07-31 13:50:08 -07:00
Wes Kocher
98e5242831
Backed out changeset 2bdaed564656 (bug 1125961) for b2g emulator mochitest-21 failures starting in test_fetch_event_client_postmessage.html
2015-07-30 14:53:38 -07:00
Josh Matthews
77fd3928cf
Bug 1125961 - Allow sending null PBrowser actors when there's a triggering principal which can be used for security checks. r=bkelly,ddamjano
2015-06-03 15:07:42 -04:00
Nicholas Hurley
ff91c700ee
Bug 959752 - Make the network predictor work under e10s. r=mcmanus
2015-06-18 11:23:00 +02:00
Ryan VanderMeulen
350215c93f
Backed out changeset 068df0223a6c (bug 1125961) for e10s crashes.
...
CLOSED TREE
2015-06-15 15:27:53 -04:00