Commit Graph

27051 Commits

Author SHA1 Message Date
Nicholas Nethercote
ac9dc3db30 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
d366a44a93 Bug 1037291 - Make BluetoothDiscoveryHandle expire when discovery is stopped, r=echou 2014-07-14 11:23:58 +08:00
Jocelyn Liu
2acb00d1df 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
187ed14a21 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
a6cf3a0bdf Bug 1036637 - disable HDR on low-memory devices, r=dhylands 2014-07-13 11:50:48 -04:00
Wes Kocher
c38fe7ac26 Backed out changeset 48c4d4a97a4b (bug 1029533) for build bustage 2014-07-11 15:38:59 -07:00
Dave Hylands
94c800f417 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
296caa949c Merge inbound to m-c. a=merge 2014-07-11 16:34:56 -04:00
Ryan VanderMeulen
7fbee60fc9 Merge fx-team to m-c. a=merge 2014-07-11 16:22:36 -04:00
Fernando Jiménez
13b90e3767 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
f40d884f09 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
c02946dc87 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
65aa1f33ef 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
03329fb20f Backed out changeset bf3359ddd831 (bug 1026398) 2014-07-11 17:01:07 +01:00
Bobby Holley
d204a01c8f Bug 940316 - Move werror to RuntimeOptions. r=jandem 2014-07-11 08:30:47 -07:00
Vivien Nicolas
42b4bad745 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
ce57787693 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Marco Castelluccio
0c223e94ec Bug 906114 - Wait local installation before sending messages to content. r=myk 2014-07-11 13:25:46 +02:00
Dimi Lee
b82961efc1 Bug 1035606 - [NFC] Testcase cleanup. r=tzimmermann 2014-07-10 11:33:10 +08:00
Albert Crespell
c358f9f67f Bug 1034490: Optimize saveStats function of NetworkStatsDB. 2014-07-11 07:02:59 +02:00
Vicamo Yang
b5144501f3 Bug 1036877: add private dtor for Reference-counted RIL components. r=hsinyi 2014-07-11 15:58:01 +08:00
Thomas Zimmermann
59a307fb1b 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
6777a8c00a Merge inbound to m-c on a CLOSED TREE. a=merge 2014-07-10 18:22:38 -04:00
Adam Roach [:abr]
b81d6217c1 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
93473218d2 Bug 1035242 - Make XMLHttpRequest.mozBackgroundRequest chrome-only; r=jst 2014-07-10 20:22:46 +02:00
Bobby Holley
4a9f9e844b 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
cff7d32b26 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
30f43e9c10 Bug 1036444 - Kill touchenter and touchleave events. r=smaug 2014-07-09 10:27:00 -04:00
Neil Deakin
1bfbc6d5da Bug 1020496, add getAutocompleteInfo method to get components of autocomplete attribute, r=smaug 2014-07-09 08:01:00 +01:00
Lebedev Maksim
96ed918f85 Bug 976963 - Resolve issues with tests on B2G system. r=smaug 2014-07-09 01:03:00 -04:00
Ahmed Kachkach
50db9012f6 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Henry Chang
c9a343f273 Bug 1022460 - Add wifi tethering test cases. r=vyang 2014-07-01 18:47:13 +08:00
Garvan Keeley
1428f007de 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]
45a20ad219 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]
dd30af1174 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
308cc4e3f1 Merge mozilla-central to b2g-inbound 2014-07-10 15:20:10 +02:00
Thomas Zimmermann
4df0a8ba94 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
65625cbecc 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
cb15a54553 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
b4b1937c50 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
54b45b1fbc Bug 1029387: Convert Bluedroid Socket's Connect method to asynchronous design, r=shuang 2014-07-10 15:10:26 +02:00
Thomas Zimmermann
d0f2a0813a Bug 1029387: Convert Bluedroid Socket's Listen method to asynchronous design, r=shuang 2014-07-10 15:10:13 +02:00
Thomas Zimmermann
f600d9127f Bug 1029387: Add result handler for Bluetooth Socket interface, r=shuang 2014-07-10 15:09:44 +02:00
Carsten "Tomcat" Book
ae855b78b7 merge mozilla-inbound to mozilla-central a=merge 2014-07-10 14:47:01 +02:00
Jessica Jong
2a8450772b Bug 1030810 - fix logic in updateRILNetworkInterface(). r=edgar 2014-07-10 18:14:03 +08:00
Ben Tian
f29bc3ee1c Bug 1027504 - Implement BluetoothClassOfDevice, r=bz, r=echou 2014-07-10 14:42:10 +08:00
Vicamo Yang
32a827b499 Backed out changeset f54af6237ce9 (bug 1000040) for causing bug 1035172 2014-07-10 13:29:47 +08:00
Vicamo Yang
9ab07f78c0 Backed out changeset 78ba6f47a5a7 (bug 1000040) for causing bug 1035172 2014-07-10 13:28:51 +08:00
Vicamo Yang
e0b0ce7651 Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
Fabrice Desré
a177fba748 Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00