Florian Quèze
2924991bf6
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Florian Quèze
5b8f8b884c
Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Florian Quèze
66f6d259bc
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Bill McCloskey
aefa2aa5da
Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
...
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.
MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Kershaw Chang
d17d3c6887
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
Kershaw Chang
56e1084587
Bug 1343743 - Part3: Set event target for TCPSocketChild and TCPServerSocketChild, r=jdm
...
Add an event target parameter in constructor, so we can call gNeckoChild->SetEventTargetForActor before sending constructor message to parent.
2017-06-12 00:22:00 +02:00
Andrew Sutherland
394672c494
Bug 1329245 - Part 3: Don't attempt to connect to closed port on OS X, it's flakey. r=bkelly
...
--HG--
extra : rebase_source : e7c27185c671f8d2eae81ddfc66318c7fe1a1a31
2017-06-04 23:18:16 -04:00
Andrew Sutherland
7cbbdb024c
Bug 1329245 - Part 2: finish removal of pref/permission pieces begun in bug 1286530. r=bkelly
...
Bug 1286530 made TCPSocket ChromeOnly, eliminating both the
dom.mozTCPSocket.enabled preference check as well as the "tcp-socket"
permission check. The API is now always exposed in chrome contexts.
This patch removes the leftover (and confusing) dead code.
Renamed and why:
- test_tcpsocket_enabled_no_perm.html renamed to
test_tcpsocket_not_exposed_to_content.html because it's now just a
question of content never seeing the API.
Removed tests and why:
- test_tcpsocket_enabled_with_perm.html used to be a standalone
verification of our permission check. We have no permission check
now and both test_tcpsocket_jsm.html and
test_tcpsocket_client_and_server_basics.html serve as tests that we
affirmatively expose the API and there are no "late" failure (such
as a secondary check in the parent).
- test_tcpsocket_default_permissions.html duplicated what (now)
test_tcpsocket_not_exposed_to_content.html accomplishes. It tried to
use the API and expect an exception. This is just superstition in a
WebIDL. (TCPSocket was not originally WebIDL-y.)
--HG--
rename : dom/network/tests/test_tcpsocket_enabled_no_perm.html => dom/network/tests/test_tcpsocket_not_exposed_to_content.html
extra : rebase_source : d2231ed3b0fb00541cc266569c2a7908a4074f9c
2017-06-04 22:41:25 -04:00
Andrew Sutherland
8923d906ec
Bug 1329245 - Part 1: remove moot add_task.js since bug 1078657 gave us SpawnTask.js. r=bkelly
...
The use of add_task.js was ever only intended to be temporary until
bug 1078657 landed.
--HG--
extra : rebase_source : d9570859b35691002cf7f4642603f6730ddab7ad
2017-06-04 19:52:29 -04:00
Andrea Marchesini
b69ca32006
Bug 1359005 - Cleanup the use of PBlob in StructuredCloneHolder - part 1 - protocols, r=smaug
2017-05-23 07:49:40 +02:00
Nathan Froyd
c1d1748428
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Kershaw Chang
75554c8b33
Bug 1352176 - Part4: Pass a null event target in nsInputStreamPump::Init, r=jdm
2017-05-09 20:06:00 +02:00
Mike Hommey
33a7e408ce
Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps
...
--HG--
extra : rebase_source : 1d30ebcbdbcf596c944e1eec981f85db341485e5
2017-04-18 17:46:39 +09:00
Mike Hommey
34e619d1c1
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).
--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Ben Kelly
4ffa062ade
Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz
2017-03-24 15:27:11 -04:00
Andrea Marchesini
f9cbf66dfd
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
...
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini
6ced9f8a25
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
...
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Andrea Marchesini
a9e3c3fa64
Bug 1339713 - Use IPCStream everywhere - part 3 - PUDPSocket, r=smaug
2017-03-09 14:09:54 +01:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Nils Ohlmeier [:drno]
5600346fac
Bug 1315248 - Hold on to references for WrapRunnable in UDPSocketParent. r=jesup
...
MozReview-Commit-ID: CA14BbXYtcj
--HG--
extra : amend_source : aedd161e24a6a3d741651d8e96a1c842a66f5ca3
2017-02-23 08:55:35 -05:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Nils Ohlmeier [:drno]
1ce4f44377
Bug 1315248: ensure socket is available for connect and send. r=schien
...
MozReview-Commit-ID: 5ScyhIehwog
--HG--
extra : rebase_source : 21a4d7cc929be74c8a43b7568341bd80fc3a83dd
2017-02-10 16:39:51 -08:00
Joel Maher
d85b37d5f5
Bug 1335181 - add BUG_COMPONENT to netwerk/* and dom/network/* files. r=mcmanus
...
MozReview-Commit-ID: AeIuBnLx6IF
2017-02-02 06:33:47 -05:00
Liang-Heng Chen
413f0cb0b4
Bug 1328106 - check IPC state before sending event; r=jdm
...
MozReview-Commit-ID: CeWCIG0dyKS
--HG--
extra : rebase_source : c980a395bc61c1d21226c52568d62c69e1848175
2017-01-23 16:23:34 +08:00
Nils Ohlmeier [:drno]
ede12d1bfb
Bug 1333185: memset PRNetAddr for UDPSocket::connect(). r=schien
...
MozReview-Commit-ID: JJb18xXNy1c
--HG--
extra : rebase_source : a13f661eeb9ba4bc0b6c38f522b3c89c62ef9cc4
2017-01-23 13:40:29 -08:00
Florian Quèze
0e0865f4fc
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Byron Campen [:bwc]
f1db6a1c0d
Bug 1056934 - Part 6: Fix bug where TCPSocketParent would not use TLS when requested. r=mcmanus
...
MozReview-Commit-ID: EQHzJWyzAN9
--HG--
extra : rebase_source : 5fbe00fd2a4993c23ef11041b70d0a4e8975c1dc
2017-01-03 12:34:19 -06:00
Andrea Marchesini
75dc1a06d1
Bug 1330255 - Add telemetry to know more about the use of NetworkInformation interface on fennec., r=qdot, data-r=bsmedberg
2017-01-16 18:34:49 +01:00
Nils Ohlmeier [:drno]
54ada30c75
Bug 1266667: socket reuse option for TCPSocket. r=mcmanus
...
MozReview-Commit-ID: CJEK714ruLl
--HG--
extra : rebase_source : a52f8c96c0fed3881f3480a38dc2167f1eb4c451
2016-12-21 23:38:06 -08:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Andrea Marchesini
d1ffedb88f
Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly
2016-12-16 08:50:23 +01:00
Carsten "Tomcat" Book
8d71717fb4
Backed out changeset b7638db235fd (bug 1323172) for test bustage in dom/workers/test/test_navigator.html on a CLOSED TREE
2016-12-15 17:06:22 +01:00
Andrea Marchesini
130d95f581
Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly
2016-12-15 14:36:47 +01:00
Carsten "Tomcat" Book
2bad844136
Backed out changeset 8f305096ee45 (bug 1323172) for crashes in /test_tcpsocket_enabled_no_perm.html
2016-12-15 14:21:09 +01:00
Andrea Marchesini
87a09a3bb4
Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly
2016-12-15 12:46:21 +01:00
Carsten "Tomcat" Book
8b27dda5d1
merge mozilla-inbound to mozilla-central a=merge
2016-11-22 15:53:05 +01:00
Nils Ohlmeier [:drno]
71611e282a
Bug 1318803: provide reason for IPC_FAIL in case of STUN filtering. r=jdm
...
MozReview-Commit-ID: JTClCwfLB0f
--HG--
extra : rebase_source : b5c3e2e812595b7d8887780ae64e72a029b81ec8
2016-11-18 16:25:34 -08:00
Ehsan Akhgari
5db79d7e66
Bug 1318883 - Remove the NetworkStats API and related code; r=baku,mcmanus
2016-11-21 13:33:18 -05:00
Ehsan Akhgari
d07f79a266
Bug 1318210 - Remove nsIAppsService; r=baku
2016-11-17 10:41:36 -05:00
Ehsan Akhgari
dc33b55d94
Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku
2016-11-16 14:51:08 -05:00
Ehsan Akhgari
130dc996d0
Bug 1312101 - Part 1: Remove permission assertions through the message manager; r=baku
...
Since AddProcessChecker is going away, there's no point in these
permission checks any more.
2016-11-16 14:51:04 -05:00
Ehsan Akhgari
eac76d9772
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
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Michelangelo De Simone
100a708778
Bug 1307525 - Remove MOZ_B2G_RIL-protected code. r=jst
...
MozReview-Commit-ID: 6llGI50d37q
--HG--
extra : rebase_source : 07940fb5b6bf8b88748b9098cb14e0d668a8c9ef
2016-11-07 13:16:07 -08:00
Sebastian Hengst
7dfcd7e4c9
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/network. r=RyanVM
...
MozReview-Commit-ID: 9abA3P3P6SL
--HG--
extra : rebase_source : 127b5898518a502f70d8784d2c56c491ac9958cb
2016-11-05 11:29:17 +01:00
Valentin Gosu
02543ae9c1
Bug 1307491 - (Part 3) Remove support for per-app-offline in don/network [nukeb2g] r=baku
...
MozReview-Commit-ID: KCg4R3LD8AE
--HG--
extra : rebase_source : 91060bc89aa8e76e2e06d848a9e7297c171dd85b
2016-10-17 03:58:59 +02:00
Carsten "Tomcat" Book
656d6db419
Merge mozilla-central to mozilla-inbound
2016-09-07 17:21:27 +02:00
Carsten "Tomcat" Book
1c61ba654e
merge mozilla-inbound to mozilla-central a=merge
2016-09-07 17:20:12 +02:00
Michael Layzell
e12728495c
Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
...
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
William Lachance
21a99bf25f
Bug 1295453 - Don't wait for data to be sent when closing socket immediately r=jdm
...
We can't guarantee any data will be written, it should suffice to just
make sure that the socket closes immediately and then verify that
a complete set of data wasn't read.
MozReview-Commit-ID: CHHuJEGRVgX
--HG--
extra : rebase_source : 2269b73a4497011c9604628710055a0fc08e0470
2016-09-06 15:51:51 -04:00
André Bargull
96b7707bfe
Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo
2016-08-11 09:31:22 -07:00
Nicholas Nethercote
34dcc7b852
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Kan-Ru Chen
b4cf4bec61
Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
...
MozReview-Commit-ID: HltgzBnxMsn
2016-08-23 00:40:47 +08:00
Nicholas Nethercote
ca40b738e4
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Jinank Jain
ceda83d5ff
Bug 1104156 - TCPSocket doesn't close output stream until all buffered streams in the multiplex stream are sent. r=jdm, r=bkelly
2016-08-04 14:36:06 -04:00
Wes Kocher
565cdb97f5
Backed out changeset 3fbb8651a171 (bug 1121938) for breaking encrypted-media-syntax.html CLOSED TREE
2016-08-10 13:17:39 -07:00
André Bargull
878648c8cf
Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo, r=froydnj
2016-07-29 09:04:06 -07:00
Kaku Kuo
a6ed727230
Bug 1292091 - Part 2 - replace MaybeResolve(JS::UndefinedHandleValue) with MaybeResolveWithUndefined(); r=bz
...
MozReview-Commit-ID: KNbxVcCVqts
--HG--
extra : transplant_source : %1D%18%E5%C9o%F0%29%E7%E0%93%EEcR%C7B%3BeX%B3%87
2016-08-09 17:15:13 +08:00
Andrea Marchesini
60ab8339e0
Bug 1288736 - Add some missing rv.SuppressException(), r=smaug
2016-07-22 16:50:10 +02:00
Tom Tromey
5538d692d3
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
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Thomas Zimmermann
4bee1b2945
Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj
...
MozReview-Commit-ID: 4RBeHDyhQgr
2016-07-20 17:29:36 +02:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Ralph Giles
d8b5bb25d4
Bug 1275744 - Reference MOZ_LOG in dom comments. r=erahm
...
NSPR_LOG_MODULES is deprecated.
MozReview-Commit-ID: GgJTpEHyZqJ
--HG--
extra : rebase_source : dea80975ee6281aff1476f99f1807f3093af82c9
2016-05-26 11:08:47 -07:00
Amit Chandra
f1be46e2d2
Bug 1229589 - Implements an efficient version of TCPSocket by removing stale input streams. r=jdm
...
--HG--
extra : histedit_source : 769adfaa97fd8bc37608a2187e15abce4d2e7aeb
2016-05-25 12:18:58 -07:00
Gijs Kruitbosch
29525495be
Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
...
MozReview-Commit-ID: 9RjGgykh0pR
--HG--
extra : rebase_source : a5bc5e888cc24e05fb4b5843c3738aa5456aea80
2016-05-19 17:23:26 +01:00
Patrick McManus
2cd574f25f
Bug 1274376 - more mozilla::net namespaces r=dragana
...
--HG--
extra : rebase_source : 914d48f23a4a5db052a789b9e21c1ff922533d35
2016-05-18 22:02:57 -04:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Byron Campen [:bwc]
48a9dd8dea
Bug 1231975 - Part 2: Break a reference cycle between NrTcpSocketIpc and TCPSocketChild, in the same manner as the UDP case. r=mcmanus
...
MozReview-Commit-ID: FNscaNoeloU
--HG--
extra : rebase_source : 452841985267cbd5c79fc628b768ee5ac9da36a7
2016-04-07 12:51:59 -05:00
Byron Campen [:bwc]
ff7fa1e45c
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : 12e1d24a7324ff1d87954fa1b56d83d2adaaa530
2016-03-14 13:31:01 -05:00
Wes Kocher
55d7bfae3f
Backed out changesets 8ed054e5853e,d56adef9c8e0,408df9f84697,7092e498ac3a,29dce05596c6,ae1dc75009e7 (bug 1231975) for breaking local mochitests a=backout
...
MozReview-Commit-ID: 17mJDyZMVju
--HG--
extra : histedit_source : cf965b94d4b36cc1b4ce0a89272f9c355ae1b82e%2C72cefdebce52a0e6653a87dd0ef0a1316fe0ec18
2016-04-27 10:20:42 -07:00
Nils Ohlmeier [:drno]
49438ee761
Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
...
MozReview-Commit-ID: ETkx1Z56bI8
--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Byron Campen [:bwc]
7239d5fd9b
Bug 1231975 - Part 2: Break a reference cycle between NrTcpSocketIpc and TCPSocketChild, in the same manner as the UDP case. r=mcmanus
...
MozReview-Commit-ID: FNscaNoeloU
--HG--
extra : rebase_source : 5a63bc9af8b347aaead43124e83dfad7fd2b25f9
extra : source : 48af27964d30af09ade27498df8b7635294cd432
2016-04-07 12:51:59 -05:00
Byron Campen [:bwc]
18f4a13f02
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : d5fa4d0138112d5932f4db43958b60f1606f0af2
extra : source : 81271ec54981bd4c7b0fa72889ba509e5c434ff4
2016-03-14 13:31:01 -05:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Carsten "Tomcat" Book
42f342e18c
Backed out changeset 4cff2bed6747 (bug 1231975)
2016-04-25 16:28:47 +02:00
Carsten "Tomcat" Book
32ca72ac3a
Backed out changeset 8aa793156ad0 (bug 1231975)
2016-04-25 16:28:46 +02:00
Byron Campen [:bwc]
e0f2cf28b2
Bug 1231975 - Part 2: Break a reference cycle between NrTcpSocketIpc and TCPSocketChild, in the same manner as the UDP case. r=mcmanus
...
MozReview-Commit-ID: FNscaNoeloU
--HG--
extra : rebase_source : 4c4c7878bb6cdd9e291070fc045f698e1a902eff
2016-04-07 12:51:59 -05:00
Byron Campen [:bwc]
98c17059df
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : 20d6bc3424e433fbc0a98739310598c3c9433c87
2016-03-14 13:31:01 -05:00
Nils Ohlmeier [:drno]
4d0aaaafea
Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
...
MozReview-Commit-ID: 8PpL6Z0za71
--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
Patrick McManus
68feec6d49
Bug 1256022 - dom/network slow GC on mochitest fix r=dragana
2016-03-21 13:10:30 -04:00
Patrick McManus
0e38e0d4ae
Bug 1256022 - backout f57f85dc94e4 r=backout
2016-03-23 13:06:05 -04:00
Patrick McManus
12d98ad561
Bug 1256022 - dom/network slow GC on mochitest fix r=dragana
2016-03-21 13:10:30 -04:00
Boris Zbarsky
f8c6c153ad
Bug 1255849. Add some documentation for AutoJSAPI instances that seem to be used just for cxpushing. r=bholley
2016-03-14 20:47:13 -04:00
Boris Zbarsky
1228b7cbd3
Bug 1255269. Get rid of nsITCPSocketCallback.fireDataEvent. r=jdm
2016-03-10 18:07:28 -05:00
Nils Ohlmeier [:drno]
01210346dd
Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
...
MozReview-Commit-ID: A3yCZZ3Pwcu
--HG--
extra : rebase_source : 67d200194ed72076fcb6064f16ec94334f8fb5e7
2016-03-01 21:46:50 -08:00
J. Ryan Stinnett
764b9f1ffa
Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
...
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.
Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames. This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.
TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.
MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
5bede71f0d
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
Xidorn Quan
375b4bcd4d
Bug 1248851 part 1 - Explicitly mark some release() calls result-unused. r=Waldo
...
MozReview-Commit-ID: Cgubemm1Et3
--HG--
extra : source : c67a746cab7e2abd5b7431157980c9ead4f51bea
2016-02-20 11:06:25 +08:00
Liang-Heng Chen
678cf18b39
Bug 1000040
- Part 3: Test cases; r=vicamo
2016-02-19 16:06:36 +08:00
Liang-Heng Chen
2c217d4b31
Bug 1000040
- Part 2: Implement EthernetManager; r=vicamo
2016-02-19 16:06:29 +08:00
John Shih
d212525a4c
Bug 993311 - Convert Network Stats API to WebIDL. r=bzbarsky.
...
--HG--
extra : rebase_source : c2523e634288c95213f44a789e6d46bfd40b8681
2014-04-08 14:42:12 +08:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Randell Jesup
930ed349c8
Bug 1194259: warnings-as-errors bustage fix rs=bustage
...
on a CLOSED TREE
--HG--
extra : commitid : BOQi8N9vieU
2016-01-22 03:56:04 -05:00
Randell Jesup
22b767c6eb
Bug 1194259: Make ICE IP restriction to default routes work in E10S r=jesup,mcmanus,drno
...
--HG--
extra : commitid : 2LptzIDH6lK
2016-01-22 02:47:01 -05:00
Carsten "Tomcat" Book
96e23d27b1
Merge mozilla-central to b2g-inbound
2016-01-13 12:00:46 +01:00
Bevis Tseng
9670cbea5b
Bug 1236433 - Part 2: Adopt Wrapper in Network Utilities; r=edgar
...
--HG--
extra : transplant_source : %EC%8B%3C%1C%8C%D49%5B%C5%CB%2BMf%0F%CC%86%FB%0C%A0%BE
2016-01-07 19:02:41 +08:00
Andrea Marchesini
83b88d383f
Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug
2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
6692893d20
Backed out changeset 5f6a58676e87 (bug 1231378)
2016-01-12 15:48:57 +01:00
Randell Jesup
f955d91200
Bug 1226200: Don't assume a TCPSocket has only one managee (and rename LoneManagedOrNull) r=jdm
2015-12-22 10:14:23 -05:00
Nathan Froyd
c381a6b86c
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Carsten "Tomcat" Book
8743590ed8
Merge mozilla-central to b2g-inbound
2015-11-13 14:39:48 +01:00
Kyle Huey
bdbb2ec50a
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Tim Huang
ba40c16470
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
7b10a19e79
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
Patrick McManus
073d4a9803
bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu
2015-11-02 23:35:29 -05:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Jan de Mooij
229e80a85d
Bug 1187233 part 2 - Fix test_networkstats_service_proxy.js to not rely on the old behavior. r=jwalden
...
--HG--
extra : rebase_source : 3a05304ef2ffa5af430589c55c0e93becaeb1b38
2015-10-21 15:52:20 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
835e1550cb
Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld
...
A lot of existing code has variations on:
if (ManagedPFooChild().Length()) {
...(ManagedPFooChild()[0])...
}
// Do something with nullptr, or some other action.
It's pretty reasonable to repeat this code when the managed protocols
are stored in an array; the code gets much less nice when managed
protocols are stored in a hashtable. Let's write a small utility
function to handle those details for us. Then when we change the
underlying storage, we only need to update this function, rather than a
bunch of callsites.
ProtocolUtils.h is included by all the generated IPDL headers, so
LoneManagedOrNull should be available everywhere the above pattern would
be encountered.
2015-10-07 20:15:56 -04:00
Wes Kocher
78f3a19dd3
Merge m-c to inbound, a=merge
2015-10-14 15:00:43 -07:00
Tim Huang
aba35afa90
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
89f5039a0c
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
39d48b3bb0
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
57c195d477
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
08997000eb
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
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Andrea Marchesini
001e241382
Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug
2016-01-12 13:54:53 +00:00
Josh Matthews
1497313299
Bug 1207090 - Expose TCPSocket to chrome contexts. r=bz
2015-09-22 08:45:00 -04:00
Nigel Babu
8852703ac2
Backed out changeset 37c89ad82a13 (bug 1207090) for hazards bustage ON A CLOSED TREE
...
--HG--
extra : rebase_source : 25a1aed587390254f54c73f87451440dd32ed4f3
extra : amend_source : 1210caccf9a96a464febeac9a1ee11ca0388f490
2015-09-29 11:42:44 +05:30
Josh Matthews
e202227bd2
Bug 1207090 - Expose TCPSocket to chrome contexts. r=bz
2015-09-22 08:45:00 -04:00
Randell Jesup
73b9d568ed
Bug 950660: Part 3 - make TCPSocket/TCPSocketChild interface an IDL interface r=jdm
2015-09-20 23:05:20 -04:00
Randell Jesup
4c2a61d99a
Bug 950660: Part 2 - Change TCPSocket interface to TCPSocketChild and unbitrot r=jdm
2015-09-20 23:05:20 -04:00
"Chih-Kai (Patrick) Wang"
8721f1e9f8
Bug 950660: Part 1: Support bind in TCPSocket from content process r=jdm
2015-01-05 15:49:24 +08:00
Josh Matthews
2d0398ffa7
Bug 885982 - Part 4: Remove all traces of JS implementation. r=asuth
2015-09-20 05:57:15 -04:00
Josh Matthews
fbb088e702
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
eb2db2dd0f
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
6d8316690f
Bug 885982 - Part 1: Convert TCPSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz
2015-03-25 10:35:59 -04:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Nicholas Nethercote
0a97485195
Bug 1190735 - Remove nsITimer.TYPE_REPEATING_PRECISE. r=froydnj.
...
--HG--
extra : rebase_source : e4424bde52b0f90adbd328071f62b89193098d34
2015-08-04 17:30:53 -07:00
Jessica Jong
85c1bca780
Bug 1167132 - Part 14: [NetworkManager] Move network information into a separate interface (NetStats). r=ethan
2015-07-29 02:15:00 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Josh Matthews
d44ba84463
Bug 1176542 - Trace the window object in the TCPSocket child proxy. r=mccr8
2015-07-08 16:06:33 -04:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Birunthan Mohanathas
eb5db88588
Bug 968520 - Add mozilla::fallible to more FallibleTArray::InsertElementsAt calls. r=froydnj
2015-06-09 17:27:35 -07:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
f50b813989
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-03 15:22:28 -07:00
Josh Matthews
944b0d2543
Bug 994337 - Force sending strings over TCPSocket when strings are required. r=asuth
2015-06-02 22:02:27 -04:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
141e0ff4a2
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 22:17:19 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
dc090e3fe5
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 14:31:00 -07:00
Randell Jesup
556337fa7c
Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent
2015-05-29 10:14:14 -04:00
Randell Jesup
859e49874b
Bug 1109338: Part 1: Separate UDPSocket logging from network logging r=dragana
2015-05-29 10:13:39 -04:00
Albert Crespell
a35cd2c970
Bug 958689 - Fix intermittent errors in networkstats tests. r=ettseng
2015-05-16 09:47:54 +02:00
Albert Crespell
235e37952c
Bug 849642 - Intermittent test_networkstats_enabled_perm.html. r=ettseng
2015-05-15 20:05:02 +02:00
Andrea Marchesini
61b9bd0496
Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan
2015-05-19 15:36:37 +01:00
Andrea Marchesini
368a198972
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
983fcabeef
Backed out 2 changesets (bug 1159401) for b2g build bustage
...
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Andrea Marchesini
91a8a35606
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
2390c704f8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini
48ecacaa74
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Bevis Tseng
3810a891ed
Bug 1155142
- Part 2: Refactor RIL-related Modules. r=kchen
2015-04-17 19:06:24 +08:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Andrea Marchesini
cb54385682
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Dragana Damjanovic
9441d5b1f1
Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer
2015-04-08 15:35:00 -04:00
Shih-Chiang Chien
925ca78ce0
Bug 1080130 - Force GC to close all used socket immediately. r=jmaher
2015-04-02 14:57:29 +08:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Shih-Chiang Chien
3924973b17
Bug 1144715 - Socket might be closed by GC before lower layer failure. r=khuey
...
CLOSED TREE
--HG--
extra : amend_source : 4c2833e4e3c160abaf325e8ab7e4a9fe9a6555b6
2015-03-23 20:06:00 -04:00
Shih-Chiang Chien
2930c8d77a
Bug 1080130 - unreferenced socket might be closed before opened. r=khuey.
...
--HG--
extra : rebase_source : 17fde78c4efc03a1284468bc521c1309ea4ca475
2015-03-19 18:21:32 +08:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Shih-Chiang Chien
dc7696193f
Bug 1061174 - Part 2 - Remove flaky timeout in test_udpsocket.html. r=khuey
2015-03-13 16:46:37 +08:00
Shih-Chiang Chien
7b1d4f7c79
Bug 1061174 - Part 1 - imported patch test_udpsocket-debug.patch. r=khuey
2015-03-09 10:25:20 +08:00
Ryan VanderMeulen
91323d7a02
Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
...
CLOSED TREE
--HG--
extra : rebase_source : c38820b067a8faf405bfae7f5b5fb1089bd29bbc
2015-03-09 16:35:06 -04:00
Dragana Damjanovic
a2a4213345
Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer
2015-03-06 06:38:00 -05:00
Anish
45de248a8b
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
c0d53e2918
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00
Anish
e7006d8a59
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher
2015-02-19 07:26:41 -05:00
Albert Crespell
67b3ab2787
Bug 1117454 - Mobile usage is wrong when switching sim card. r=ethan
2015-02-10 14:57:58 +01:00
Ethan Tseng
99d31c0110
Bug 1070944 - Part 4: Update and add test cases. r=albert
2015-02-09 10:30:57 +08:00
Ethan Tseng
17661a43bf
Bug 1070944 - Part 3: Implementation of NetworkStatsDB and querying statistics. r=albert
2015-02-09 10:17:03 +08:00
Ethan Tseng
dc7d20d249
Bug 1070944 - Part 2: Implementation of saving statistics. r=albert
2015-01-27 17:15:44 +08:00
Kan-Ru Chen (陳侃如)
9bdcbebafe
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Ryan VanderMeulen
6048189ffc
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
0c04d0ee7e
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Ethan Tseng
3c404639d0
Bug 1116715 - [NetworkStats] DB upgrade pattern of NetworkStats is error-prone. r=albert, f=bent
2015-01-06 16:25:14 +08:00
Phil Ringnalda
53a5e2bb9c
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
6334294144
Bug 885982 - Add missing IDL on a CLOSED TREE.
2015-01-17 12:17:26 -05:00
Josh Matthews
2e2e3a6cef
Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku
2013-06-24 16:50:00 -04:00
Josh Matthews
ce0dd27e0a
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
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Ethan Tseng
141dbb394d
Bug 1115502 - Expose inBrowser information to TCPSocket. r=honzab
2014-12-29 16:12:17 +08:00
Ryan VanderMeulen
b4ff41d68e
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
James Willcox
352dabf6d6
bug 1118552 - fix gcc4.9 warnings on Android r=glandium
2015-01-06 22:20:46 -05:00