Commit Graph

25223 Commits

Author SHA1 Message Date
Thomas Zimmermann
b062bfbcd8 Bug 1050174: Use |SocketIOBase| for Bluetooth sockets (under bluetooth2/), r=btian 2014-08-21 09:30:36 +02:00
Thomas Zimmermann
3b9a504579 Bug 1050174: Use |SocketIODeleteInstanceRunnable| for Bluetooth sockets (under bluetooth2/), r=btian 2014-08-21 09:30:36 +02:00
Thomas Zimmermann
831c114c1a Bug 1050174: Use |SocketIORequestClosingRunnable| for Bluetooth sockets (under bluetooth2/), r=btian 2014-08-21 09:30:36 +02:00
Thomas Zimmermann
8f4db76357 Bug 1050174: Use |SocketIOReceiveRunnable| for Bluetooth sockets (under bluetooth2/), r=btian 2014-08-21 09:30:35 +02:00
Thomas Zimmermann
5561039241 Bug 1050174: Use |SocketIOEventRunnable| for Bluetooth sockets (under bluetooth2/), r=btian 2014-08-21 09:30:35 +02:00
Thomas Zimmermann
c60f953c36 Bug 1050174: Use |SocketIORunnable| for Bluetooth sockets (under bluetooth2/), r=btian 2014-08-21 09:30:35 +02:00
Thomas Zimmermann
9de3c49579 Bug 1050174: Use |SocketConsumerBase| for Bluetooth sockets (under bluetooth2/), r=btian 2014-08-21 09:30:34 +02:00
Thomas Zimmermann
6052069472 Bug 1050174: Cleanup fields in |DroidSocketImpl| (under bluetooth2/), r=btian
|DroidSocketImpl| contains several unused fields that are removed
by this patch.
2014-08-21 09:30:34 +02:00
Nicholas Nethercote
a9a9475ae5 Bug 1051106 - Remove a useless waitForScan() call. r=vchang.
--HG--
extra : rebase_source : fab1721336cd1c9878b7f8259524d73ea9fcebfe
2014-08-20 18:36:59 -07:00
Shian-Yow Wu
9fdf0f930e Bug 1048615 - Test case for multiple simultaneous access. r=fabrice 2014-08-21 19:09:37 +08:00
Kyle Machulis
af669c16de Backing out b5d49f1885af as it wasn't properly backed out in 0611006cc095
--HG--
extra : rebase_source : 22687deeeee7abd76e424b21bec8fc59fb6f7515
2014-08-20 13:37:55 -07:00
Ryan VanderMeulen
0f481d49c0 Merge m-c to b2g-inbound. a=merge 2014-08-20 16:21:52 -04:00
Ryan VanderMeulen
aff546e81b Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
Fabrice Desré
8453feb8d7 Bug 1056226 - "Unrecoverable" app uninstall does not send manifest information to uninstall event r=marco 2014-08-20 12:27:32 -07:00
Kyle Machulis
c3c4d72110 Backed out d71120161e89 b5d49f1885af (bug 846200) due to missing xpc shell test fix patch 2014-08-20 12:01:18 -07:00
Kyle Machulis
d00fe363a5 Bug 846200 - Update mochitests to use new settings-api permissions 2014-08-20 10:40:40 -07:00
Kyle Machulis
13feac6197 Bug 846200 - Support for granting settings permissions on a per-permission basis 2014-08-20 10:40:37 -07:00
Reuben Morais
024269fa85 Bug 1040333 - Set principal flags in WorkerPrivateParent ctor. r=khuey 2014-08-20 14:34:14 -03:00
Patrick Wang (Chih-Kai Wang)
eb7c004181 Bug 1040017: Prevent SetOffLineStatus from being sent to Nuwa after loading. r=khuey 2014-08-21 13:32:57 +08:00
Dave Hylands
431ebf4702 Bug 1049240 - Integrate MTP with the AutoMounter. r=echou 2014-08-19 13:41:35 -07:00
Ed Morley
b3374017d7 Merge mozilla-central and b2g-inbound 2014-08-20 15:19:45 +01:00
Ed Morley
cd48fd4080 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-20 14:46:55 +01:00
John Daggett
d7cf8f6fad Bug 975744 - remove font features pref and enable features by default. r=dbaron 2014-08-20 16:54:35 +09:00
John Daggett
c26dc7ba92 Bug 1041951 - fix SMIL tests that create a psuedo computed style for shorthands. r=birtles
The 'font-variant' property is now a shorthand, so the set of longhand values affected is different from before. Switch the test to set the longhand property for the 'small-caps' value.
2014-08-20 16:54:29 +09:00
Nigel Babu
bd0fa8ed01 Backed out changeset 19e59c14b0aa (bug 1049240) for xpshell bustage 2014-08-20 12:19:36 +05:30
Kyle Machulis
d2b1bea742 Backed out 82bed38ff50a (bug 900551, bug 1015518, bug 846200) due to marionette webapi test bustage on ICS Emulator 2014-08-19 22:33:36 -07:00
Kyle Machulis
8c60f9e888 Backed out c4c490f3b301, previous backout of bug 900551, bug 1011518, bug 846200, now fixed by bug 1055898 (51afb4de4a25) 2014-08-19 21:05:50 -07:00
Randy Lin
db8f872063 Bug 1054219 - [B2G][SpeakerManager] Avoid to create unnecessary speakerManager instance on child process. r=baku 2014-08-20 10:25:55 +08:00
Wes Kocher
83f87af771 Merge m-c to inbound a=merge 2014-08-19 18:25:36 -07:00
Bobby Holley
13b281a967 Bug 1036214 - Tests. r=bz
This whole test setup comes from bug 923904, so some of the things it's testing
need to be rejiggered (like the checkGlobal stuff).
2014-08-19 18:12:15 -07:00
Bobby Holley
29c2f9eb29 Bug 1036214 - Do a subsumes check on object and any parameters (and things containing them) to JS-implemented WebIDL. r=bz 2014-08-19 18:12:15 -07:00
Wes Kocher
0ace7bebee Backed out 8 changesets (bug 1015518, bug 900551, bug 1011518, bug 846200) for build bustage
Backed out changeset 59eb7edaa6ed (bug 1015518)
Backed out changeset 04a531d5647e (bug 1011518)
Backed out changeset 9ac939654549 (bug 1011518)
Backed out changeset 2f707489d892 (bug 900551)
Backed out changeset f2a0a448e563 (bug 900551)
Backed out changeset f130f54ea09a (bug 900551)
Backed out changeset 9d38e8901847 (bug 846200)
Backed out changeset 744da032a2de (bug 846200)
2014-08-19 14:49:02 -07:00
Kyle Machulis
29d97824bc Bug 1015518 - Update users of settings observer message field to use boolean; r=gene 2014-08-19 13:43:58 -07:00
Kyle Machulis
246ce946d1 Bug 1011518 - Fix SettingsService mochitests; r=bent 2014-08-19 13:43:58 -07:00
Kyle Machulis
dd7bea9bd8 Bug 1011518 - Use SettingsRequestManager as SettingsService Backend; r=bent 2014-08-19 13:43:57 -07:00
Kyle Machulis
a9c701a17c Bug 900551 - Mochitests for settings permissions; r=bent r=ehsan 2014-08-19 13:43:57 -07:00
Kyle Machulis
8cfbe7560b Bug 900551 - Add new permission for wallpaper setting; r=bent 2014-08-19 13:43:57 -07:00
Kyle Machulis
30b7bb3dd8 Bug 900551 - Settings API OOP; r=bent 2014-08-19 13:43:57 -07:00
Kyle Machulis
a13cf722a1 Bug 846200 - Update mochitests to use new settings-api permissions; r=bent 2014-08-19 13:43:56 -07:00
Kyle Machulis
b15bd9a308 Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent 2014-08-19 13:43:56 -07:00
Dave Hylands
6d8b15c626 Bug 1049240 - Integrate MTP with the AutoMounter. r=echou
--HG--
extra : rebase_source : a4d8cd8413ef1ea7dddb57fed87c723a923ea0bf
2014-08-19 13:41:35 -07:00
Ryan VanderMeulen
7e4df53bec Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Ryan VanderMeulen
e4b5cf1d02 Merge m-c to inbound. a=merge 2014-08-19 16:25:33 -04:00
Botond Ballo
54aeea8833 Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Fabrice Desré
9b50f59ed0 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Ed Morley
3ca0a92b3f Merge mozilla-central and b2g-inbound 2014-08-19 15:19:13 +01:00
Lynn Tran
6f27f291a9 Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Ehsan Akhgari
5c813a7b0a Bug 1007778 - Add a devtools API to make some Web Audio nodes pass through their inputs; r=roc,smaug 2014-08-18 20:12:50 -04:00
Szu-Yu Chen [:aknow]
7c432865c8 Bug 1054909 - Don't pass number to Callback constructor. r=hsinyi 2014-08-18 19:26:00 -04:00
Andrew McCreight
2ee3816f99 Bug 1048659 - Return the union we construct in a JS callback. r=peterv 2014-08-19 08:41:26 -07:00
Juan Gomez
c33279c8d0 Bug 1054791 - [Flatfish][Build] Build failed in BluetoothInterface.cpp: 'bt_remote_version_t' does not name a type. r=tdz 2014-08-17 16:21:00 -04:00
Szu-Yu Chen [:aknow]
fda6b3a0e9 Bug 1053110 - Part 4: Move clir logic to TelephonyService. r=hsinyi 2014-08-19 00:24:00 -04:00
Szu-Yu Chen [:aknow]
a816f91cf4 Bug 1053110 - Part 3: Create a helper: sendToRilWorker. r=hsinyi 2014-08-19 00:23:00 -04:00
Szu-Yu Chen [:aknow]
13e233d061 Bug 1053110 - Part 2: Refactor MMI regex. r=hsinyi 2014-08-19 00:23:00 -04:00
Szu-Yu Chen [:aknow]
cc263900cb Bug 1053110 - Part 1: Add mmi code test. r=hsinyi 2014-08-19 00:23:00 -04:00
Chuck Lee
c5e9074414 Bug 1051660 - 0002. Test case for Wifi Enable API. r=hchang 2014-08-18 15:10:27 +08:00
Chuck Lee
22d8a08a1f Bug 1051660 - 0001. Fix minor bugs in API implementation. r=hchang 2014-08-18 15:10:24 +08:00
Junior Hsu
012e6ed0a7 Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-19 15:14:22 +01:00
Junior Hsu
7c8c44b873 Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-08-19 15:14:08 +01:00
Ed Morley
21ca5ad825 Backed out changeset 721eb8e94100 (bug 1014023) for exceptions during test_widget.html 2014-08-19 15:12:32 +01:00
Ed Morley
8265642165 Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
e5e3a2cfc3 Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Hsin-Yi Tsai
71e9c437e6 Bug 935843 - B2G RIL: Parse EF_IMG from SIM - part 4 - xpcshell stk. r=edgar 2014-08-12 18:05:38 +08:00
Hsin-Yi Tsai
8caf63b377 Bug 935843 - B2G RIL: Parse EF_IMG from SIM - part 3 - xpcshell IconLoader. r=edgar 2014-08-15 17:11:47 +08:00
Hsin-Yi Tsai
499a9cbc12 Bug 935843 - B2G RIL: Parse EF_IMG from SIM - part 2 - xpcshell SimRecordHelper. r=edgar 2014-08-13 19:09:21 +08:00
Hsin-Yi Tsai
61f96b11c8 Bug 935843 - B2G RIL: Parse EF_IMG from SIM - part 1 - impl. r=edgar, r=vicamo 2014-08-13 19:06:32 +08:00
Kyle Huey
8e9a0aaf0e Bug 1034312: Inherit from interfaces when using the NS_DECL_NSIFOO macros in b2g. r=vicamo 2014-08-19 18:01:49 -07:00
Ben Kelly
338425ad2e Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Bill McCloskey
8ddcf4f776 Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 18:14:56 -07:00
Wes Kocher
c5de0243e4 Merge m-c to inbound a=merge 2014-08-20 18:13:40 -07:00
Walter Litwinczyk
b01526fb1c Bug 974744 - WebGLFramebuffer.cpp add missing STENCIL_ATTACHMENT completeness check for textures. r=jgilbert 2014-08-19 13:24:39 -07:00
Robert Bindar
1cec21ddd4 Bug 899585 - Add custom data support in the Notification constructor r=baku 2014-08-20 17:56:12 -07:00
Wes Kocher
cb80e496c9 Backed out changeset 2a9cfbab0adc (bug 1053999) for Windows build bustage on a CLOSED TREE 2014-08-20 16:08:04 -07:00
Bill McCloskey
9c46f9c743 Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 15:16:07 -07:00
Daniel Holbert
8708496e3e Bug 1020661: Ignore GCC warning Wunused-local-typedefs inside of webrtc's scoped_ptr.h header. r=jesup 2014-08-20 14:56:12 -07:00
Ryan VanderMeulen
07c694a4e3 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Andrea Marchesini
a37c54985b Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Bobby Holley
b24fd449b2 Bug 796938 - Remove GetDynamicScriptContext API. r=smaug 2014-08-19 12:02:08 -07:00
Bobby Holley
f17ede2b28 Bug 796938 - Switch to GetEntryGlobal in nsLocation::SetHrefWithBase. r=smaug
We leave this flag on the script context for now - we can move it somewhere
else later.
2014-08-19 12:02:08 -07:00
Bobby Holley
7af3b3dc36 Bug 796938 - Use GetEntryGlobal in NS_ScriptErrorReporter. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
e6c4bb6512 Bug 796938 - Use GetEntryGlobal in nsGlobalWindow::FireAbuseEvents. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
90903eaf82 Bug 796938 - Remove GetDynamicScriptGlobal API. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
f60683ae91 Bug 796938 - Switch nsLocation::GetSourceBaseURL to GetEntryDocument. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
97a2a1660d Bug 796938 - Switch to GetEntryDocument in GetDocumentCharacterSetForURI. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
680df539fd Bug 796938 - Switch to GetEntryGlobal in GetCallerDocShellTreeItem. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
ff7633a000 Bug 796938 - Switch nsGlobalWindow::SecurityCheckURL to GetEntryGlobal. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
026f51f0d3 Bug 796938 - Switch nsHTMLDocument::Open and XMLDocument::Load to a new GetEntryDocument API and remove nsContentUtils::GetDocumentFromContext. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
e1824e5875 Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
a54113a4dd Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
759ee691ed Bug 951991 - Assert against calling GetCurrentInnerWindow on an inner. r=smaug
The current convention is that this returns null when invoked on an inner, which
callers may or may not handle correctly. But when we start using GetEntryGlobal,
we'll end up with a lot of inners where we used to get outers, so we should get
strict about this now.
2014-08-19 12:02:05 -07:00
Christoph Kerschbaumer
cd170f13e2 Bug 1045902: CSP - log warning and ignore 'reflected-xss' directive (r=grobinson)
--HG--
extra : rebase_source : 9625060894079debd9cee8bc50bdc3b3be1ee18f
2014-07-31 22:24:07 -07:00
Ms2ger
07eb3b86f4 Bug 1056138 - Move checks for the PutForwards and Replaceable extended attributes into the WebIDL parser; r=bz
In fact, the WebIDL parser already checks for PutForwards, so the check in the
codegen was superfluous.
2014-08-20 17:31:39 +02:00
Markus Stange
69cfc2463e Bug 1015721 - Add ZoomChangeUsingMouseWheel event. r=smaug 2014-08-20 17:12:02 +02:00
Ed Morley
af2fb00b20 Merge mozilla-central and inbound 2014-08-20 15:19:09 +01:00
Makoto Kato
f884ca58ad Bug 1050660 - Don't call removeChild immediately after calling setVisible. r=khuey 2014-08-20 20:25:44 +09:00
Makoto Kato
95e8a378bb Bug 1050660 - setInputMethodActive doesn't sometimes work when switching IME after boot. r=fabrice 2014-08-20 20:24:47 +09:00
Bill McCloskey
d114809709 Bug 1050604 - Get IPDL tests passing again (r=bent) 2014-08-20 12:49:11 -07:00
Bill McCloskey
113fe8bbe5 Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap) 2014-08-20 12:49:11 -07:00
Tim Taubert
8929f8a9f8 Bug 1050318 - Split WebCrypto tests into multiple files to prevent timeouts r=rbarnes 2014-08-19 10:52:58 +02:00
Henry Chang
05f3b3d57f Bug 1033983 - Bypass the UTF conversion of null char if it's not the last one. r=chucklee 2014-08-14 16:32:42 +08:00
Ed Morley
38fed2679e Backed out changeset a880d4e0d656 (bug 846200) for xpcshell failures in test_bug808734.js; CLOSED TREE 2014-08-19 09:17:30 +01:00
Ed Morley
00361d8963 Backed out changeset b01c7abafbdf (bug 846200) 2014-08-19 09:17:06 +01:00
Kyle Machulis
365f35e34d Bug 846200 - Update mochitests to use new settings-api permissions; r=bent 2014-08-18 22:06:59 -07:00
Kyle Machulis
53015f7363 Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent 2014-08-18 22:06:54 -07:00
Ryan VanderMeulen
2bcdc097d2 Merge inbound to m-c. a=merge 2014-08-18 16:04:28 -04:00
Chuck Lee
5b6428dc1c Bug 979739 - Fix netmask string format error and use netHelper. r=vchang 2014-08-13 15:30:01 +08:00
Yoshi Huang
4dd14686cc Bug 1054217 - Part 4: Refine Nfc.receiveMessage. r=dimi
From 68d1ccd5d2e0e0f85803e56741ae17ff89c4a2a7 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 61 ++++++++++++++++++++++++-----------------------------
 1 file changed, 28 insertions(+), 33 deletions(-)
2014-08-15 17:25:57 +08:00
Yoshi Huang
14f883c290 Bug 1054217 - part 3: rename setSessionToken to checkSessionToken. r=dimi 2014-08-18 17:43:28 +08:00
Yoshi Huang
4ae9af40e6 Bug 1054217 - part 2: remove targetsBySessionTokens. r=dimi
From 07ca796ae9e1d8f98d8282c2bc4f68046d311fde Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js        | 124 ++++++++++-----------------------------------
 dom/nfc/gonk/nfc_consts.js |   2 +
 2 files changed, 29 insertions(+), 97 deletions(-)
2014-08-15 16:29:55 +08:00
Yoshi Huang
07bcd191e0 Bug 1054217 - Part 1: Add onPeerLost in gMessageManager. r=dimi
From 1e81ab61d3ff409817415b5e8b610f77461836f8 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)
2014-08-15 11:31:52 +08:00
Yoshi Huang
0509d7fc28 Bug 1054119 - B2G NFC: Don't process data from nfcd if error. r=dimi 2014-08-13 18:12:27 +08:00
Nigel Babu
5c2d3b683b Backed out changeset 080926480632 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:59:01 +05:30
Nigel Babu
c36b2bc9b5 Backed out changeset b658d7efa3b4 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:58:50 +05:30
Vicamo Yang
f94ec624ff Bug 878533 - 2/2: fix test cases. r=gene, r=smaug 2014-08-18 10:34:16 +08:00
Vicamo Yang
8b38ef97d7 Bug 878533 - 1/2: move MozSmsFilter to webidl dictionary. r=smaug 2014-08-18 10:34:10 +08:00
Jim Mathies
b92f957421 Bug 874437 - Only enable ipc sync wait deferred Windows message handling for plugin protocols, everything else should use standard blocking waits. r=bsmedberg 2014-08-15 12:12:37 -05:00
Ryan VanderMeulen
20f7e61cab Merge inbound to m-c. a=merge 2014-08-16 17:42:29 -04:00
Ryan VanderMeulen
146f812875 Merge m-c to b2g-inbound. a=merge 2014-08-15 17:06:19 -04:00
Ryan VanderMeulen
c9bc17acd0 Merge b2g-inbound to m-c. a=merge 2014-08-15 17:03:00 -04:00
Ryan VanderMeulen
07b643af98 Merge fx-team to m-c. a=merge 2014-08-15 16:22:55 -04:00
Jed Davis
3802db48af 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
0dec77e52f Merge mozilla-central and fx-team 2014-08-15 17:37:16 +01:00
Ed Morley
a363946c09 Merge mozilla-central and b2g-inbound 2014-08-15 17:35:28 +01:00
Ed Morley
035a32e441 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-15 16:54:17 +01:00
Thomas Zimmermann
2beb2d299c 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
130fb0dc4d 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
3150db52c4 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
f845891a85 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
535397805b 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
3033b334e8 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
28a952bc1e Bug 1053116 - Part 2: add error code in NfcGonkMessages.h. r=dimi 2014-08-15 10:04:51 +08:00
Yoshi Huang
e1a9da9bc9 Bug 1053116 - Part 1: update error code in nfc_consts.js. r=dimi 2014-08-15 10:02:01 +08:00
Kan-Ru Chen (陳侃如)
9615e6d114 Bug 1050899 - Check mAGpsRilInterface before use. r=dougt 2014-08-15 04:24:00 -04:00
Jan-Ivar Bruaroey
7a4f9435fc Bug 1032835 - add/removeStream now implemented with addTrack/removeTrack. r=jesup, r=smaug 2014-08-15 14:53:14 -04:00
Jan-Ivar Bruaroey
b4a2d2fbf5 Bug 1032835 - Rubberstamp RTCRtpSender, RTCRtpReceiver + MediaStreamTrackEvent. r=smaug 2014-08-13 21:41:08 -04:00
Jan-Ivar Bruaroey
185c7d4bdd Bug 1032835 - addTrack/removeTrack on-top of existing implementation. r=smaug, r=jesup 2014-08-13 21:40:54 -04:00
Jan-Ivar Bruaroey
39849d0595 Bug 1032835 - RTCRtpSender webidl. r=smaug 2014-08-13 21:40:41 -04:00
Alex Bardas
9559077ebd 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
e0992b7ecd 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
d349e955cd Merge inbound to m-c. a=merge 2014-08-14 16:21:22 -04:00
Ed Morley
521f761cdc Backed out changeset 52fc270e59ad (bug 1051754) for intermittent test failures 2014-08-14 17:40:04 +01:00
David Keeler
e3f3105dab 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
7056e64501 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
2de21005cd 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
e21a2e0183 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
183d826644 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
9fd34d94f9 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
b5ad6a21b0 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
673ce3f5ba 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]
0a189a31af Bug 1053094 - Part 2: Fix. r=hsinyi 2014-08-14 03:55:00 -04:00
Szu-Yu Chen [:aknow]
f50416cdfd Bug 1053094 - Part 1: Add test case. r=hsinyi 2014-08-14 03:55:00 -04:00
Morris Tseng
5712807cf4 Bug 1052246 - Send correct rect information for selectionchange event. r=fabrice 2014-08-13 19:29:00 -04:00
Shawn Ku
8a6be5ba9a 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
7f3843e4bd 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
32c617d0c3 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-14 08:42:29 +01:00
Jamin Liu
927837ef0c 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
182368b8f5 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
ae3acc3246 Merge m-c to fx-team. a=merge 2014-08-13 15:32:14 -04:00
Ryan VanderMeulen
52289280cd Merge inbound to m-c. a=merge 2014-08-13 15:30:49 -04:00
Ed Morley
f54ca128fa Merge mozilla-central and b2g-inbound 2014-08-13 17:02:34 +01:00
Ed Morley
05e830e560 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-13 16:28:32 +01:00
Makoto Kato
3a99ae6318 Backed out changeset 5b8f52a76065 (bug 1050660) due to mochitest-2 failure on Linux 2014-08-13 16:33:37 +09:00
Andrea Marchesini
111bb0ee47 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
94984390c8 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
e0d8a1ab35 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Alexandre Lissy
c1a5a0ca0e 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]
ceb7d859cf Bug 1051715 - Part 2: Also pass number in notifyDialSuccess. r=hsinyi 2014-08-12 23:51:00 -04:00
Szu-Yu Chen [:aknow]
7fb6a60be9 Bug 1051715 - Part 1: Add temporary clir test. r=hsinyi 2014-08-12 23:50:00 -04:00
Makoto Kato
f711537c24 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
0a860d51b6 Bug 1050577: [NFC] Techlost not clearing peer appId correctly. r=allstars.chh 2014-08-11 16:03:35 -07:00
Ryan VanderMeulen
c232e68ef3 Merge inbound to m-c. a=merge 2014-08-12 16:24:50 -04:00
Ed Morley
0bd1cb7a32 Merge mozilla-central and b2g-inbound 2014-08-12 17:54:47 +01:00
Reuben Morais
10736f728a Bug 1009645 - Follow up, disable mozTime test. 2014-08-12 13:50:12 -03:00
Ed Morley
1129a8ed5e Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-12 17:05:36 +01:00
Yoshi Huang
1ac3575c20 Bug 1052311 - B2G NFC: remove warnings from Nfc.js and NfcContentHelper.js. r=dimi 2014-08-12 17:04:51 +08:00
Jamin Liu
ce6e38e6ed 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
5d07e5487b 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
9699a70dd0 Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian 2014-08-12 16:30:26 +08:00
Nigel Babu
09d63c0d06 Merge m-c to m-i 2014-08-12 12:20:36 +05:30
Alphan Chen
33828161c0 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
aa716c50f3 Backed out changeset 2d0ebc1bc7d6 (bug 1036233) for build bustage ON A CLOSED TREE 2014-08-12 09:00:30 +05:30
Nigel Babu
5d366768d5 Backed out changeset c5d50f1bc995 (bug 1036233) for build bustage ON A CLOSED TREE 2014-08-12 09:00:20 +05:30
Nigel Babu
7e2132868b Backed out changeset a471c7c73409 (bug 1036234) for build bustage on A CLOSED TREE 2014-08-12 09:00:08 +05:30
Jamin Liu
3f63587fec 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
875bc52b44 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
d7fd552bb2 Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian 2014-08-12 10:49:43 +08:00
Bobby Holley
c3b77ac838 Bug 1050049 - Implement bindToUntrustedContent attribute restriction. r=smaug 2014-08-11 20:06:55 -07:00
Bobby Holley
1fb855d00b Bug 1050049 - Whitelist bindings that we actually expect to use in content. r=smaug 2014-08-11 20:06:55 -07:00
Benoit Jacob
dbfddd83d7 Bug 777574 - Skip all quickCheckAPI tests on all linux/android/emulator slaves - r=kamidphish 2014-08-11 22:57:16 -04:00
Wes Kocher
4d3dfafdc4 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
0dc3c5353f 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é
edc30acde0 Bug 1051114 - 400 MozInterAppMessagePort registered on frame message manager r=bent 2014-08-11 10:37:09 -07:00
Yoshi Huang
842919f59f 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]
abe40b3bdc Bug 1050696 - Refactor TelephonyService.dial. r=hsinyi 2014-08-11 02:48:00 -04:00
Martijn Wargers
06d99401c1 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
79151b5134 Merge mozilla-central and inbound 2014-08-12 17:56:08 +01:00
Ryan VanderMeulen
cfeeeb589b Backed out changeset 3200ed3305db (bug 1014023) for causing bug 1051164. 2014-08-12 12:44:09 -04:00
Morris Tseng
07c5a3a821 Bug 1020802 - Pass collapsed and reason information to selectionchange event. r=ehsan, sr=smaug 2014-08-10 20:37:00 -04:00
Kershaw Chang
77f3798762 Bug 1020204 - Allow creating nested oop MozApp iframe. r=khuey, r=kanru 2014-08-13 02:18:00 -04:00
Robert O'Callahan
480e49b672 Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
--HG--
extra : rebase_source : 04249e9b22a62b8f2952515fa48f4ba3227e235e
2014-08-06 17:19:29 +12:00