Commit Graph
194 Commits
Author SHA1 Message Date
Kershaw Chang 24ededda3e Bug 1343743 - Part4: Pass a labeled main thread event target in nsIUDPSocketChild::bind, r=jdm
Add an event target parameter in nsIUDPSocketChild::bind, so we can use this labeled event target to dispatch runnables in UDPSocketChild.
2017-06-12 00:24:00 +02:00
Mike Hommey 3b0f91bc23 Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps 2017-04-18 17:46:39 +09:00
Mike Hommey d51030340d Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).
2017-04-18 16:56:09 +09:00
Ehsan Akhgari dd159d47f6 Bug 1318883 - Remove the NetworkStats API and related code; r=baku,mcmanus 2016-11-21 13:33:18 -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
Carsten "Tomcat" Book 84568d0bc2 Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari 2d792bd2ad 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-15 18:31:46 -05:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Thomas Zimmermann 7b20346763 Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj
MozReview-Commit-ID: 4RBeHDyhQgr
2016-07-20 17:29:36 +02:00
Nils Ohlmeier [:drno] 2ff2af97bb Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
MozReview-Commit-ID: ETkx1Z56bI8
2016-04-08 16:51:21 -07:00
Boris Zbarsky 310752581d Bug 1255269. Get rid of nsITCPSocketCallback.fireDataEvent. r=jdm 2016-03-10 18:07:28 -05:00
Nils Ohlmeier [:drno] 4a021f44cb Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
MozReview-Commit-ID: A3yCZZ3Pwcu
2016-03-01 21:46:50 -08:00
J. Ryan Stinnett 43eb79b373 Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
Liang-Heng Chen 0e54f33adb Bug 1000040 - Part 2: Implement EthernetManager; r=vicamo 2016-02-19 16:06:29 +08:00
John Shih f7bd28fe76 Bug 993311 - Convert Network Stats API to WebIDL. r=bzbarsky. 2014-04-08 14:42:12 +08:00
Randell Jesup 171d423941 Bug 1194259: Make ICE IP restriction to default routes work in E10S r=jesup,mcmanus,drno 2016-01-22 02:47:01 -05:00
Tim Huang c6ecd7be04 Bug 1209654 - Modify the type of the threshold of addAlarm() and getAllAlarms() to long long from long, and add test cases. r=ettseng, r=bz 2015-11-12 19:01:00 +01:00
Randell Jesup b162dd5948 Bug 950660: Part 3 - make TCPSocket/TCPSocketChild interface an IDL interface r=jdm 2015-09-20 23:05:20 -04:00
Josh Matthews 5b3e6bbec9 Bug 885982 - Part 4: Remove all traces of JS implementation. r=asuth 2015-09-20 05:57:15 -04:00
Jessica Jong 0151ad0fd8 Bug 1167132 - Part 14: [NetworkManager] Move network information into a separate interface (NetStats). r=ethan 2015-07-29 02:15:00 -04:00
Randell Jesup 7abb630b22 Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent 2015-05-29 10:14:14 -04:00
Dragana Damjanovic 800c13ed99 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-04-08 15:35:00 -04:00
Ryan VanderMeulen 57644fabd7 Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
CLOSED TREE
2015-03-09 16:35:06 -04:00
Dragana Damjanovic 59d2752c41 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-03-06 06:38:00 -05:00
Ethan Tseng a84f1903a5 Bug 1070944 - Part 2: Implementation of saving statistics. r=albert 2015-01-27 17:15:44 +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 6e478be2a1 Bug 885982 - Add missing IDL on a CLOSED TREE. 2015-01-17 12:17:26 -05:00
Josh Matthews 19284bba72 Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Josh Matthews b5c13fe2e4 Bug 1118063 - Convert TCPServerSocket to WebIDL. r=baku,smaug,mayhemer,asuth 2015-01-17 11:57:41 -05:00
Ethan Tseng d1aca48208 Bug 1115502 - Expose inBrowser information to TCPSocket. r=honzab 2014-12-29 16:12:17 +08:00
Ryan VanderMeulen f0f490902e Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me 2015-01-12 10:44:18 -05:00
Andrew Sutherland 8a50230af4 Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm
Most of the TCPSocket and TCPServerSocket coverage was implemented exclusively
in Chrome-privileged xpcshell tests.  This failed to provide coverage for the
key use case of content-privileged code using TCPSocket.

This cleans up the test implementation and migrates them to mochitests.
Coverage is improved as evidenced by two tested TCPServerSocket issues that were
addressed in this patch:
- ArrayBuffers weren't being created in the content page's context, so
  exceptions would be thrown when accessed.
- 'drain' notifications were not being hooked up.

The following fix that lacks coverage that notices the fix was implemented:
- TCPServerSocket now properly propagates the appId for network usage tracking.
2014-10-29 22:03:54 -04:00
Wes Kocher e53d9bfb10 Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00
Shih-Chiang Chien f47aeb674b Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Wes Kocher 8cd9744984 Backed out 4 changesets (bug 745283) for conflicting with the backout of bug 786419 a=backout
Backed out changeset a1af198d91bd (bug 745283)
Backed out changeset 9fc6f4275bbb (bug 745283)
Backed out changeset 37c10c9f2a4d (bug 745283)
Backed out changeset bc0ab47e8ac7 (bug 745283)
2014-08-26 16:33:42 -07:00
Shih-Chiang Chien 9ef5ec2645 Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Vicamo Yang 1c18bd6fb7 Backed out changeset 78ba6f47a5a7 (bug 1000040) for causing bug 1035172 2014-07-10 13:28:51 +08:00
John Shih 33661ccb6d Bug 1000040 - Part 2: Implement EthernetManager.js. r=vchange,vyang 2014-05-29 16:35:06 +08:00
Henry Chang 5c78b18ea5 Bug 937528 - Initialize port and host for the tcp server accepted socket. r=jduell 2013-12-19 11:21:12 +08:00
John Shih d384686755 Bug 986837 - Part 4: Port MozNetworkStats to WebIDL. r=bzbarsky 2014-05-05 14:54:23 +08:00
John Shih e87e876f83 Bug 986837 - Part 3: Port MozNetworkStatsAlarm to WebIDL. r=bzbarsky 2014-05-05 15:38:06 +08:00
John Shih 01818f745e Bug 986837 - Part 2: Port MozNetworkStatsInterface to WebIDL. r=bzbarsky 2014-05-05 11:55:01 +08:00
John Shih b0181f2359 Bug 986837 - Part 1: Port MozNetworkStatsData to WebIDL. r=bzbarsky 2014-05-05 16:40:11 +08:00
John Shih 70b3126c2e Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Masatoshi Kimura 8fab1134cd Bug 978611 - Part 2: Move lagacy dictionaries to WebIDL dictionaries for B2G. r=vicamo 2014-03-07 20:51:49 +09:00
Edgar Chen c8e09c5727 Bug 956655 - Part 1: Move MobileConnection related files to dom/mobileconnection. r=smaug,khuey 2013-12-24 15:55:52 +08:00
Edgar Chen e3022b0b10 Backed out changeset 10348da2438a (Bug 956655) 2014-01-17 13:08:59 +08:00
Edgar Chen 5a638381a2 Bug 956655 - Part 1: Move MobileConnection related files to dom/mobileconnection. r=smaug,khuey 2013-12-24 15:55:52 +08:00
Andrea Marchesini cb97f6b653 Bug 952084 - Porting nsIDOMMozConnection to WebIDL, r=ehsan, r=bz 2014-01-16 11:53:48 +01:00
Edgar Chen c4d89c658f Bug 952043 - Part 1: IDL changes for providing the network types supported by platform. r=smaug,hsinyi 2014-01-02 15:52:35 +08:00