Commit Graph

24878 Commits

Author SHA1 Message Date
Ryan VanderMeulen
e19d99af2b Merge inbound to m-c. a=merge 2014-08-16 17:42:29 -04:00
Ryan VanderMeulen
ed05c1f078 Merge m-c to b2g-inbound. a=merge 2014-08-15 17:06:19 -04:00
Ryan VanderMeulen
24a88dd7d4 Merge b2g-inbound to m-c. a=merge 2014-08-15 17:03:00 -04:00
Ryan VanderMeulen
89a7f707c8 Merge fx-team to m-c. a=merge 2014-08-15 16:22:55 -04:00
Jed Davis
d419b12871 Bug 1009995 - Require seccomp-bpf on B2G devices based on Android >= KitKat. r=mwu r=kang 2014-08-15 11:56:28 -07:00
Ed Morley
88acc3bbf6 Merge mozilla-central and fx-team 2014-08-15 17:37:16 +01:00
Ed Morley
451be40554 Merge mozilla-central and b2g-inbound 2014-08-15 17:35:28 +01:00
Ed Morley
000d251175 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-15 16:54:17 +01:00
Thomas Zimmermann
6d48625e03 Bug 1050126: Convert Bluedroid status codes and error handlers (under bluetooth2/), r=btian
This patch converts Bluedroid status codes in Gecko to the
backend-neutral data type |BluetoothStatus|. All error handlers
have been adapted. The Bluedroid type |bt_status_t| only remains
in |BluetoothInterface|.
2014-08-15 13:41:19 +02:00
Thomas Zimmermann
2df1175640 Bug 1050126: Convert Bluetooth AVRCP data types in |BluetoothAvrcpInterface| (under bluetooth2/), r=btian
With this patch |BluetoothAvrcpInterface| is responsible for converting all
Bluetooth data types to Bluedroid types. All callers have been adapted.
2014-08-15 13:41:19 +02:00
Thomas Zimmermann
f5815c691d Bug 1050126: Convert Bluetooth A2DP data types in |BluetoothA2dpInterface| (under bluetooth2/), r=btian
With this patch |BluetoothA2dpInterface| is responsible for converting all
Bluetooth data types to Bluedroid types. All callers have been adapted.
2014-08-15 13:41:19 +02:00
Thomas Zimmermann
95f487bc6c Bug 1050126: Convert Bluetooth Handsfree data types in |BluetoothHandsfreeInterface| (under bluetooth2/), r=btian
With this patch |BluetoothHandsfreeInterface| is responsible for converting all
Bluetooth data types to Bluedroid types. All callers have been adapted.
2014-08-15 13:41:19 +02:00
Thomas Zimmermann
5318420588 Bug 1050126: Convert Bluetooth Socket data types in |BluetoothSocketInterface| (under bluetooth2/), r=btian
With this patch |BluetoothSocketInterface| is responsible for converting all
Bluetooth data types to Bluedroid types. All callers have been adapted.
2014-08-15 13:41:18 +02:00
Thomas Zimmermann
b39228ca25 Bug 1050126: Convert Bluetooth data types in |BluetoothInterface| (under bluetooth2/), r=btian
With this patch, |BluetoothInterface| is responsible for converting
all Bluetooth data types to Bluedroid types. All callers have been
adapted.
2014-08-15 13:41:18 +02:00
Yoshi Huang
5abc967016 Bug 1053116 - Part 2: add error code in NfcGonkMessages.h. r=dimi 2014-08-15 10:04:51 +08:00
Yoshi Huang
5806e79929 Bug 1053116 - Part 1: update error code in nfc_consts.js. r=dimi 2014-08-15 10:02:01 +08:00
Kan-Ru Chen (陳侃如)
36b5f683ed Bug 1050899 - Check mAGpsRilInterface before use. r=dougt 2014-08-15 04:24:00 -04:00
Jan-Ivar Bruaroey
f8abb7024d Bug 1032835 - add/removeStream now implemented with addTrack/removeTrack. r=jesup, r=smaug 2014-08-15 14:53:14 -04:00
Jan-Ivar Bruaroey
1b4362a12e Bug 1032835 - Rubberstamp RTCRtpSender, RTCRtpReceiver + MediaStreamTrackEvent. r=smaug 2014-08-13 21:41:08 -04:00
Jan-Ivar Bruaroey
338e5bc1d2 Bug 1032835 - addTrack/removeTrack on-top of existing implementation. r=smaug, r=jesup 2014-08-13 21:40:54 -04:00
Jan-Ivar Bruaroey
de17fec1b0 Bug 1032835 - RTCRtpSender webidl. r=smaug 2014-08-13 21:40:41 -04:00
Alex Bardas
ca6a5202d0 Bug 1034679 - Add isEnabledStateLocked property to visually disable plug-ins with locked states in Add-ons Manager. r=bsmedberg 2014-08-14 10:57:00 -04:00
Jim Blandy
d934112710 Bug 971673: Ensure mozilla::dom::ScriptSettingsStackEntry is only used as a base class: make its constructor protected. r=bholley 2014-08-14 16:23:15 -07:00
Ryan VanderMeulen
4892c12aa0 Merge inbound to m-c. a=merge 2014-08-14 16:21:22 -04:00
Ed Morley
8e433ac98d Backed out changeset 52fc270e59ad (bug 1051754) for intermittent test failures 2014-08-14 17:40:04 +01:00
David Keeler
843f8bbee8 bug 1030963 - remove non-standard window.crypto functions/properties r=jst r=briansmith r=glandium 2014-08-14 09:38:42 -07:00
Thomas Zimmermann
fae10bf968 Bug 1048915: Cleanup |BluetoothServiceBluedroid| and related functions, r=shuang
This patch removes unsued code from |BluetoothServiceBluedroid|, related
functions, and cleans up the file. It

 * removes callbacks,
 * removes callback helper tasks,
 * removes helper functions, and
 * cleans up global variables.
2014-08-14 18:12:52 +02:00
Thomas Zimmermann
8547aeba35 Bug 1048915: Integrate helper runnables into notification methods, r=shuang
Bluedroid callbacks were usually called on a separate thread that
was specific to this task. So Gecko's Bluetooth Core contained a
number of runnables for executing callback operations on the main
thread.

Since all notifications always run on the main thread, the extra
runnables are not required any longer. This patch integrates them
into the notification methods where possible.
2014-08-14 18:12:52 +02:00
Thomas Zimmermann
6131bf3961 Bug 1048915: Use Bluetooth Core notifications, r=shuang
This patch connects backend and Gecko side of the notification
code. Gecko will now receive notifications instead of Bluedroid
callbacks.
2014-08-14 18:12:52 +02:00
Thomas Zimmermann
4c463fc757 Bug 1048915: Implement Bluetooth Core notifications, r=shuang
This patch adds the Gecko-side of the Core notifications. The current
implementation of the notification methods has been copied from the
repsective Bluedroid callback methods, with only minor changes to adapt
them to Gecko data types.
2014-08-14 18:12:51 +02:00
Thomas Zimmermann
77156aef84 Bug 1048915: Add Bluetooth Core notifications, r=shuang
A notification is a callback from the Bluetooth backend to inform
Gecko about a event. Bluedroid uses function pointers for this, but
in Gecko we use method calls instead.

Gecko implements notification handlers for the Bluetooth backend. The
backend converts incomming events to Gecko types and forwards them to
the registered notification handler.
2014-08-14 18:12:51 +02:00
Thomas Zimmermann
3a1603152f Bug 1048915: Add infrastructure for Bluetooth notifications, r=shuang
This patch adds some runnable classes for running class methods on
the main thread. This is the base of the upcomming notification
mechanism for Bluetooth.
2014-08-14 18:12:51 +02:00
Tyler Smith
1733611a3b Bug 1048595 Provide valid default ServiceWorker.state value to avoid crashing. r=bkelly 2014-08-14 11:35:21 -04:00
Szu-Yu Chen [:aknow]
8552ad7429 Bug 1053094 - Part 2: Fix. r=hsinyi 2014-08-14 03:55:00 -04:00
Szu-Yu Chen [:aknow]
ac80a4bb97 Bug 1053094 - Part 1: Add test case. r=hsinyi 2014-08-14 03:55:00 -04:00
Morris Tseng
06f4fdde96 Bug 1052246 - Send correct rect information for selectionchange event. r=fabrice 2014-08-13 19:29:00 -04:00
Shawn Ku
bb0ede414b Bug 1046649 - Part 2: Test patch - B2G RIL: Need to handle wild char for EF_OPL. r=Edgar 2014-08-13 16:54:55 +08:00
Shawn Ku
db2cef7220 Bug 1046649 - Part 1: RIL patch - B2G RIL: Need to handle wild char for EF_OPL. v3. r=Edgar 2014-08-13 17:00:52 +08:00
Ed Morley
1135c32aec Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-14 08:42:29 +01:00
Jamin Liu
22c8f01856 Bug 1043180 - Write a marionette test for Bluetooth pairing based on Bluetooth API v2. r=btian 2014-08-14 11:34:22 +08:00
Jamin Liu
a722811aa2 Bug 1036234 - Fix the follow-up errors from implementation of pairing event handlers. r=btian 2014-08-14 11:34:10 +08:00
Ryan VanderMeulen
11585b0a0d Merge m-c to fx-team. a=merge 2014-08-13 15:32:14 -04:00
Ryan VanderMeulen
a746fa8cec Merge inbound to m-c. a=merge 2014-08-13 15:30:49 -04:00
Ed Morley
12beb129a1 Merge mozilla-central and b2g-inbound 2014-08-13 17:02:34 +01:00
Ed Morley
9992f03145 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-13 16:28:32 +01:00
Makoto Kato
92149f5d45 Backed out changeset 5b8f52a76065 (bug 1050660) due to mochitest-2 failure on Linux 2014-08-13 16:33:37 +09:00
Andrea Marchesini
98f8480b4f Bug 1046240 - Expose the principal for a blob URI for chrome-only js code. r=smaug 2014-08-13 08:29:00 -04:00
Brian Birtles
51fed648c3 Bug 1052147 - Initialize AnimationPlayer::mPlayState to running state; r=dbaron
The assertion in nsTimeStamp::operator >= occasionally fails due to a null RHS
timestamp when called from AnimationPlayer::GetCurrentTimeDuration, which, in
turn, is called from AnimationPlayer::SetSource.

The issue appears to be that we're not correctly initializing
AnimationPlayer.mPlayState. This value can be running (0) or paused (1) but we
only ever compare against the paused state (i.e. every other value is
effectively treated as running). If we don't initialize this we can end
up in the paused state but with mPauseStart not set to a valid (non-null)
TimeStamp. This creates an inconsistent state since we assume that when we're
paused mPauseStart is non-null, hence the assertion fails.

This gets tickled because, since bug 1040543, we call
AnimationPlayer::SetSource from nsAnimationManager::BuildAnimations *before* we
set mPlayState and mPauseStart.

This patch initializes mPlayState to the running state so we don't accidentally
end up in an inconsistent state.

It also removes some (now unnecessary) initialization of mPlayState and
mPauseStart from nsTransitionManager::ConsiderStartingTransition.

In future we could also consider reworking nsAnimationManager::BuildAnimations
so that we call SetSource on the new animation player *after* setting up its
play state. That may be more correct and would further avoid this problem but
may not be necessary since all that code is likely to change in the near future.
2014-08-13 18:21:45 +09:00
Jon Coppeard
a4a71fde44 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Alexandre Lissy
8fad0a23c3 Bug 1052435 - Fix handling of Notification with tag. r=mhenretty
This commit fixes two bugs. When sending two notifications with the same
tag, the NotificationDB this.byTag member was not properly updated. This
resulted in multiple notifications with the same tag being saved.
NotificationStorage's cache may hide this during the running session,
but on B2G the resend of notifications at reboot would expose the issue.
The second bug fixed is the test that makes sure we properly overwrite
notifications with the same tag in the database: the way we handled fake
notification object made them sharing the same ID. This, NotificationDB
would not even consider the tags and this lead to hiding the bug.
2014-08-12 10:15:00 -04:00