Commit Graph

178 Commits

Author SHA1 Message Date
Josh Matthews
fe1a8e8cb6 Bug 994337 - Force sending strings over TCPSocket when strings are required. r=asuth 2015-06-02 22:02:27 -04:00
Albert Crespell
d21fffb04f Bug 958689 - Fix intermittent errors in networkstats tests. r=ettseng 2015-05-16 09:47:54 +02:00
Albert Crespell
3fb2073641 Bug 849642 - Intermittent test_networkstats_enabled_perm.html. r=ettseng 2015-05-15 20:05:02 +02:00
Shih-Chiang Chien
b9b1f36229 Bug 1080130 - Force GC to close all used socket immediately. r=jmaher 2015-04-02 14:57:29 +08:00
Shih-Chiang Chien
385540f7a8 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
85f7da4736 Bug 1080130 - unreferenced socket might be closed before opened. r=khuey. 2015-03-19 18:21:32 +08:00
Shih-Chiang Chien
13aaf26f20 Bug 1061174 - Part 2 - Remove flaky timeout in test_udpsocket.html. r=khuey 2015-03-13 16:46:37 +08:00
Anish
d6962a9b5b 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
24df8222d0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e982da177f 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
4a341c2065 Bug 1070944 - Part 4: Update and add test cases. r=albert 2015-02-09 10:30:57 +08:00
Phil Ringnalda
1edb54c322 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
0232eb906b Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Josh Matthews
2530099254 Bug 1118063 - Convert TCPServerSocket to WebIDL. r=baku,smaug,mayhemer,asuth 2015-01-17 11:57:41 -05:00
Ehsan Akhgari
20474e5ba7 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
4cf26e0999 Bug 1061174- Disable test_udpsocket.html on B2G debug for frequent failures. 2014-11-11 15:41:16 -05:00
Ryan VanderMeulen
8087f7b4d2 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
c23493e24b Bug 1083107 - Intermittent too much recursion error in NetworkStats API. r=vchang 2014-11-03 17:13:51 +01:00
Andrew Sutherland
3d19057ccd 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
fa3071b32b Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shih-Chiang Chien
7a957ee1c9 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
8e487f198b Bug 1044737 - 3/3: fix NetworkStatsService::networkStatsAvailable and test cases. r=vchang 2014-08-01 15:08:42 +08:00
Ms2ger
d9e695483d 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
607ae23154 Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
John Shih
d47b4b3df0 Bug 1000040 - Part 3: Test cases. r=vchang, f=vyang 2014-06-12 16:07:23 +08:00
Henry Chang
c536ce434d Bug 937528 - Initialize port and host for the tcp server accepted socket. r=jduell 2013-12-19 11:21:12 +08:00
John Shih
73a60e46e3 Bug 1023341 - Fix test_networkstats_alarm.html. r=gene 2014-06-26 16:51:45 +08:00
Ed Morley
8d59b9aa4e 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
76d27c4d35 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
1d07dd66d4 Bug 953208 - Disable test_tcpserversocket.js on OSX for frequent failures. 2014-06-07 01:06:24 -04:00
John Shih
0b643ca7dd Bug 986837 - Part 5: Expose MozNetworkInterface for testing. r=bzbarsky
DONTBUILD
2014-04-07 18:22:21 +08:00
Ryan VanderMeulen
c382cad4d3 Backed out changeset 6701ef0c75b4 for landing with the wrong bug number. r=bzbarsky 2014-05-05 10:29:29 -04:00
John Shih
240f374d41 Bug 986836 - Part 5: Expose MozNetworkInterface for testing. r=bzbarsky 2014-04-07 18:22:21 +08:00
John Shih
656d2427da Bug 986837 - Part 2: Port MozNetworkStatsInterface to WebIDL. r=bzbarsky 2014-05-05 11:55:01 +08:00
John Shih
2f0fcd3401 Bug 993834 - Fix error in NetworkStatsDB & Test cases. r=gene 2014-04-09 18:03:02 +08:00
John Shih
e48d8ac267 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
John Shih
545bc6abce Bug 964228 - Part 2: Tests update. r=albert 2014-03-06 10:03:35 +08:00
Bill McCloskey
d960718b48 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
62d61f05a8 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
cff466f79f 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
624ffda758 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633 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
b192b2603d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Vaibhav Agarwal
81f1ea0a18 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
16ff07b731 Bug 966244 - Part 2: Update tests. r=gene 2014-02-11 22:05:06 +01:00
Albert Crespell
a381dc4a68 Bug 965319 - Part 2: Update tests. r=gene 2014-02-09 12:43:49 +01:00
Albert Crespell
305f6585e9 Bug 964270 - Part 2: Update tests. r=gene 2014-01-30 21:24:40 +01:00
Andrea Marchesini
6f9fcfbc3d Bug 960945 - MozConnection should be NoInterfaceObject, r=bz 2014-02-03 16:16:27 +00:00
Albert Crespell
d78222adc3 Bug 961162 - Fix intermittent failures in test_networkstats_service_proxy.js. r=gene 2014-01-27 13:16:01 +01:00