Commit Graph

23939 Commits

Author SHA1 Message Date
Marco Castelluccio
7469713bc4 Bug 967302 - Fix leak caused by the XUL alert shown at the end of an installation by mocking the alerts service. r=myk 2014-07-12 02:59:51 +02:00
Boris Zbarsky
13b4ac0823 Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley 2014-07-11 19:32:46 -04:00
Boris Zbarsky
296f475579 Bug 832014 part 7. Fix Xray support for unforgeable methods. r=peterv 2014-07-11 19:32:16 -04:00
Boris Zbarsky
7769b8f593 Bug 832014 part 6. Make it possible to specify that only a particular interface that implements a given consequential interface gets cross-origin-settable behavior for a particular property. r=bholley 2014-07-11 19:32:14 -04:00
Boris Zbarsky
5de410d5a0 Bug 832014 part 5. Add WebIDL API to nsLocation. r=peterv,bholley 2014-07-11 19:31:46 -04:00
Boris Zbarsky
d04696eb6f Bug 832014 part 4. Make the URLUtils APIs able to throw, since Location needs to be able to do that so far. r=peterv 2014-07-11 19:30:27 -04:00
Boris Zbarsky
d88c077ec5 Bug 832014 part 3. Start using nsLocation for the Location interface in bindings. r=peterv 2014-07-11 19:30:27 -04:00
Boris Zbarsky
11d5cdb1c8 Bug 832014 part 2. Add codegen support for [Unforgeable] interfaces. r=peterv 2014-07-11 19:30:27 -04:00
Boris Zbarsky
2c178b67e0 Bug 832014 part 1. Add parser support for an [Unforgeable] annotation on WebIDL interfaces. r=peterv 2014-07-11 19:30:26 -04:00
Jeff Gilbert
f55a1f1612 Bug 1037147 - Purge EOL whitespace again. - r=mattwoodrow 2014-07-11 15:41:41 -07:00
Jeff Gilbert
2bcd725268 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Nikhil Marathe
9e3ee145e5 Bug 984048 - Patch 6 - Scope ordering and utility functions. r=ehsan,khuey
Added r=khuey via IRC to validate webidl DOM peer check.

--HG--
extra : rebase_source : 0aa1a6bcdc0f2ec8c5cd8af44d39afb62b1d4abf
2014-07-11 11:52:19 -07:00
Shashank Sabniveesu
4cd2d5a8ce Bug 1034910 - Make the dtor of nsJSArgArray protected. r=smaug 2014-07-11 13:19:00 -04:00
Jeff Gilbert
6facc4613e Bug 1037147 - Purge EOL whitespace. - r=mattwoodrow 2014-07-11 13:50:23 -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