Commit Graph
197 Commits
Author SHA1 Message Date
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
Andrew McCreight 70516457d3 Bug 1222562, part 1 - Fix use of addPermission in test_tcpsocket_enabled_with_perm.html and test_xhr_parameters.html. r=mrbkap 2015-11-10 13:10:22 -08:00
Jan de Mooij 238ad4a568 Bug 1187233 part 2 - Fix test_networkstats_service_proxy.js to not rely on the old behavior. r=jwalden 2015-10-21 15:52:20 +02:00
Wes Kocher 7e887f4ffd Merge m-c to inbound, a=merge 2015-10-14 15:00:43 -07:00
Tim Huang e4d5178f2f Bug 1204846 - Modify the NetworkStatsDB to allow getSamples returns expired data at first sample and modify the test case. r=ethan 2015-10-13 18:56:00 +02:00
Andrew Sutherland d008d59df8 Bug 1210330 - TCPSocket data event should be an ArrayBuffer in non-e10s case too. r=jdm
The conversion to WebIDL introduced a minor regression where the "data" event
carried a Uint8Array payload instead of an ArrayBuffer. This patch corrects
the type and introduces a fix.
2015-10-14 14:05:36 -04:00
Phil Ringnalda a9bdd16abc Back out changeset 81b6dbef4fb1 (bug 1210330) for Android and b2g mochitest-chrome failures in test_tcpsocket_jsm.html
CLOSED TREE
2015-10-13 19:40:20 -07:00
Andrew Sutherland e99ace8fdd Bug 1210330 - TCPSocket data event should be an ArrayBuffer in non-e10s case too. r=jdm
The conversion to WebIDL introduced a minor regression where the "data" event
carried a Uint8Array payload instead of an ArrayBuffer.  This patch corrects
the type and introduces a fix.
2015-10-13 20:48:49 -04:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Josh Matthews db6cd267eb Bug 1207090 - Expose TCPSocket to chrome contexts. r=bz 2015-09-22 08:45:00 -04:00
Nigel Babu 250574e5a6 Backed out changeset 37c89ad82a13 (bug 1207090) for hazards bustage ON A CLOSED TREE 2015-09-29 11:42:44 +05:30
Josh Matthews 23b56d7c4c Bug 1207090 - Expose TCPSocket to chrome contexts. r=bz 2015-09-22 08:45:00 -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
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
Josh Matthews b9a5e2ec77 Bug 885982 - Part 2: Convert TCPServerSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:36:24 -04:00
Josh Matthews 47c8fdf040 Bug 885982 - Part 1: Convert TCPSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:35:59 -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
Josh Matthews 38468b6ee0 Bug 994337 - Force sending strings over TCPSocket when strings are required. r=asuth 2015-06-02 22:02:27 -04:00
Albert Crespell f319a2d208 Bug 958689 - Fix intermittent errors in networkstats tests. r=ettseng 2015-05-16 09:47:54 +02:00
Albert Crespell 0ce7295882 Bug 849642 - Intermittent test_networkstats_enabled_perm.html. r=ettseng 2015-05-15 20:05:02 +02:00
Shih-Chiang Chien de132e755d Bug 1080130 - Force GC to close all used socket immediately. r=jmaher 2015-04-02 14:57:29 +08:00
Shih-Chiang Chien 187ce537e1 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 54652598c3 Bug 1080130 - unreferenced socket might be closed before opened. r=khuey. 2015-03-19 18:21:32 +08:00
Shih-Chiang Chien 58f2cd1b90 Bug 1061174 - Part 2 - Remove flaky timeout in test_udpsocket.html. r=khuey 2015-03-13 16:46:37 +08:00
Anish fa269e6f15 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 d406cdf168 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish 0de2fa06b1 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 f28b0a38dc Bug 1070944 - Part 4: Update and add test cases. r=albert 2015-02-09 10:30:57 +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
Josh Matthews b5c13fe2e4 Bug 1118063 - Convert TCPServerSocket to WebIDL. r=baku,smaug,mayhemer,asuth 2015-01-17 11:57:41 -05:00
Ehsan Akhgari 3cd35353b1 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 afaee0860b Bug 1061174- Disable test_udpsocket.html on B2G debug for frequent failures. 2014-11-11 15:41:16 -05:00
Ryan VanderMeulen d38d408dec 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 c4c2f5a39b Bug 1083107 - Intermittent too much recursion error in NetworkStats API. r=vchang 2014-11-03 17:13:51 +01: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
Chris Manchester 417bb77650 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Andrew Halberstadt 11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shih-Chiang Chien 8e9e07cf24 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 4cbf37fb13 Bug 1044737 - 3/3: fix NetworkStatsService::networkStatsAvailable and test cases. r=vchang 2014-08-01 15:08:42 +08:00
Ms2ger 43a1b4a8b6 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 772b55edff Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
John Shih 0d420078db Bug 1000040 - Part 3: Test cases. r=vchang, f=vyang 2014-06-12 16:07:23 +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 90c4f4aa96 Bug 1023341 - Fix test_networkstats_alarm.html. r=gene 2014-06-26 16:51:45 +08:00
Ed Morley d77e508c0c Bug 1023341 - Disable test_networkstats_alarms.html on B2G for too many intermittent test failures 2014-06-19 09:50:50 +01:00
Gene Lian dd82d2dfdd 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 f5b61441cc Bug 953208 - Disable test_tcpserversocket.js on OSX for frequent failures. 2014-06-07 01:06:24 -04:00