Commit Graph

179 Commits

Author SHA1 Message Date
Jessica Jong
bb55d4b4a9 Bug 1167132 - Part 14: [NetworkManager] Move network information into a separate interface (NetStats). r=ethan 2015-07-29 02:15:00 -04:00
Josh Matthews
262e608355 Bug 994337 - Force sending strings over TCPSocket when strings are required. r=asuth 2015-06-02 22:02:27 -04:00
Albert Crespell
713eeaca7a Bug 958689 - Fix intermittent errors in networkstats tests. r=ettseng 2015-05-16 09:47:54 +02:00
Albert Crespell
d586f519f3 Bug 849642 - Intermittent test_networkstats_enabled_perm.html. r=ettseng 2015-05-15 20:05:02 +02:00
Shih-Chiang Chien
2d3902f243 Bug 1080130 - Force GC to close all used socket immediately. r=jmaher 2015-04-02 14:57:29 +08:00
Shih-Chiang Chien
189050f283 Bug 1144715 - Socket might be closed by GC before lower layer failure. r=khuey
CLOSED TREE
2015-03-23 20:06:00 -04:00
Shih-Chiang Chien
f183824f21 Bug 1080130 - unreferenced socket might be closed before opened. r=khuey. 2015-03-19 18:21:32 +08:00
Shih-Chiang Chien
0d7f8ea217 Bug 1061174 - Part 2 - Remove flaky timeout in test_udpsocket.html. r=khuey 2015-03-13 16:46:37 +08:00
Anish
48094b2951 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
bbc6a8a249 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Ethan Tseng
2cd44bf9d7 Bug 1070944 - Part 4: Update and add test cases. r=albert 2015-02-09 10:30:57 +08:00
Phil Ringnalda
823e1db1a5 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)

--HG--
rename : dom/network/interfaces/nsITCPServerSocketInternal.idl => dom/network/interfaces/nsIDOMTCPServerSocket.idl
2015-01-17 13:26:10 -08:00
Josh Matthews
994d86067c Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Josh Matthews
918cdf2fc9 Bug 1118063 - Convert TCPServerSocket to WebIDL. r=baku,smaug,mayhemer,asuth
--HG--
rename : dom/network/interfaces/nsIDOMTCPServerSocket.idl => dom/network/interfaces/nsITCPServerSocketInternal.idl
2015-01-17 11:57:41 -05:00
Ehsan Akhgari
309b4049b4 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Ryan VanderMeulen
566af947ef Bug 1061174- Disable test_udpsocket.html on B2G debug for frequent failures. 2014-11-11 15:41:16 -05:00
Ryan VanderMeulen
8d2b1f6877 Bug 958689 - Disable test_networkstats_alarms.html, test_networkstats_basics.html, and test_networkstats_enabled_no_perm.html on B2G for ongoing intermittent failures. 2014-11-11 15:41:16 -05:00
Albert Crespell
561edafa9b Bug 1083107 - Intermittent too much recursion error in NetworkStats API. r=vchang 2014-11-03 17:13:51 +01:00
Andrew Sutherland
546c79ec45 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
Chris Manchester
955d7f2456 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shih-Chiang Chien
62c57a8d94 Bug 745283 - Part 4: WebIDL binding for UDPSocket API. r+sr=smaug, r=khuey, r=baku 2014-04-14 09:21:26 +08:00
Vicamo Yang
b345f02fda Bug 1044737 - 3/3: fix NetworkStatsService::networkStatsAvailable and test cases. r=vchang 2014-08-01 15:08:42 +08:00
Ms2ger
e99bd12a4b Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Vicamo Yang
2bf74b839c Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
John Shih
e86c00dca8 Bug 1000040 - Part 3: Test cases. r=vchang, f=vyang 2014-06-12 16:07:23 +08:00
Henry Chang
73aad21522 Bug 937528 - Initialize port and host for the tcp server accepted socket. r=jduell 2013-12-19 11:21:12 +08:00
John Shih
2fb183db40 Bug 1023341 - Fix test_networkstats_alarm.html. r=gene 2014-06-26 16:51:45 +08:00
Ed Morley
c6585f3090 Bug 1023341 - Disable test_networkstats_alarms.html on B2G for too many intermittent test failures
--HG--
extra : rebase_source : 11cc5584e6bb765587ca988531c8f131055c08d5
2014-06-19 09:50:50 +01:00
Gene Lian
6eab22341b Bug 958689 - Dump some logs for finding out the root cause of the intermittent error. r=albert 2014-06-10 11:44:36 +08:00
Ryan VanderMeulen
c11b00c1fb Bug 953208 - Disable test_tcpserversocket.js on OSX for frequent failures. 2014-06-07 01:06:24 -04:00
John Shih
eea5e5f2e8 Bug 986837 - Part 5: Expose MozNetworkInterface for testing. r=bzbarsky
DONTBUILD
2014-04-07 18:22:21 +08:00
Ryan VanderMeulen
1560a48c7d Backed out changeset 6701ef0c75b4 for landing with the wrong bug number. r=bzbarsky 2014-05-05 10:29:29 -04:00
John Shih
62bcfd6fe3 Bug 986836 - Part 5: Expose MozNetworkInterface for testing. r=bzbarsky 2014-04-07 18:22:21 +08:00
John Shih
be30dbebed Bug 986837 - Part 2: Port MozNetworkStatsInterface to WebIDL. r=bzbarsky 2014-05-05 11:55:01 +08:00
John Shih
644c9b6922 Bug 993834 - Fix error in NetworkStatsDB & Test cases. r=gene 2014-04-09 18:03:02 +08:00
John Shih
6aa0595d71 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
John Shih
f600a7bd0b Bug 964228 - Part 2: Tests update. r=albert 2014-03-06 10:03:35 +08:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
9a59a5c96d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Vaibhav Agarwal
d109cb3fc7 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Albert Crespell
b6e0e3806a Bug 966244 - Part 2: Update tests. r=gene 2014-02-11 22:05:06 +01:00
Albert Crespell
0f3a536af8 Bug 965319 - Part 2: Update tests. r=gene 2014-02-09 12:43:49 +01:00
Albert Crespell
8e7a6f5cf9 Bug 964270 - Part 2: Update tests. r=gene 2014-01-30 21:24:40 +01:00
Andrea Marchesini
576438474b Bug 960945 - MozConnection should be NoInterfaceObject, r=bz 2014-02-03 16:16:27 +00:00