Ehsan Akhgari
abb608a46d
Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku
2015-01-08 08:49:54 -05:00
Vincent Chang
d27c60d4f3
Bug 1113535 - (gonk-L-Wifi) Support dhcp client function in Android L. r=hchang
2014-12-19 17:27:21 +08: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
Henry Chang
7f8189c9d4
Bug 1098192 - Remove unused mutex for ifc_* function calls. r=vchang
2014-11-21 15:46:04 +08: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 McCreight
3d28d17114
Bug 1080096 - Clear UDPSocketChildBase::mSocket in ReleaseIPDLReference(). r=schien
...
This breaks a possible cycle between UDPSocketChild and UDPSocket.
The nulling out must be done before the Release, because the Release may destroy |this|.
2014-10-30 14:12:09 -07: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
Ryan VanderMeulen
bcc3ab5ec1
Merge m-c to inbound. a=merge
2014-10-29 16:51:39 -04:00
Henry Chang
b6d4eca8da
Bug 1083449 - Use a shared mutex instead of a per-instance mutex to protect ifc commands. r=vchang, r=chucklee
2014-10-29 16:23:52 +08:00
Ehsan Akhgari
8b35c7fcdb
Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Henry Chang
4b4ed39372
Bug 1083449 - ifc_enable / ifc_disable needs to be protected as well. r=vchang
2014-10-17 14:13:14 +08: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
Bobby Holley
ca690bc061
Bug 1084245 - Introduce a hacky opt-out of the new security checks for MozTCPSocket. r=bz
2014-10-17 18:02:19 +02:00
Steve Fink
b41205df20
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
Andrea Marchesini
2f672ff2db
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
2ca496756f
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Andrew Halberstadt
2da4ee197d
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Ryan VanderMeulen
671d1a817e
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
e4f682ba94
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
0e29ce2ea6
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Valentin Gosu
0b5365fffa
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
cc2ebf0f3a
Bug 786419 - Part 4 - Have UDP sockets check if the app is offline r=mcmanus
2014-08-23 02:16:31 +03:00
Valentin Gosu
9bfdb36a43
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
Peter Van der Beken
170a6e0a63
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 6ca1903658d3d6fe2634409cd39fa68c6b1219bd
2014-10-07 11:44:48 +02:00
Josh Matthews
54c5c0f3e0
Bug 1070990 - Trace the IPC TCP socket's reflector. r=mccr8
2014-09-23 15:19:19 -04:00
hchang
82c83df449
Bug 1061993 - Add lock to ifc_* functions. r=chucklee
2014-09-16 11:18:31 +02:00
Albert Crespell
13807bdfe6
Bug 1058550 - Data use alert isn't showed when limit is passed. r=vchang
2014-09-02 15:22:25 +02:00
Ehsan Akhgari
bc7cc3893c
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Birunthan Mohanathas
882fe73908
Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8
...
--HG--
rename : dom/network/src/Connection.cpp => dom/network/Connection.cpp
rename : dom/network/src/Connection.h => dom/network/Connection.h
rename : dom/network/src/Constants.h => dom/network/Constants.h
rename : dom/network/src/NetUtils.cpp => dom/network/NetUtils.cpp
rename : dom/network/src/NetUtils.h => dom/network/NetUtils.h
rename : dom/network/src/NetworkStatsDB.jsm => dom/network/NetworkStatsDB.jsm
rename : dom/network/src/NetworkStatsManager.js => dom/network/NetworkStatsManager.js
rename : dom/network/src/NetworkStatsManager.manifest => dom/network/NetworkStatsManager.manifest
rename : dom/network/src/NetworkStatsService.jsm => dom/network/NetworkStatsService.jsm
rename : dom/network/src/NetworkStatsServiceProxy.js => dom/network/NetworkStatsServiceProxy.js
rename : dom/network/src/NetworkStatsServiceProxy.manifest => dom/network/NetworkStatsServiceProxy.manifest
rename : dom/network/src/PTCPServerSocket.ipdl => dom/network/PTCPServerSocket.ipdl
rename : dom/network/src/PTCPSocket.ipdl => dom/network/PTCPSocket.ipdl
rename : dom/network/src/PUDPSocket.ipdl => dom/network/PUDPSocket.ipdl
rename : dom/network/src/TCPServerSocket.js => dom/network/TCPServerSocket.js
rename : dom/network/src/TCPServerSocketChild.cpp => dom/network/TCPServerSocketChild.cpp
rename : dom/network/src/TCPServerSocketChild.h => dom/network/TCPServerSocketChild.h
rename : dom/network/src/TCPServerSocketParent.cpp => dom/network/TCPServerSocketParent.cpp
rename : dom/network/src/TCPServerSocketParent.h => dom/network/TCPServerSocketParent.h
rename : dom/network/src/TCPSocket.js => dom/network/TCPSocket.js
rename : dom/network/src/TCPSocket.manifest => dom/network/TCPSocket.manifest
rename : dom/network/src/TCPSocketChild.cpp => dom/network/TCPSocketChild.cpp
rename : dom/network/src/TCPSocketChild.h => dom/network/TCPSocketChild.h
rename : dom/network/src/TCPSocketParent.cpp => dom/network/TCPSocketParent.cpp
rename : dom/network/src/TCPSocketParent.h => dom/network/TCPSocketParent.h
rename : dom/network/src/TCPSocketParentIntermediary.js => dom/network/TCPSocketParentIntermediary.js
rename : dom/network/src/Types.h => dom/network/Types.h
rename : dom/network/src/UDPSocket.cpp => dom/network/UDPSocket.cpp
rename : dom/network/src/UDPSocket.h => dom/network/UDPSocket.h
rename : dom/network/src/UDPSocketChild.cpp => dom/network/UDPSocketChild.cpp
rename : dom/network/src/UDPSocketChild.h => dom/network/UDPSocketChild.h
rename : dom/network/src/UDPSocketParent.cpp => dom/network/UDPSocketParent.cpp
rename : dom/network/src/UDPSocketParent.h => dom/network/UDPSocketParent.h
2014-08-27 10:13:39 -07:00
Wes Kocher
cb8766e5a7
Bug 745283 - rev UUID again r=me a=kwierso
2014-08-26 18:05:26 -07:00
Shih-Chiang Chien
a49f755c54
Bug 745283 - Part 4: WebIDL binding for UDPSocket API. r+sr=smaug, r=khuey, r=baku a=reland
2014-04-14 09:21:26 +08:00
Shih-Chiang Chien
33f79972b1
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
c7dd458b8c
Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout
2014-08-26 16:34:46 -07:00
Wes Kocher
98851f79ce
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)
--HG--
rename : netwerk/test/unit/test_udpsocket.js => netwerk/test/unit/test_bug952927.js
2014-08-26 16:33:42 -07: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
Shih-Chiang Chien
d731e8e068
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
Valentin Gosu
90677f4d7d
Bug 786419 - Provide way to "set network offline" per app r=jduell
2014-08-23 06:05:56 +03:00
Bobby Holley
7c7704aa07
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
7c3098f03b
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
e5da39b71b
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Ehsan Akhgari
3925065702
Bug 1050611 - Fix more bad implicit constructors in dom and docshell; r=smaug
2014-08-08 09:49:39 -04:00
Vicamo Yang
b345f02fda
Bug 1044737 - 3/3: fix NetworkStatsService::networkStatsAvailable and test cases. r=vchang
2014-08-01 15:08:42 +08:00
Nathan Froyd
6eea12bf47
Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal
...
Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work. This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
2014-07-25 13:50:55 -04:00
Ms2ger
6b7a5f1c14
Bug 1043963 - Followup: correct condition in dom/network/moz.build.
2014-07-29 12:40:00 +02:00
Mike Hommey
20d181268e
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
2014-07-29 08:57:59 +09: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
Mike Hommey
d10b15b035
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Albert Crespell
0ad7a2e6df
Bug 1034490: Optimize saveStats function of NetworkStatsDB.
2014-07-11 07:02:59 +02:00