Commit Graph

42 Commits

Author SHA1 Message Date
Andrea Marchesini
87a82ac67c Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz 2017-08-10 18:04:54 -07:00
Nicholas Nethercote
e892cd86c4 Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm.
As well as the obvious #ifdef stuff, the patch removes
TCPSocket::SetAppIdAndBrowser(), which means
{TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}()
can also be removed.
2017-07-21 10:52:44 +10:00
Liang-Heng Chen
836e4ee004 Bug 1328106 - check IPC state before sending event; r=jdm
MozReview-Commit-ID: CeWCIG0dyKS
2017-01-23 16:23:34 +08:00
Byron Campen [:bwc]
24e43ec805 Bug 1056934 - Part 6: Fix bug where TCPSocketParent would not use TLS when requested. r=mcmanus
MozReview-Commit-ID: EQHzJWyzAN9
2017-01-03 12:34:19 -06:00
Nils Ohlmeier [:drno]
f29f351b30 Bug 1266667: socket reuse option for TCPSocket. r=mcmanus
MozReview-Commit-ID: CJEK714ruLl
2016-12-21 23:38:06 -08:00
Ehsan Akhgari
5bbe94bf07 Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku 2016-11-16 14:51:08 -05:00
Ehsan Akhgari
917a5e63fc Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Kan-Ru Chen
1b9dd22e2d Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Valentin Gosu
c3d3f2fe38 Bug 1307491 - (Part 3) Remove support for per-app-offline in don/network [nukeb2g] r=baku
MozReview-Commit-ID: KCg4R3LD8AE
2016-10-17 03:58:59 +02:00
Kan-Ru Chen
a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Andrea Marchesini
3e782b8fc6 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Ralph Giles
507e7673e8 Bug 1275744 - Reference MOZ_LOG in dom comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: GgJTpEHyZqJ
2016-05-26 11:08:47 -07:00
Patrick McManus
e01f1d0309 Bug 1274376 - more mozilla::net namespaces r=dragana 2016-05-18 22:02:57 -04:00
Byron Campen [:bwc]
877573932f Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1
2016-03-14 13:31:01 -05:00
Wes Kocher
6dd03d6f62 Backed out changesets 8ed054e5853e,d56adef9c8e0,408df9f84697,7092e498ac3a,29dce05596c6,ae1dc75009e7 (bug 1231975) for breaking local mochitests a=backout
MozReview-Commit-ID: 17mJDyZMVju
2016-04-27 10:20:42 -07:00
Byron Campen [:bwc]
31bc77c3c4 Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1
2016-03-14 13:31:01 -05:00
Carsten "Tomcat" Book
b09198355d Backed out changeset 4cff2bed6747 (bug 1231975) 2016-04-25 16:28:47 +02:00
Byron Campen [:bwc]
0acb69b572 Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1
2016-03-14 13:31:01 -05:00
Nils Ohlmeier [:drno]
bf62a882a2 Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
MozReview-Commit-ID: 8PpL6Z0za71
2016-02-11 01:18:46 -08:00
J. Ryan Stinnett
2024f04e83 Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
Randell Jesup
c41ae23770 Bug 1226200: Don't assume a TCPSocket has only one managee (and rename LoneManagedOrNull) r=jdm 2015-12-22 10:14:23 -05:00
Birunthan Mohanathas
ac37dec517 Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Nathan Froyd
0ff019108f Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld
A lot of existing code has variations on:

  if (ManagedPFooChild().Length()) {
    ...(ManagedPFooChild()[0])...
  }
  // Do something with nullptr, or some other action.

It's pretty reasonable to repeat this code when the managed protocols
are stored in an array; the code gets much less nice when managed
protocols are stored in a hashtable.  Let's write a small utility
function to handle those details for us.  Then when we change the
underlying storage, we only need to update this function, rather than a
bunch of callsites.

ProtocolUtils.h is included by all the generated IPDL headers, so
LoneManagedOrNull should be available everywhere the above pattern would
be encountered.
2015-10-07 20:15:56 -04:00
Randell Jesup
9e6153e930 Bug 950660: Part 2 - Change TCPSocket interface to TCPSocketChild and unbitrot r=jdm 2015-09-20 23:05:20 -04:00
"Chih-Kai (Patrick) Wang"
508064c4cb Bug 950660: Part 1: Support bind in TCPSocket from content process r=jdm 2015-01-05 15:49:24 +08:00
Josh Matthews
5b3e6bbec9 Bug 885982 - Part 4: Remove all traces of JS implementation. r=asuth 2015-09-20 05:57:15 -04:00
Josh Matthews
7f686e4e71 Bug 885982 - Part 3: Add e10s support to TCPSocket and TCPServerSocket. r=asuth,mayhemer,bz 2015-03-25 10:36:56 -04:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dragana Damjanovic
f5e3e71a6d Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Birunthan Mohanathas
243c5c925a Bug 968520 - Add mozilla::fallible to more FallibleTArray::InsertElementsAt calls. r=froydnj 2015-06-09 17:27:35 -07:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Kan-Ru Chen (陳侃如)
4d157a60e2 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 16:47:32 -05:00
Ryan VanderMeulen
f90c1c2e5f Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046. 2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
4b95fd5436 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
Phil Ringnalda
33bfbd930b Back out 3 changesets (bug 885982, bug 1118063) for b2g mochitest-6 bustage
CLOSED TREE

Backed out changeset 865e7bc208df (bug 885982)
Backed out changeset 9ede577f5ada (bug 885982)
Backed out changeset 6ccc86f7429e (bug 1118063)
2015-01-17 13:26:10 -08:00
Josh Matthews
19284bba72 Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Ethan Tseng
d1aca48208 Bug 1115502 - Expose inBrowser information to TCPSocket. r=honzab 2014-12-29 16:12:17 +08:00
Steve Fink
430de8c7d1 Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Valentin Gosu
03c666486f Bug 786419 - Part 8 - Several improvements to per-app-offline behaviour r=jduell
Make GetAppId() pure-virtual and add implementation for TCPSocketParent, UDPSocketParent, and one for Necko parent that returns UNKNOWN_APP_ID
Change nsIOService to use IsNeckoChild instead of XRE_ method.
Include nsThreadUtils.h (for nsRunnable and dispatchToMainThread) and NeckoCommon for IsNeckoChild.
Make HttpChannelParent set LOAD_ONLY_FROM_CACHE, LOAD_FROM_CACHE and LOAD_NO_NETWORK_IO when offline.
2014-08-22 20:15:00 +03:00
Valentin Gosu
4b12c79f4a Bug 786419 - Part 3 - Have the JS TCP sockets check if the app is offline r=jduell 2014-08-23 02:15:36 +03:00
Josh Matthews
57e090f026 Bug 1070990 - Trace the IPC TCP socket's reflector. r=mccr8 2014-09-23 15:19:19 -04:00
Birunthan Mohanathas
0d1053492d Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00