Jed Davis
9668366e41
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
ce398ca5f7
Merge mozilla-central and fx-team
2014-08-15 17:37:16 +01:00
Ed Morley
c3b038504e
Merge mozilla-central and b2g-inbound
2014-08-15 17:35:28 +01:00
Ed Morley
de4909b31e
Merge latest green b2g-inbound changeset and mozilla-central; a=merge
2014-08-15 16:54:17 +01:00
Thomas Zimmermann
c56444abee
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
9b9c948379
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
5f4708b49c
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
f1e6d82238
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
14cb6b6d80
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
5f96d43a86
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
989e862d77
Bug 1053116 - Part 2: add error code in NfcGonkMessages.h. r=dimi
2014-08-15 10:04:51 +08:00
Yoshi Huang
b6f73abed2
Bug 1053116 - Part 1: update error code in nfc_consts.js. r=dimi
2014-08-15 10:02:01 +08:00
Kan-Ru Chen (陳侃如)
c9a73bec1b
Bug 1050899 - Check mAGpsRilInterface before use. r=dougt
2014-08-15 04:24:00 -04:00
Jan-Ivar Bruaroey
20328fdf5c
Bug 1032835 - add/removeStream now implemented with addTrack/removeTrack. r=jesup, r=smaug
2014-08-15 14:53:14 -04:00
Jan-Ivar Bruaroey
107644c479
Bug 1032835 - Rubberstamp RTCRtpSender, RTCRtpReceiver + MediaStreamTrackEvent. r=smaug
2014-08-13 21:41:08 -04:00
Jan-Ivar Bruaroey
2114490617
Bug 1032835 - addTrack/removeTrack on-top of existing implementation. r=smaug, r=jesup
2014-08-13 21:40:54 -04:00
Jan-Ivar Bruaroey
a95040d7a7
Bug 1032835 - RTCRtpSender webidl. r=smaug
2014-08-13 21:40:41 -04:00
Alex Bardas
6745fc4468
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
bb0be928e2
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
24ed74b928
Merge inbound to m-c. a=merge
2014-08-14 16:21:22 -04:00
Ed Morley
0fb6b8b108
Backed out changeset 52fc270e59ad (bug 1051754) for intermittent test failures
2014-08-14 17:40:04 +01:00
David Keeler
c3d3df58ac
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
a8923d9842
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
f35e085ae0
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
2de87404d4
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
07a5bcae48
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
8c646f172a
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
0a4d66a5de
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
64710462f9
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]
fd3f549c01
Bug 1053094 - Part 2: Fix. r=hsinyi
2014-08-14 03:55:00 -04:00
Szu-Yu Chen [:aknow]
561c154d72
Bug 1053094 - Part 1: Add test case. r=hsinyi
2014-08-14 03:55:00 -04:00
Morris Tseng
d90f09a6ba
Bug 1052246 - Send correct rect information for selectionchange event. r=fabrice
2014-08-13 19:29:00 -04:00
Shawn Ku
adf1456eba
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
2e223b483c
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
2965fe2044
Merge latest green b2g-inbound changeset and mozilla-central; a=merge
2014-08-14 08:42:29 +01:00
Jamin Liu
901c96a3e9
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
94c4c21f5e
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
8543ea8030
Merge m-c to fx-team. a=merge
2014-08-13 15:32:14 -04:00
Ryan VanderMeulen
31e9e10d15
Merge inbound to m-c. a=merge
2014-08-13 15:30:49 -04:00
Ed Morley
67f25a6916
Merge mozilla-central and b2g-inbound
2014-08-13 17:02:34 +01:00
Ed Morley
dd0d3fcfab
Merge latest green b2g-inbound changeset and mozilla-central; a=merge
2014-08-13 16:28:32 +01:00
Makoto Kato
082e3849a8
Backed out changeset 5b8f52a76065 (bug 1050660) due to mochitest-2 failure on Linux
2014-08-13 16:33:37 +09:00
Andrea Marchesini
6aa8d79e5d
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
c9b30cafe3
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
511f6ef1c5
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Alexandre Lissy
7e0efa5c2e
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
Szu-Yu Chen [:aknow]
f5b19b0ff2
Bug 1051715 - Part 2: Also pass number in notifyDialSuccess. r=hsinyi
2014-08-12 23:51:00 -04:00
Szu-Yu Chen [:aknow]
3a863e7e98
Bug 1051715 - Part 1: Add temporary clir test. r=hsinyi
2014-08-12 23:50:00 -04:00
Makoto Kato
9031089463
Bug 1050660 - setInputMethodActive doesn't sometimes work when switching IME imminently after boot. r=fabrice
2014-08-12 11:50:30 +09:00
Garner Lee
1bf030cd76
Bug 1050577: [NFC] Techlost not clearing peer appId correctly. r=allstars.chh
2014-08-11 16:03:35 -07:00
Ryan VanderMeulen
d5a4ba923d
Merge inbound to m-c. a=merge
2014-08-12 16:24:50 -04:00
Ed Morley
2466a862dc
Merge mozilla-central and b2g-inbound
2014-08-12 17:54:47 +01:00
Reuben Morais
b142a9ea8a
Bug 1009645 - Follow up, disable mozTime test.
2014-08-12 13:50:12 -03:00
Ed Morley
05976976d9
Merge latest green b2g-inbound changeset and mozilla-central; a=merge
2014-08-12 17:05:36 +01:00
Yoshi Huang
452b319d48
Bug 1052311 - B2G NFC: remove warnings from Nfc.js and NfcContentHelper.js. r=dimi
2014-08-12 17:04:51 +08:00
Jamin Liu
55bbcf1752
Bug 1036234 - Implement pairing event handlers of BluetoothAdapter. r=btian, r=mrbkap
...
- EventHandler ondevicepaired;
- EventHandler ondeviceunpaired;
2014-08-12 16:30:42 +08:00
Jamin Liu
97fec21571
Bug 1036233 - Implement pairing methods of Bluetooth API v2. r=btian, r=mrbkap
...
- Promise<void> pair(DOMString aAddress)
- Promise<void> unpair(DOMString aAddress)
- sequence<BluetoothDevice> getPairedDevices()
2014-08-12 16:30:36 +08:00
Jamin Liu
259c8a71b4
Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian
2014-08-12 16:30:26 +08:00
Nigel Babu
9bb67b6622
Merge m-c to m-i
2014-08-12 12:20:36 +05:30
Alphan Chen
13bbad36f9
Bug 1050720 - [DeviceStorage] Avoid to send the same status in two continuous storage-state-change event. r=dhylands
2014-08-11 23:31:00 -04:00
Nigel Babu
7f86114f33
Backed out changeset 2d0ebc1bc7d6 (bug 1036233) for build bustage ON A CLOSED TREE
2014-08-12 09:00:30 +05:30
Nigel Babu
b241b4cbb6
Backed out changeset c5d50f1bc995 (bug 1036233) for build bustage ON A CLOSED TREE
2014-08-12 09:00:20 +05:30
Nigel Babu
7e1903b51c
Backed out changeset a471c7c73409 (bug 1036234) for build bustage on A CLOSED TREE
2014-08-12 09:00:08 +05:30
Jamin Liu
c87d6c4079
Bug 1036234 - Implement pairing event handlers of BluetoothAdapter. r=btian, r=mrbkap
...
- EventHandler ondevicepaired;
- EventHandler ondeviceunpaired;
2014-08-12 10:49:59 +08:00
Jamin Liu
c435cb1254
Bug 1036233 - Implement pairing methods of Bluetooth API v2. r=btian, r=mrbkap
...
- Promise<void> pair(DOMString aAddress)
- Promise<void> unpair(DOMString aAddress)
- sequence<BluetoothDevice> getPairedDevices()
2014-08-12 10:49:53 +08:00
Jamin Liu
6ddcdd1ef6
Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian
2014-08-12 10:49:43 +08:00
Bobby Holley
25f875bfcb
Bug 1050049 - Implement bindToUntrustedContent attribute restriction. r=smaug
2014-08-11 20:06:55 -07:00
Bobby Holley
af0cdef94f
Bug 1050049 - Whitelist bindings that we actually expect to use in content. r=smaug
2014-08-11 20:06:55 -07:00
Benoit Jacob
a16820eb73
Bug 777574 - Skip all quickCheckAPI tests on all linux/android/emulator slaves - r=kamidphish
2014-08-11 22:57:16 -04:00
Wes Kocher
74f33f69bf
Backed out changeset 49086e9caa4e (bug 1051114) for making Gaia-unit tests timeout on a CLOSED TREE
2014-08-11 15:27:58 -07:00
Yoshi Huang
5bd325bbab
Bug 1051754 - B2G NFC: Add marionette test for peer.sendFile. r=dimi
...
From 3cfb06874b6e838ad76e1817c7b69df81e0f802b Mon Sep 17 00:00:00 2001
---
dom/nfc/tests/marionette/head.js | 20 +++++++--
dom/nfc/tests/marionette/manifest.ini | 1 +
dom/nfc/tests/marionette/test_nfc_peer_sendFile.js | 49 ++++++++++++++++++++++
3 files changed, 67 insertions(+), 3 deletions(-)
create mode 100644 dom/nfc/tests/marionette/test_nfc_peer_sendFile.js
2014-08-11 18:26:52 +08:00
Fabrice Desré
d183009acd
Bug 1051114 - 400 MozInterAppMessagePort registered on frame message manager r=bent
2014-08-11 10:37:09 -07:00
Yoshi Huang
bc8ecbc00b
Bug 1046554 - Part 2: update marionette tests. r=dimi
...
From d7dafea4dcff00edbe40ee0880ca71b804893622 Mon Sep 17 00:00:00 2001
---
.../tests/marionette/test_nfc_error_messages.js | 43 +---------------------
dom/nfc/tests/marionette/test_nfc_peer.js | 20 ++++++++--
2 files changed, 17 insertions(+), 46 deletions(-)
2014-08-11 17:03:52 +08:00
Szu-Yu Chen [:aknow]
954f5f2638
Bug 1050696 - Refactor TelephonyService.dial. r=hsinyi
2014-08-11 02:48:00 -04:00
Martijn Wargers
4d71b5379f
Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce
2014-08-10 20:03:50 -07:00
Ed Morley
62b7aa6b87
Merge mozilla-central and inbound
2014-08-12 17:56:08 +01:00
Ryan VanderMeulen
3ea3cf2a2f
Backed out changeset 3200ed3305db (bug 1014023) for causing bug 1051164.
2014-08-12 12:44:09 -04:00
Morris Tseng
c1a76e5f84
Bug 1020802 - Pass collapsed and reason information to selectionchange event. r=ehsan, sr=smaug
2014-08-10 20:37:00 -04:00
Kershaw Chang
fe70832590
Bug 1020204 - Allow creating nested oop MozApp iframe. r=khuey, r=kanru
2014-08-13 02:18:00 -04:00
Bobby Holley
a87c8777d9
Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm
2014-08-18 10:57:30 -07:00
Bobby Holley
eaebf58731
Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
...
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Robert O'Callahan
150ec76871
Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
...
--HG--
extra : rebase_source : 04249e9b22a62b8f2952515fa48f4ba3227e235e
2014-08-06 17:19:29 +12:00
Robert O'Callahan
0a6d04586e
Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
...
The forward declaration of Selection in nsCaret.h will be used in later patches.
--HG--
extra : rebase_source : d1b749adac983c04d3365bb6bfb76a50101beeb5
2014-08-06 17:19:27 +12:00
Robert O'Callahan
2489dc1f01
Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
...
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Robert O'Callahan
b4ed20d441
Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
...
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.
--HG--
extra : rebase_source : b7730dac56b308a82b79b175749234c9a92b6f59
2014-08-06 17:19:26 +12:00
Robert O'Callahan
b8bd1730f3
Bug 1048752. Part 9: Remove nsCaret.h from nsDisplayList.h. r=tn
...
I got tired of slow build turnarounds every time I modified nsCaret.h.
--HG--
extra : rebase_source : 0c4598c4881ab8de0a636b08c70fb801bb912247
2014-08-06 17:19:25 +12:00
Bill McCloskey
55952e99b7
Bug 950745 - Back out assertions that are triggering too often
2014-08-15 16:16:42 -07:00
Catalin Badea
53911e168c
Bug 853995 - Move plugin parameters array from nsPluginInstanceOwner to content. r=johns,jst
2014-08-15 14:24:40 -07:00
Henry Chang
c7b5f2831b
Bug 1037380 - Add system message broadcast filter. r=fabrice
2014-08-06 10:58:22 +08:00
Jan Jongboom
854280cee5
Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl
2014-08-13 02:12:00 -04:00
Chris Lord
db6f22f3fd
Bug 1051513 - Fix update of webapp activity registration. r=fabrice
...
Remove all old activities for a given manifest before re-registering new ones.
2014-08-11 23:21:44 +01:00
Wes Kocher
589ed1e76a
Merge m-c to inbound
2014-08-11 16:19:27 -07:00
Wes Kocher
1b1fc072d1
Backed out 4 changesets (bug 1032878) for probably introducing a leak, creating a CLOSED TREE
...
Backed out changeset 780c948d79f3 (bug 1032878)
Backed out changeset 0cfcc44660a8 (bug 1032878)
Backed out changeset 991f8d5da382 (bug 1032878)
Backed out changeset f54984be223e (bug 1032878)
2014-08-11 14:27:57 -07:00
Ryan VanderMeulen
7f18942028
Merge inbound to m-c. a=merge
2014-08-11 16:10:07 -04:00
Szu-Yu Chen [:aknow]
0398625a7a
Bug 1051663 - Correct |this| in REQUEST_DIAL_EMERGENCY_CALL. r=hsinyi
2014-08-11 02:37:00 -04:00
Evelyn Hung
eb53373ae5
Bug 1044960 - Remove unnecessary lines from TabChild.cpp. r=kats
2014-08-07 22:10:00 -04:00
Dimi Lee
21d9d46259
Bug 936367 - Support wifi hotspot enable API. r=vchang, r=ptheriault, sr=mrbkap
2014-08-11 17:13:25 +08:00
Yoshi Huang
d7be850c3f
Bug 1051738 - B2G NFC: typo in getNFCPeer. r=dimi
...
From bea6af520beedcc4547ce5c45c4d78faa63d5812 Mon Sep 17 00:00:00 2001
---
dom/nfc/nsNfc.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2014-08-11 17:19:11 +08:00
Yoshi Huang
74cd064ae6
Bug 1049351 - [NFC] fix testPeerShouldThrow. r=dimi
2014-08-11 15:45:35 +08:00
Valentin Gosu
63ecb5dd80
Bug 1051109 - Define non-static method to jsonify interface attributes r=smaug
2014-08-11 01:17:50 +03:00