Commit Graph

23963 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
1e360ef1ad Merge mozilla-central to b2g-inbound 2014-07-14 15:32:20 +02:00
Carsten "Tomcat" Book
e8b6fc4e72 merge mozilla-inbound to mozilla-central a=merge 2014-07-14 14:34:36 +02:00
Nicholas Nethercote
34ee1047b5 Bug 1037302 - Avoid excess string creation in WifiCommand.jsm's getConnectionInfoICS(). r=hchang.
This changes the code to use search() and indexOf() to find the boundaries of
the relevant values, and substring() to extract them. This reduces the number
of strings created on each invocation by 8x.

The patch changes the behaviour if a key appears more than once. With the old
code the last occurrence would be used. With the new code the first one is
used. Hopefully this doesn't matter.
2014-07-13 22:05:27 -07:00
Ben Tian
a0660bf735 Bug 1037291 - Make BluetoothDiscoveryHandle expire when discovery is stopped, r=echou 2014-07-14 11:23:58 +08:00
Jocelyn Liu
39d4f3b885 Bug 1006315: Revise BluetoothDevice.webidl and implement it for new WebBluetooth API. r=btian, r=bz 2014-07-14 10:47:19 +08:00
Andrea Marchesini
407e08395e Bug 1016277 - Telephony AudioChannel policy: LIFO r=mchen
--HG--
rename : dom/base/test/audio.ogg => dom/audiochannel/tests/audio.ogg
2014-07-10 15:06:23 +02:00
Mike Habicher
a6ad1cdb42 Bug 1036637 - disable HDR on low-memory devices, r=dhylands 2014-07-13 11:50:48 -04:00
Richard Barnes
a4246ff00b Bug 1021607 - Add support for PBKDF2 to WebCrypto API. r=bz
0001 - Introduce BasicSymmetricKeyAlgorithm r=rbarnes
0002 - Implement import key operation for PBKDF2 r=bz,rbarnes
0003 - Introduce MapAlgorithmNameToMechanism() r=rbarnes
0004 - Implement derive bits operation for PBKDF2 r=rbarnes,keeler,bz
0005 - Introduce GetKeySizeForAlgorithm() r=rbarnes
0006 - Implement derive keys operation for PBKDF2 r=rbarnes,bz
2014-07-12 20:06:00 +02:00
Antonio M. Amaya
a1bf9e24f4 Bug 1036847 - Add a test for mozApps cancel()/download() on installation. r=fabrice 2014-07-11 14:45:00 +02:00
Randell Jesup
cd389fd098 Bug 1035819: unused-var bustage fix rs=tomcat on a CLOSED TREE 2014-07-14 02:03:33 -04:00
Randell Jesup
0beb954b47 Bug 1035819: patch 2 - Enable dynamic rotation in gUM when we're hooked to a PeerConnection r=jhlin 2014-07-14 01:48:02 -04:00
Randell Jesup
ee8f20f154 Bug 1035819: patch 1 - Add notification of DirectListeners and generalize Notification of events r=roc 2014-07-14 01:47:56 -04:00
Wes Kocher
d4015d563e Backed out changeset 48c4d4a97a4b (bug 1029533) for build bustage 2014-07-11 15:38:59 -07:00
Dave Hylands
d1b50e0083 Bug 1029533 - Initial standup of MTP server. r=echou
Note: This will be off by default. Currently, you need to do:

adb shell setprop sys.usb.config mtp,adb

in order to activate the MTP server.
2014-07-11 14:42:15 -07:00
Ryan VanderMeulen
0aebdb29a0 Merge inbound to m-c. a=merge 2014-07-11 16:34:56 -04:00
Ryan VanderMeulen
33a86ae4f8 Merge fx-team to m-c. a=merge 2014-07-11 16:22:36 -04:00
Fernando Jiménez
e15f2a1a61 Bug 1028398 - FxA will silently provide user's email to privileged apps in 2.0. Part 3: Tests. r=jedp 2014-07-11 16:13:32 +02:00
Fernando Jiménez
4643d65bf1 Bug 1028398 - FxA will silently provide user's email to privileged apps in 2.0. Part 2: Trigger forceAuth when new privileged app tries to get a FxA assertion. r=jedp" 2014-07-11 16:13:32 +02:00
Fernando Jiménez
4c2613d1f3 Bug 1028398 - FxA will silently provide user's email to privileged apps in 2.0. Part 1: Add moz-firefox-accounts permission. r=jedp, fabrice 2014-07-11 16:13:32 +02:00
Ed Morley
9358d5e60d Backed out changeset 5460c4558253 (bug 1026398) for test_WebCrypto.html timeouts on B2G; CLOSED TREE 2014-07-11 17:01:44 +01:00
Ed Morley
113438b5c5 Backed out changeset bf3359ddd831 (bug 1026398) 2014-07-11 17:01:07 +01:00
Bobby Holley
29eccabc87 Bug 940316 - Move werror to RuntimeOptions. r=jandem 2014-07-11 08:30:47 -07:00
Vivien Nicolas
6ce5c1be7d Bug 1016944 - Events are processed twice in BrowserElementPanning.js for nested in-process mozbrowser iframes. r=fabrice 2014-07-11 16:17:19 +02:00
Carsten "Tomcat" Book
d6ea794d8c Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Marco Castelluccio
447bda603a Bug 906114 - Wait local installation before sending messages to content. r=myk 2014-07-11 13:25:46 +02:00
Dimi Lee
6733826c58 Bug 1035606 - [NFC] Testcase cleanup. r=tzimmermann 2014-07-10 11:33:10 +08:00
Albert Crespell
9222a68166 Bug 1034490: Optimize saveStats function of NetworkStatsDB. 2014-07-11 07:02:59 +02:00
Vicamo Yang
f19efaa42d Bug 1036877: add private dtor for Reference-counted RIL components. r=hsinyi 2014-07-11 15:58:01 +08:00
Thomas Zimmermann
e54dcfd3a7 Bug 1035240: Close file descriptor in BluetoothSocket, r=shuang
Currently, BluetoothSocket leaks its file descriptor on close
operations. With this patch when Gecko closes an instance of
BluetoothSocket, the file descriptor is now closed as well.
2014-07-11 09:22:51 +02:00
Ryan VanderMeulen
6199750f94 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-07-10 18:22:38 -04:00
Adam Roach [:abr]
db9c984ac9 Bug 1015486 Bypass the video and audio permission prompts for Loop, as Loop will provide its own mechanisms. Patch by abr, tests by Standard8. r=jesup,r=florian 2014-07-10 21:14:57 +01:00
Ms2ger
38f630a4ee Bug 1035242 - Make XMLHttpRequest.mozBackgroundRequest chrome-only; r=jst 2014-07-10 20:22:46 +02:00
Bobby Holley
e1aca738c7 Bug 1034239 - Replace GentlyOpaque with an "Xray-to-nothing" wrapper. r=gabor
I did this wrong before. Making this a SecurityWrapper means that the caller does
not subsumes the target, and that the target therefore needs to be protected
from the caller. But GentlyOpaque was supposed to be an analog of PermissiveXray
for use when no useful XrayTraits exist, so it should behave similarly.

If we make this a Filtering Security Wrapper, we get a bunch of assertions where we
expect CheckedUnwrap to succeed for a chrome-side wrapper. And we can't making it
a Filtering Non-Security Wrapper, because then the filtering policy isn't even
consulted (an optimization in jsproxy.cpp).

Really, we want all of the Xray machinery (like the ability to waive and to place
expandos), and we just don't want to resolve any properties. This patch does this.
2014-07-10 09:31:37 -07:00
Olli Pettay
c8e027a1cf Bug 1031226 - [vibration] navigator.vibrate([]) fails to cancel a pre-existing instance of the processing vibration patterns algorithm, r=mounir
--HG--
extra : rebase_source : a4a5d894ce010ebf6ac9d97b03b05986e0a42dd6
2014-07-10 17:31:36 +03:00
Kartikaya Gupta
35136e5a31 Bug 1036444 - Kill touchenter and touchleave events. r=smaug 2014-07-09 10:27:00 -04:00
Neil Deakin
5e375bd157 Bug 1020496, add getAutocompleteInfo method to get components of autocomplete attribute, r=smaug 2014-07-09 08:01:00 +01:00
Lebedev Maksim
c7ee285c63 Bug 976963 - Resolve issues with tests on B2G system. r=smaug 2014-07-09 01:03:00 -04:00
Ahmed Kachkach
7d86d58e58 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Henry Chang
17098b8395 Bug 1022460 - Add wifi tethering test cases. r=vyang 2014-07-01 18:47:13 +08:00
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