Commit Graph

21255 Commits

Author SHA1 Message Date
Marco Castelluccio
47ee37b2ca Bug 972927 - Re-enable dom/apps tests on b2g. r=RyanVM 2014-03-28 11:29:57 -04:00
Wes Kocher
7d471d658b Merge b2g-inbound to m-c 2014-03-27 19:37:17 -07:00
William Chen
bdec492916 Bug 987031 - Use kNamespaceID_Unknown to match any namespace in the web components custom element registry. r=mrbkap 2014-03-27 11:55:44 -07:00
William Chen
50b5e6ff14 Bug 984712 - Associate document with existing custom elements registry as specified. r=mrbkap 2014-03-27 11:55:44 -07:00
Andrew McCreight
8d50ef262c Bug 988570 - Initialize nsXBLBinding::mUsingXBLScope. r=bholley 2014-03-27 09:24:33 -04:00
Bevis Tseng
e3e30cd25c Bug 981077 - Part 4: Add test case for SIM_NOT_MATCHED_ERROR while manually retrieving MMS message. r=vyang 2014-03-25 15:06:09 +08:00
Bevis Tseng
a33d1467f5 Bug 981077 - Part 3: Remove unused method of getClientIdByIccId(). r=vyang 2014-03-25 15:04:33 +08:00
Bevis Tseng
2e466c59d8 Bug 981077 - Part 2: Define MmsService-owned getConnByIccId() to identify NO_SIM_CARD_ERROR and SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 12:00:09 +08:00
Bevis Tseng
06ca945bcd Bug 981077 - Part 1: Add new error type SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 10:52:05 +08:00
Bevis Tseng
4cebd5a07b Bug 981577 - Part 3: Add Test case to verify RadioDisabledError. r=vyang 2014-03-20 15:14:07 +08:00
Bevis Tseng
840c115c25 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
e9ea0170f1 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
7d912c9fbb Merge mozilla-central to b2g-inbound 2014-03-27 16:03:36 +01:00
Thomas Zimmermann
c9dc7ab17c 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
3613f3d91e 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
866006ef98 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
92743c5ab4 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
a0cd2b4846 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
ea2c4302bc 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
2e711b04a9 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
a2623c2ab0 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
c217994116 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
3e14ec93b2 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
0581431d4c Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Ryan VanderMeulen
bff11409a3 Merge b2g-inbound to m-c. 2014-03-26 20:46:47 -04:00
Randell Jesup
c349c2420d Bug 986764: don't leak a thread for every getUserMedia doorhanger r=jib 2014-03-26 17:57:46 -04:00
Carsten "Tomcat" Book
9cb216684f Backed out changeset 246f001547ac (bug 981085) 2014-03-26 11:09:16 +01:00
Wes Kocher
0d58e41dd9 Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Wes Kocher
622986d217 Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Marco Castelluccio
4e70d25fc5 Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Yoshi Huang
c6f6c3646f Bug 987595 - B2G NFC: onpeerready isn't called. r=dimi 2014-03-25 19:14:41 +08:00
Marco Castelluccio
0dbb5d4be6 Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Henry Chang
7985bcb622 Bug 986360 - Add nullity check to |flags|. r=chulee 2014-03-21 17:00:38 +08:00
Jocelyn Liu
9b2b4705a6 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
1f5510b09f Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-03-26 14:03:43 +01:00
Fabrice Desré
564fd419ad Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Wei Deng
2da14f8552 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
8e00ba28c8 Merge mozilla-central to b2g-inbound 2014-03-25 13:47:41 +01:00
Carsten "Tomcat" Book
e474cca713 merge b2g-inbound to mozilla-central 2014-03-25 13:23:10 +01:00
Ehsan Akhgari
75b3c6a6dd 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
c33a649a4a 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
af614574f6 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
4e8158e480 Bug 985125 - remove unnecessary indirection from DOM error handler, r=dhylands 2014-03-24 17:32:31 -04:00
Ryan VanderMeulen
85d2cbd02e Merge inbound to m-c. 2014-03-24 16:47:07 -04:00
Ryan VanderMeulen
131f3139eb Merge m-c to inbound. 2014-03-24 16:51:09 -04:00
Doug Turner
308efc43ed Bug 987019 - Shutdown Wifi scanning after geolocation request has completed. r=kanru 2014-03-24 12:40:42 -07:00
Ms2ger
593a960690 Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Bobby Holley
7f56c979e3 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Carsten "Tomcat" Book
e7f441136c Merge mozilla-central to mozilla-inbound 2014-03-24 15:23:49 +01:00