Commit Graph

23970 Commits

Author SHA1 Message Date
Garvan Keeley
21f9b9cc9f Bug 1036110 - Stop the B2G UI setting from overriding the js prefs setting and turning off logging. r=dougt
If gLoggingEnabled is already on during startup, that means it was set in js prefs.
2014-07-09 09:14:00 -04:00
Szu-Yu Chen [:aknow]
5e25d7bd0e Bug 1035130 - Part 2: Add test to send conference request twice. r=hsinyi 2014-07-09 19:39:00 -04:00
Szu-Yu Chen [:aknow]
fce370fe69 Bug 1035130 - Part 1: Only accept one conference request at a time. r=hsinyi 2014-07-09 19:39:00 -04:00
Carsten "Tomcat" Book
ecfd06f20e Merge mozilla-central to b2g-inbound 2014-07-10 15:20:10 +02:00
Thomas Zimmermann
aa4af73f0a Bug 1029387: Remove socket setup from BluetoothSocket, r=shuang
This patch removes all code related to socket setup from Bluedroid's
BluetoothSocket. The socket setup is handled by BluetoothInterface;
transparantly to its users.

Since most of the socket setup is now hidden, a comment was added to
DroidSocketImpl that explains the connection phases in server and
client.
2014-07-10 15:11:09 +02:00
Thomas Zimmermann
3c839fc138 Bug 1029387: Handle socket setup for |Accept| in BluetoothInterface, r=shuang
This patch moves the accept phase of Bluedroid's |Listen| to the
implementation of BluetoothInterface. |BluetoothInterface::Accept|
handles Bluedroid's socket-setup messages and executes the result
handler with the received file descriptor and data.
2014-07-10 15:10:54 +02:00
Thomas Zimmermann
d23c61e5d2 Bug 1029387: Handle socket setup for |Connect| in BluetoothInterface, r=shuang
Bluedroid's internal socket setup transfers 2 messages and possibly
a file descriptor as the first data of a socket connection.

This patch moves the socket-setup code for the |Connect| call to
the implementation of BluetoothInterface. BluetoothSocket only
handles the socket setup of |Listen|, and general socket state.
2014-07-10 15:10:45 +02:00
Thomas Zimmermann
12a6ce5437 Bug 1029387: Introduce connection status for Bluedroid sockets, r=shuang
In preparaton of moving the Bluedroid socket setup to BluetoothInterface,
this patch introduces connection states for Bluetooth sockets. There are
4 states,

  - Disconnected,
  - Listening,
  - Connecting, and
  - Connected.

All sockets start in Disconnected and transition to Connected via one
of the other states. Server socket transition through Listening, Client
sockets transition through Connecting. There is currently a lot of code
duplication in read and write methods. This will be cleaned up when the
connection setup is handled by BluetoothInterface.
2014-07-10 15:10:36 +02:00
Thomas Zimmermann
b2f94a0df3 Bug 1029387: Convert Bluedroid Socket's Connect method to asynchronous design, r=shuang 2014-07-10 15:10:26 +02:00
Thomas Zimmermann
907eb2797c Bug 1029387: Convert Bluedroid Socket's Listen method to asynchronous design, r=shuang 2014-07-10 15:10:13 +02:00
Thomas Zimmermann
f87c512bc8 Bug 1029387: Add result handler for Bluetooth Socket interface, r=shuang 2014-07-10 15:09:44 +02:00
Carsten "Tomcat" Book
36428b4d63 merge mozilla-inbound to mozilla-central a=merge 2014-07-10 14:47:01 +02:00
Jessica Jong
abbdebfa20 Bug 1030810 - fix logic in updateRILNetworkInterface(). r=edgar 2014-07-10 18:14:03 +08:00
Ben Tian
54bee84d86 Bug 1027504 - Implement BluetoothClassOfDevice, r=bz, r=echou 2014-07-10 14:42:10 +08:00
Vicamo Yang
52523a1146 Backed out changeset f54af6237ce9 (bug 1000040) for causing bug 1035172 2014-07-10 13:29:47 +08:00
Vicamo Yang
1dfe418bcc Backed out changeset 78ba6f47a5a7 (bug 1000040) for causing bug 1035172 2014-07-10 13:28:51 +08:00
Vicamo Yang
607ae23154 Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
Fabrice Desré
2ef58d39a0 Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Wes Kocher
34cb468424 Backed out changeset 93203c822307 (bug 900241) for mochitest failures 2014-07-09 15:17:09 -07:00
Fabrice Desré
4a87e90cdd Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Ryan VanderMeulen
4c28391862 Merge fx-team to m-c. a=merge 2014-07-09 16:12:36 -04:00
Ryan VanderMeulen
884d90c181 Merge b2g-inbound to m-c. a=merge 2014-07-09 15:56:47 -04:00
Ryan VanderMeulen
c544d037ed Merge inbound to m-c. a=merge 2014-07-09 15:45:21 -04:00
Ryan VanderMeulen
3c0088b1bc Backed out changeset ea4acc8b76dd (bug 903291) for frequent B2G crashtest failures and other regressions. 2014-07-09 15:34:43 -04:00
Ryan VanderMeulen
e86f377c1e Backed out changeset eba5d7aa80b0 (bug 997101) for causing frequent B2G layout/reftests/svg/sizing reftest failures. 2014-07-09 14:24:37 -04:00
Carsten "Tomcat" Book
8526df33a5 Merge mozilla-central to b2g-inbound 2014-07-09 16:18:04 +02:00
Carsten "Tomcat" Book
ea15fbd89c Merge mozilla-central to fx-team 2014-07-09 16:15:17 +02:00
Carsten "Tomcat" Book
16ad20b23b Merge mozilla-central to mozilla-inbound 2014-07-09 16:13:17 +02:00
Carsten "Tomcat" Book
af132d17bc merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/css/ot.min.css => browser/components/loop/content/libs/sdk-content/css/ot.css
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/access-denied-chrome.png => browser/components/loop/content/libs/sdk-content/images/rtc/access-denied-chrome.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/access-denied-copy-firefox.png => browser/components/loop/content/libs/sdk-content/images/rtc/access-denied-copy-firefox.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/access-denied-firefox.png => browser/components/loop/content/libs/sdk-content/images/rtc/access-denied-firefox.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/access-predenied-chrome.png => browser/components/loop/content/libs/sdk-content/images/rtc/access-predenied-chrome.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/access-prompt-chrome.png => browser/components/loop/content/libs/sdk-content/images/rtc/access-prompt-chrome.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/audioonly-publisher.png => browser/components/loop/content/libs/sdk-content/images/rtc/audioonly-publisher.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/audioonly-subscriber.png => browser/components/loop/content/libs/sdk-content/images/rtc/audioonly-subscriber.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/buttons.png => browser/components/loop/content/libs/sdk-content/images/rtc/buttons.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/loader.gif => browser/components/loop/content/libs/sdk-content/images/rtc/loader.gif
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/mic-off.png => browser/components/loop/content/libs/sdk-content/images/rtc/mic-off.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/mic-on.png => browser/components/loop/content/libs/sdk-content/images/rtc/mic-on.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/speaker-off.png => browser/components/loop/content/libs/sdk-content/images/rtc/speaker-off.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/images/rtc/speaker-on.png => browser/components/loop/content/libs/sdk-content/images/rtc/speaker-on.png
rename : browser/components/loop/content/libs/otcdn/webrtc/v2.2.5/js/dynamic_config.min.js => browser/components/loop/content/libs/sdk-content/js/dynamic_config.min.js
2014-07-09 15:54:37 +02:00
Thomas Zimmermann
ca70bb0ca1 Bug 1033961: Asynchronous Bluedroid DUT and LE interfaces (under bluetooth2/), r=btian 2014-07-09 09:39:43 +02:00
Thomas Zimmermann
917b46aba5 Bug 1033961: Asynchronous authentification in Bluedroid (under bluetooth2/), r=btian 2014-07-09 09:39:31 +02:00
Thomas Zimmermann
8e6d8ad7ef Bug 1033961: Asynchronous Bluedroid device bonding (under bluetooth2/), r=btian 2014-07-09 09:39:18 +02:00
Thomas Zimmermann
4157746d43 Bug 1033961: Asynchronous discovery methods in Bluedroid (under bluetooth2/), r=btian 2014-07-09 09:39:04 +02:00
Thomas Zimmermann
2c7985684d Bug 1033961: Asynchronous remote-service methods in Bluedroid (under bluetooth2/), r=btian 2014-07-09 09:38:49 +02:00
Thomas Zimmermann
493b33b5dc Bug 1033961: Asynchronous Bluedroid device-property methods (under bluetooth2/), r=btian 2014-07-09 09:38:35 +02:00
Thomas Zimmermann
8ac530a6b1 Bug 1033961: Asynchronous Bluedroid adapter methods (under bluetooth2/), r=btian 2014-07-09 09:38:20 +02:00
Thomas Zimmermann
317b0ad1b1 Bug 1033961: Asynchronous Bluedroid starting and stopping (under bluetooth2/), r=btian 2014-07-09 09:38:06 +02:00
Thomas Zimmermann
6e51b9f9d2 Bug 1033961: Split Bluedroid start/stop code (under bluetooth2/), r=btian
This patch prepares refactoring of the Bluedroid start and stop
code towards an asynchronous design.
2014-07-09 09:37:53 +02:00
Thomas Zimmermann
9a18c110da Bug 1033961: Add result handler for Bluetooth Core profile (under bluetooth2/), r=btian
The result-handler class contains a method for each interface
in the Core profile and a method for failed calls. The patch
also adds runnable classes that execute a result handler's
method on the main thread.
2014-07-09 09:37:40 +02:00
Carsten "Tomcat" Book
eb95d0a82a Backed out changeset 6a56c14d382f (bug 1024707) for dt1 and xpshell test bustages on a CLOSED TREE 2014-07-09 13:19:33 +02:00
Guillermo López
86c8e0e5cf Bug 894879 - Calculate a adaptive ping for mobile and wifi connections. r=nsm.nikhil 2014-07-09 10:37:58 +02:00
Krzysztof Mioduszewski
e3e2122db0 Bug 1033218 - [NFC] use emulator command triggering tech-lost. r=allstars.chh 2014-07-07 20:40:01 +02:00
Wes Kocher
a943a54203 Merge m-c to b2g-inbound 2014-07-08 20:06:10 -07:00
Jamin Liu
f59715c874 Bug 1030536 - Write a marionette test for verifying the setters of adapter based on bluetooth API v2. r=btian 2014-07-09 09:52:11 +08:00
Wes Kocher
560dde5970 Merge b2g-inbound to m-c a=merge 2014-07-08 16:34:48 -07:00
Kyle Huey
5e56f5b389 Bug 1033618: If we take the preallocated process but fail to start the app try again with a non-preallocated process. r=smaug 2014-07-08 15:56:22 -07:00
Fernando Jiménez
f82a3c2e2b Bug 1022181 - Mobile ID Tests. Part 1: DOM Tests. r=sicking 2014-07-08 19:57:44 +02:00
Fabrice Desré
e45eec0fb4 Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug
* * *
Bug 1024513 - followup to get ASAN builds r=me
2014-07-07 21:45:23 -07:00
Ed Morley
347de2da51 Backed out changeset ad9e35d75c08 (bug 1026997) for test_reftests_with_caret.html failures 2014-07-08 17:06:00 +01:00
Ed Morley
9c819f383c Backed out changeset a2f2a28e0856 (bug 1024513) for build failures 2014-07-08 16:03:04 +01:00
Fabrice Desré
1133636b0c Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug 2014-07-07 21:45:23 -07:00
Antonio M. Amaya
e657d98a23 Bug 1033453 - Fix the composed permission check on app updates. r=fabrice 2014-07-08 05:45:00 -04:00
Lynn Tran
625daebc3d Bug 1003336 - OS.Constants.Sys.Name should not be "Android" for Firefox OS. r=yoric 2014-07-04 18:20:49 -04:00
Bevis Tseng
21e4f7aec7 Bug 1028032 - Part 2: Add Test cases to verify padding <CR> in both GSM 7bit and UCS2 encoded PDU. r=htsai 2014-07-03 14:43:01 +08:00
Boris Zbarsky
b8297ece4e Bug 965413 part 10. Use a LoadInfo for loading documents in various places where we force a particular principal. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
64f283c845 Bug 965413 part 9. Support use of a LoadInfo for javascript: URLs. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
f22144a471 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Sean Lin
0de88c301b Bug 1015540 - Prevent Alarms API from performing unsafe toJSON conversions on content objects. r=bz 2014-07-08 17:04:05 +08:00
Tom Schuster
22d340b93d Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
Kyle Huey
8031891b11 Bug 1034304: Remove nsIDOMHTMLAudio/VideoElement. r=smaug 2014-07-12 19:20:42 -07:00
Vivien Nicolas
3a9735e872 Bug 1013913 - Add meta name=theme-color to have configurable status bar color. r=fabrice 2014-07-12 13:28:48 +02:00
Jan de Mooij
c4d8177c2c Bug 1034689 part 3 - Fix remaining places in Gecko to handle Latin1 strings. r=bz 2014-07-12 09:43:08 +02:00
Jan de Mooij
29b2d13e94 Bug 1034689 part 2 - Add AssignJSFlatString and use it. r=bz,terrence 2014-07-12 09:43:06 +02:00
Nikhil Marathe
86d9eeb4f1 Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz
--HG--
extra : transplant_source : %91%24G%DA%8F%B6%95%CEY%3Ff1%B4%3B%CA%23%DB5%ED%88
2014-07-11 20:21:54 -07:00
Wes Kocher
8543987c26 Merge m-c to inbound 2014-07-08 20:04:41 -07:00
Blake Kaplan
7b09b38e37 Bug 1001957 - Don't use a CPOW for reload. r=felipe/mccr8/smaug
Original patch from billm.
2014-07-08 18:27:59 -07:00
Wes Kocher
22e853cb38 Backed out changeset 76a96d6f0330 (bug 1001957) for mochitest-2 bustage on a CLOSED TREE 2014-07-08 17:55:35 -07:00
Blake Kaplan
4767b88b60 Bug 1001957 - Don't use a CPOW for reload. r=felipe/mccr8/smaug
Original patch from billm.
2014-07-08 16:19:10 -07:00
Wes Kocher
b1d580b67f Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Benoit Jacob
758777907f Bug 1035394 - Fix dangerous public destructors in dom/events - r=smaug 2014-07-08 17:23:17 -04:00
Benoit Jacob
66530c3e02 Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Masayuki Nakano
904138ac00 Bug 1035595 Use mozilla::WidgetTouchEvent::TouchArray instead of nsTArry<nsRefPtr<mozilla::dom::Touch>> r=roc 2014-07-09 05:48:19 +09:00
Andrew McCreight
eb6a69286e Bug 1034911 - Make the destructor for KeyAlgorithm private. r=smaug 2014-07-08 13:46:23 -07:00
Ben Kelly
33df1b2ca1 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Bevis Tseng
9fadc8cb84 Bug 1023695 - Part 6: Add Marionette Test Case to Verify ondeleted Event. r=vyang. 2014-06-27 15:34:37 +08:00
Bevis Tseng
c4cb3e8972 Bug 1023695 - Part 5: Notify deleted info after DB has been changed. r=vyang. 2014-06-27 13:28:10 +08:00
Bevis Tseng
42fc799090 Bug 1023695 - Part 4: Implementation of .webidl change. r=vyang,smaug. 2014-06-27 13:25:37 +08:00
Bevis Tseng
bfd5f8ad7c Bug 1023695 - Part 3: .webidl change to support ondeleted event. r=vyang,smaug. 2014-06-27 13:22:30 +08:00
Bevis Tseng
aef2053d1e Bug 1023695 - Part 2: Add implementation of .idl/.ipdl. r=vyang. 2014-06-27 13:17:47 +08:00
Bevis Tseng
3f7cd4a48f Bug 1023695 - Part 1: Define .idl/.ipdl for notifying Deleted Info. r=vyang. 2014-06-27 13:11:14 +08:00
Jan Jongboom
a8fc8abfed Bug 957213 - Rewrite tests for inputmethod to avoid intermittent errors. r=yxl 2014-06-25 07:58:00 -04:00
Carsten "Tomcat" Book
f2eccd2c1f Merge mozilla-central to b2g-inbound 2014-07-08 15:39:29 +02:00
Carsten "Tomcat" Book
a39983d2f5 merge mozilla-inbound to mozilla-central a=merge 2014-07-08 14:41:21 +02:00
Fabrice Desré
6a0a8a3021 backout a6ae40c60e77 for build failures 2014-07-07 22:21:51 -07:00
Fabrice Desré
b4e321b891 Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug 2014-07-07 21:45:23 -07:00
Garvan Keeley
7eec706904 Bug 1018383 - Added request-level caching in NetworkGeolocationProvider.js. r=jdm
This is a cleanup of the patch used in the Tarako bug. I made it clearer that this is request-level caching, NOT position caching.
 This is specifically for preventing unnecessary requests to the server. It is unrelated to the W3C PositionOptions and their effect on position caching.
 Hopefully this detail is clearer in this patch.

Updated mochitests that were relying on old logic to succeed

The failing mochitests were relying on the provider to have a specific behaviour -behaviours that are incidental to the test case. I updated these to reflect the behaviour of the current system.
2014-07-07 07:16:00 +02:00
Garvan Keeley
f4bee68727 Bug 1013012 - Support for js highAccuracy flag in geolocation. r=jdm 2014-07-07 06:47:00 +02:00
Bevis Tseng
a3d7f1375b Bug 1028791 - Re-write Marionette Test Cases of CellBroadcast with Promise. r=vyang 2014-07-02 19:28:33 +08:00
Jan Jongboom
093bc4bf48 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-07-08 03:31:00 -04:00
Dimi Lee
00f9cabf17 Bug 997576 - [NFC] Testcase for reading empty NFC tag. r=tzimmermann 2014-07-08 11:56:57 +08:00
Fernando Jiménez
f5d274039b Bug 1024396 - Allow blocking certain permissions for privileged apps. r=fabrice 2014-07-08 12:10:24 +02:00
Jamin Liu
2c29d3aeb8 Bug 1006317 - Write a marionette test for BT on/off based on bluetooth API v2. r=btian 2014-07-08 14:57:01 +08:00
Edgar Chen
0bc97da834 Bug 1030002 - Part 2: Test cases for mobileconnection/mobilenetwork permission. r=hsinyi,khuey 2014-07-01 14:40:37 +08:00
Edgar Chen
9f95a12ddd Bug 1030002 - Part 1: Use webidl attribute, CheckPermissions, for checking mobileconnection/mobilenetwork permission. r=smaug,hsinyi 2014-06-25 15:42:06 +08:00
Tamara Hills
5f159d6e6d Bug 1021550 - Removed the check to set the PHONE_STATE_NORMAL for speaker/mic when there are no active calls. Added test. r=hsinyi. 2014-07-08 11:02:51 +08:00
Wes Kocher
b74cdc0fdc Merge inbound to m-c a=merge 2014-07-07 16:01:08 -07:00
Wes Kocher
ba879022c4 Backed out changeset 476485e3e30a (bug 1034294) for b2g m8 orange on a CLOSED TREE 2014-07-07 11:24:14 -07:00
Carsten "Tomcat" Book
0fc4e58893 Merge mozilla-central to b2g-inbound 2014-07-07 15:40:15 +02:00
Carsten "Tomcat" Book
689667a392 merge b2g-inbound to mozilla-central a=merge 2014-07-07 15:05:36 +02:00
Dimi Lee
db7eee2ec6 Bug 1035041 - [NFC] Add lost head.js for testcase. r=tzimmermann 2014-07-07 10:44:29 +08:00