Граф коммитов

24356 Коммитов

Автор SHA1 Сообщение Дата
Bevis Tseng bb15c4ee8b Bug 981577 - Part 3: Add Test case to verify RadioDisabledError. r=vyang 2014-03-20 15:14:07 +08:00
Bevis Tseng f6b91b282f Bug 981577 - Part 2: Check Radio State in prior to the ICC Id. r=vyang 2014-03-20 12:24:42 +08:00
Bevis Tseng bf45b56afa Bug 981577 - Part 1: Refactor fetching ril.radio.disabled preference into getRadioDisabledState(). r=vyang 2014-03-20 12:15:49 +08:00
Carsten "Tomcat" Book 675f646171 Merge mozilla-central to b2g-inbound 2014-03-27 16:03:36 +01:00
Thomas Zimmermann 41ccdb8f5d Bug 983576: Annotate all assertions for non-main threads in BlueZ backend, r=echou
This patch adds an annotation to each assertion for non-main threads in
the BlueZ backend of Bluetooth. This should make is easy and obvious to
see in which context a method or function is expected to run.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann f756e17674 Bug 983576: Annotate global BlueZ variables, r=echou
The global variables in BluetoothDBusService.cpp are now annotated
for their multi-threading access. Some code still seems to access
some of these variables in an unprotected manner. Follow-up patches
should clean this up.

As a side effect, this patch makes several variables as constant,
which improves correctness of the code.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann 49823019b0 Bug 983576: Fail if sDBusConnection is not set, r=echou
Until now, we had corner cases in Bluetooth where DBus messages might
have been received on connections that are shutting down. This can't
happen any longer and this patch replaces the respective tests with
assertions.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann 371fc3f23b Bug 983576: Refactor BlueZ start/stop code, r=echou
With this patch, the start code of Bluetooth's BlueZ back mostly
runs on the I/O thread. Only the loading of the BT firmware and
the blocking connection setup is done on the BT thread.

The stop code has been moved to the I/O thread, except for some
initial waiting and the final cleanup of the firmware. The code
doesn't wait for errors anymore when cleaning up the connection
to DBus. This makes it run completely non-blocking. The initial
waiting may later be replaced by something more sophisticated.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann b2c765fcbf Bug 983576: Move DispatchToBtThread to mozilla::bluetooth namespace, r=echou
This patch moves DispatchToBtThread to mozilla::bluetooth, so that
it is available on the I/O thread.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann a1cae5603a Bug 986440: Add missing field |number| for REQUEST_QUERY_CALL_FORWARD_STATUS, r=htsai
The field |number| is missing when REQUEST_QUERY_CALL_FORWARD_STATUS
gets invoked from RilContentHelper.js. This patch adds a test to the
function |queryCallForwardingStatus| for handling this case.

--HG--
extra : rebase_source : c56474a2023434ac3658c7771244c6380ca2a6e0
2014-03-27 10:35:30 +01:00
Thomas Zimmermann 22ff293288 Bug 986440: Check for |radioTech| in |voiceRegistrationState|, r=htsai
When starting up RIL, |radioTech| in |voiceRegistrationState| is not
defined before we received REQUEST_VOICE_REGISTRATION_STATE. This
patch adds an extra test to avoid the respective error message.

--HG--
extra : rebase_source : 19927ec9a3892606d81f3209ea470ce297d927d7
2014-03-27 10:35:24 +01:00
Thomas Zimmermann 21da4b0c37 Bug 986440: Test for |options.rilMessageType| in REQUEST_GET_SMSC_ADDRESS handler, r=htsai
The response handler for REQUEST_GET_SMSC_ADDRESS expects the field
|rilMessageType| to be present in its options. This is not the case
if the request was generated from within ril_worker.js.

This patch handles this case by adding an extra test for the existance
of the field. The response handler will return without sending a reply
to the content helper. This is not a problem since the content handler
did not invoke the request anyway.

--HG--
extra : rebase_source : 211d5f4dc29dd99b745bc29d856c291175f156f1
2014-03-27 10:35:17 +01:00
Thomas Zimmermann 0348736e81 Bug 986440: Return 'null' from RIL-worker function, r=htsai
One of the functions in ril_worker.js is supposed to return 'null'
on errors, but returns 'undefined' instead. This patch fixes the
problem.

--HG--
extra : rebase_source : 0f0c1cc06fb4bcb6fe034ab3c88890b351a6cad6
2014-03-27 10:35:09 +01:00
Ryan VanderMeulen c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen b92aaa2756 Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Ryan VanderMeulen 12d46cf7fa Merge b2g-inbound to m-c. 2014-03-26 20:46:47 -04:00
Randell Jesup 60df1ee9ac Bug 986764: don't leak a thread for every getUserMedia doorhanger r=jib 2014-03-26 17:57:46 -04:00
Carsten "Tomcat" Book 6eaebb92de Backed out changeset 246f001547ac (bug 981085) 2014-03-26 11:09:16 +01:00
Wes Kocher 618b2c258b Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Wes Kocher 6b9908e2fe Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Marco Castelluccio af2cc5d4e4 Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Yoshi Huang ccacba91b6 Bug 987595 - B2G NFC: onpeerready isn't called. r=dimi 2014-03-25 19:14:41 +08:00
Marco Castelluccio 2854ed855e Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Henry Chang 85dbe34d0d Bug 986360 - Add nullity check to |flags|. r=chulee 2014-03-21 17:00:38 +08:00
Jocelyn Liu 11efa3b360 Bug 986375 - Use defined constants for HFP result code to avoid typo. r=echou 2014-03-26 19:08:00 +01:00
Carsten "Tomcat" Book 93952458ba Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-03-26 14:03:43 +01:00
Fabrice Desré 874f87e5ff Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Wei Deng 91d0671901 Bug 960946 - Correct events which can be generated and sent repeatedly from longpressing a key. r=yxl 2014-03-25 15:46:52 +08:00
Carsten "Tomcat" Book b13effee27 Merge mozilla-central to b2g-inbound 2014-03-25 13:47:41 +01:00
Carsten "Tomcat" Book 68f47b1cc6 merge b2g-inbound to mozilla-central 2014-03-25 13:23:10 +01:00
Ehsan Akhgari 0410df628a Bug 986993 - Remove the classinfo on the inputmethod API classes because they are already ported to WebIDL; r=bzbarsky
This patch also removes the mention to some non-existent interfaces.
2014-03-24 21:59:33 -04:00
Tatiana Meshkova b05be4f889 Bug 985817 - Move some TabChild functionality into base class to be reusable in Embedlite implementation. r=kats 2014-03-24 19:28:46 -07:00
Ehsan Akhgari c8b92dbc0e Bug 986980 - Remove the classinfo from WifiGeoCoordsObject and WifiGeoPositionObject; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-24 23:39:23 -04:00
Mike Habicher 0c985802e1 Bug 985125 - remove unnecessary indirection from DOM error handler, r=dhylands 2014-03-24 17:32:31 -04:00
Ryan VanderMeulen b31f92b6e6 Merge inbound to m-c. 2014-03-24 16:47:07 -04:00
Ryan VanderMeulen 2ba71826c0 Merge m-c to inbound. 2014-03-24 16:51:09 -04:00
Doug Turner 3e747129bf Bug 987019 - Shutdown Wifi scanning after geolocation request has completed. r=kanru 2014-03-24 12:40:42 -07:00
Ms2ger d7c5e3051b Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Bobby Holley 830107fc87 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Carsten "Tomcat" Book 1d71b1a455 Merge mozilla-central to mozilla-inbound 2014-03-24 15:23:49 +01:00
Carsten "Tomcat" Book 9a22ffe8aa merge b2g-inbound to mozilla-central 2014-03-24 15:13:24 +01:00
Rik Cabanier 543f9e966c Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-24 09:31:19 -04:00
Thomas Zimmermann 697d1bf608 Bug 985949: Correctly forget pointer references in Bluedroid backend, r=echou
This patch fixes a regression from bug 967364. An nsRefPtr is now
correctly cleared by |forget| without causing a crash.
2014-03-24 10:44:29 +01:00
Thomas Zimmermann f48e139273 Bug 985949: Fix pointer handling in BlueZ backend, r=echou
This is caused by bug 967364. We need to hand over data structures
to DBus operations and forget about them if the operation returned
success. Until now, we could just tell their nsRefPtrs to |forget|
about them, but with bug 967364 applied we need to swap an empty
value into the pointer.
2014-03-24 10:44:28 +01:00
L. David Baron ba666ea10e Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
Phil Ringnalda 9493e2fb24 Merge m-c to m-i 2014-03-23 08:43:23 -07:00
Phil Ringnalda d3cfb61572 Merge b-i to m-c 2014-03-23 08:28:09 -07:00
Bobby Holley 6dc6e3896f Bug 975042 - Create NetworkStats dates in the window's scope. r=fabrice 2014-03-23 11:02:14 -03:00
Ehsan Akhgari 31e7320ffb Bug 983845 follow-up: Move the header to content/base and enable BrowserFeedWriter for xulrunner as well 2014-03-22 21:34:02 -04:00