Commit Graph

33416 Commits

Author SHA1 Message Date
Wes Kocher
4ae23d2ace Merge m-c to inbound a=merge CLOSED TREE 2015-04-20 17:16:03 -07:00
Aaron Klotz
fe6fabf75f Bug 1155241: Check mInstanceOwner for nullptr in nsObjectLoadingContent::PluginDestroyed; r=smaug 2015-04-15 16:24:28 -06:00
Boris Zbarsky
f9d2845925 Bug 1152902 part 2. Add a fast path for the case when a Promise is resolved with another Promise. r=nsm 2015-04-17 22:01:02 -04:00
Boris Zbarsky
a9824af70a Bug 1152902 part 1. Add a way to flag a method in webidl as being identity-testable, so we'll expose such an identity test from bindings to other C++ code. r=peterv 2015-04-17 22:01:02 -04:00
Boris Zbarsky
91607f83e6 Bug 1156197. Just use the return value of the cols DOM property for determining the default number of rendered columns for a textarea. r=ms2ger 2015-04-20 16:54:46 -04:00
Boris Zbarsky
0b2707c91e Bug 1155942. Treat USVString and ByteString as serializable values. r=bkelly 2015-04-20 16:54:46 -04:00
Blake Kaplan
3265550b12 Bug 1141661 - Load chrome before processing delayed frame scripts. r=smaug 2015-04-20 12:50:34 -07:00
Andrew McCreight
f8dbc523b4 Bug 1144298 - Eliminate gratuitous gotos from Directory::RemoveInternal(). r=baku 2015-04-20 12:48:15 -07:00
Andrew McCreight
fdc89d08f8 Bug 1126010 - XULContentSinkImpl::mParser should be an nsRefPtr. r=smaug 2015-04-20 12:47:20 -07:00
Ehsan Akhgari
2acdc40b3d Bug 1156010 - Mark nsINode::mParent as MOZ_OWNING_REF; r=smaug 2015-04-20 15:39:52 -04:00
Ben Kelly
e78b452a98 Bug 1151974 P2 Re-enable serviceworkers/test_periodic_update.html. r=ehsan 2015-04-20 11:14:57 -07:00
Ben Kelly
3c51e3c572 Bug 1151974 P1 Delay Cache Context start until previous Context has completed. r=ehsan 2015-04-20 11:14:57 -07:00
André Reinald
6015a03490 Bug 1075160 - Support action: reset a pref to the default setting r=gfritzsche, r=bholley 2015-04-16 17:00:14 +02:00
Morris Tseng
e400bedd2b Bug 1021499 - Skip test if touch caret is enabled. r=roc 2015-03-23 22:45:00 -04:00
Jocelyn Liu
9721aed285 Bug 1015796 - Use sequence<DOMString> as the type of attribute |attrs| in BluetoothAttributeEvent instead of any. r=btian, r=mrbkap 2015-04-19 20:09:00 -04:00
Henry Chang
5d58c59950 Bug 992772 - Use mms specific network interface to do DNS lookup. r=echen, r=btseng, r=mrbkap 2015-04-09 19:09:37 +08:00
Carsten "Tomcat" Book
f96cc582eb Merge mozilla-central to b2g-inbound 2015-04-21 12:51:15 +02:00
Cervantes Yu
04a88e9a92 Bug 1138620 - Part 2: Test case for NS_NewUnmonitoredThread(). r=khuey 2015-04-21 18:23:48 +08:00
Thomas Zimmermann
8eeb748216 Bug 1154281: Don't include UnixSocket.h in NFC, r=allstars.chh
NFC only requires |UnixSocketRawData|, which is defined in SocketBase.h.
2015-04-21 10:33:06 +02:00
Thomas Zimmermann
bc689e747f Bug 1154281: Remove references to UnixSocket.h from Bluetooth, r=btian
The code needs |UnixSocketRawData| from SocketBase.h and the data
structures in UnixSocketWatcher.h
2015-04-21 10:33:06 +02:00
Thomas Zimmermann
3d86b21078 Bug 1154281: Merge |UnixSocketConsumer| into |BluetoothSocket|, r=btian
|BluetoothSocket| is the last remaining user of |UnixSocketConsumer|. Since
the latter class is deprecated, it's the best option to merge it into the
socket class.

The functionality of |UnixSocketConsumer| is provided by |ListenSocket| and
|StreamSocket|.
2015-04-21 10:33:06 +02:00
Yoshi Huang
e850d88967 Bug 1156208 - this.nfc.getErrorMessage is not a function. r=dimi
From 810bdc26b4f20b448212f32458fa43b7a5e573bf Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 4 ++++
 1 file changed, 4 insertions(+)
2015-04-20 17:47:24 +08:00
Wes Kocher
5c13924153 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Wes Kocher
b0d2eaae11 Merge m-c to inbound a=merge 2015-04-21 15:35:07 -07:00
Edwin Flores
35bb5221ce Bug 1156560 - Prefer old CDMs on update if they are in use - r=cpearce 2015-04-22 10:22:23 +12:00
Rahul
b517abd208 Bug 1152473 - Remove InstallEvent. r=nsm,ehsan 2015-04-20 18:47:13 -07:00
Wes Kocher
6fdfd8574e Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE 2015-04-21 14:23:56 -07:00
Ehsan Akhgari
783d64de67 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Ehsan Akhgari
e1d91cf3c6 Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-04-21 16:24:41 -04:00
Jonathan Watt
0dd96c1111 Bug 1150054, part 2 - Convert the Web Animations tests to use the new EventWatcher constructor from upstream. r=Ms2ger 2015-04-14 20:54:10 +01:00
Jonathan Watt
699340d6d1 Bug 1150054, part 1 - Pull down the upstreamed version of EventWatcher from the web-platform-tests js harness into imptests. r=Ms2ger 2015-04-14 19:38:50 +01:00
Aaron Klotz
4d755aa150 Bug 1155503: BrowserStreamParent should null out its NPStream pointer and we should check for it; r=jimm 2015-04-20 17:04:33 -06:00
Ehsan Akhgari
63cea1c01e Bug 1156880 - Null check the prescontext in nsDOMWindowUtils::AdvanceTimeAndRefresh; r=mstange 2015-04-21 14:22:46 -04:00
Ehsan Akhgari
342a09c057 Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Doug Turner
bdcca49c7d Bug 1149274 - Clear site-permissions should clear all registered push notifications. r=nsm 2015-04-21 20:10:51 +02:00
Doug Turner
91dc34937f Bug 1156063 - Intermittent application crashed [@ mozilla::dom::indexedDB::::ConnectionPool::Start] in various tests. r=janv 2015-04-21 20:10:50 +02:00
Kit Cambridge
da7e87c493 Bug 1150683 - Add xpcshell tests for nsIPushNotificationService. r=dougt
---
 dom/push/moz.build                                 |   4 +
 dom/push/test/xpcshell/head.js                     | 450 +++++++++++++++++++++
 dom/push/test/xpcshell/test_notification_ack.js    | 127 ++++++
 .../test/xpcshell/test_notification_duplicate.js   |  82 ++++
 dom/push/test/xpcshell/test_notification_error.js  | 127 ++++++
 .../test/xpcshell/test_notification_incomplete.js  | 109 +++++
 .../xpcshell/test_notification_version_string.js   |  72 ++++
 dom/push/test/xpcshell/test_register_case.js       |  64 +++
 dom/push/test/xpcshell/test_register_flush.js      | 103 +++++
 .../test/xpcshell/test_register_invalid_channel.js |  60 +++
 .../xpcshell/test_register_invalid_endpoint.js     |  62 +++
 .../test/xpcshell/test_register_invalid_json.js    |  61 +++
 dom/push/test/xpcshell/test_register_no_id.js      |  65 +++
 .../test/xpcshell/test_register_request_queue.js   |  65 +++
 dom/push/test/xpcshell/test_register_rollback.js   |  88 ++++
 dom/push/test/xpcshell/test_register_success.js    |  76 ++++
 dom/push/test/xpcshell/test_register_timeout.js    | 102 +++++
 dom/push/test/xpcshell/test_register_wrong_id.js   |  71 ++++
 dom/push/test/xpcshell/test_register_wrong_type.js |  67 +++
 dom/push/test/xpcshell/test_registration_error.js  |  39 ++
 .../xpcshell/test_registration_missing_scope.js    |  28 ++
 dom/push/test/xpcshell/test_registration_none.js   |  28 ++
 .../test/xpcshell/test_registration_success.js     |  67 +++
 .../test/xpcshell/test_unregister_empty_scope.js   |  37 ++
 dom/push/test/xpcshell/test_unregister_error.js    |  65 +++
 .../test/xpcshell/test_unregister_invalid_json.js  |  78 ++++
 .../test/xpcshell/test_unregister_not_found.js     |  35 ++
 dom/push/test/xpcshell/test_unregister_success.js  |  60 +++
 dom/push/test/xpcshell/xpcshell.ini                |  32 ++
 29 files changed, 2324 insertions(+)
 create mode 100644 dom/push/test/xpcshell/head.js
 create mode 100644 dom/push/test/xpcshell/test_notification_ack.js
 create mode 100644 dom/push/test/xpcshell/test_notification_duplicate.js
 create mode 100644 dom/push/test/xpcshell/test_notification_error.js
 create mode 100644 dom/push/test/xpcshell/test_notification_incomplete.js
 create mode 100644 dom/push/test/xpcshell/test_notification_version_string.js
 create mode 100644 dom/push/test/xpcshell/test_register_case.js
 create mode 100644 dom/push/test/xpcshell/test_register_flush.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_channel.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_endpoint.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_register_no_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_request_queue.js
 create mode 100644 dom/push/test/xpcshell/test_register_rollback.js
 create mode 100644 dom/push/test/xpcshell/test_register_success.js
 create mode 100644 dom/push/test/xpcshell/test_register_timeout.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_type.js
 create mode 100644 dom/push/test/xpcshell/test_registration_error.js
 create mode 100644 dom/push/test/xpcshell/test_registration_missing_scope.js
 create mode 100644 dom/push/test/xpcshell/test_registration_none.js
 create mode 100644 dom/push/test/xpcshell/test_registration_success.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_empty_scope.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_error.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_not_found.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_success.js
 create mode 100644 dom/push/test/xpcshell/xpcshell.ini
2015-04-21 20:10:50 +02:00
Kit Cambridge
b053884f68 Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
---
 dom/push/PushService.jsm | 156 ++++++++++++++++++++++++++++++++---------------
 dom/push/moz.build       |   2 +-
 2 files changed, 108 insertions(+), 50 deletions(-)
2015-04-21 20:10:50 +02:00
Kit Cambridge
86e4e52d97 Bug 1150683 - Implement nsIPushNotificationService. r=dougt
---
 b2g/installer/package-manifest.in     |   2 +-
 browser/installer/package-manifest.in |   2 +-
 dom/push/Push.manifest                |  11 +-
 dom/push/PushNotificationService.js   |  81 +++++++++
 dom/push/PushService.jsm              | 324 ++++++++++++++++++++--------------
 dom/push/PushServiceLauncher.js       |  50 ------
 dom/push/moz.build                    |   2 +-
 7 files changed, 285 insertions(+), 187 deletions(-)
 create mode 100644 dom/push/PushNotificationService.js
 delete mode 100644 dom/push/PushServiceLauncher.js
2015-04-21 20:10:50 +02:00
Kit Cambridge
6855cac604 Bug 1150683 - Add XPCOM interfaces for push notifications. r=dougt
---
 b2g/installer/package-manifest.in                  |  1 +
 browser/installer/package-manifest.in              |  1 +
 dom/interfaces/push/moz.build                      | 12 ++++++
 dom/interfaces/push/nsIPushNotificationService.idl | 49 ++++++++++++++++++++++
 .../push/nsIPushObserverNotification.idl           | 30 +++++++++++++
 dom/moz.build                                      |  1 +
 6 files changed, 94 insertions(+)
 create mode 100644 dom/interfaces/push/moz.build
 create mode 100644 dom/interfaces/push/nsIPushNotificationService.idl
 create mode 100644 dom/interfaces/push/nsIPushObserverNotification.idl
2015-04-21 20:10:50 +02:00
Andrew Osmond
49e2dcf407 Bug 1144211 - Improve code coverage of camera mochitests. r=mikeh 2015-03-17 13:01:24 -04:00
Ryan VanderMeulen
0184ad2c22 Merge inbound to m-c. a=merge 2015-04-17 15:44:37 -04:00
L. David Baron
fd0a6129d2 Bug 1150351 - Reënable test_deferred_start.html on Linux, since the bug for which we disabled it has disappeared. 2015-04-17 09:13:13 -07:00
Ehsan Akhgari
566182479f Bug 1155477 follow-up: Fix nsINode::ChildNodes()
Landed on a CLOSED TREE to fix bustage
2015-04-17 11:49:59 -04:00
Thomas Zimmermann
fccc462506 Bug 1155082: Share BluetoothUUID.{cpp,h} between Bluetooth v1 and v2, r=btian
BluetoothUUID of v1 and v2 are the same, except for bug 1015819 in
v1. So this patch moves the v1 variant to a shared location and removes
the v2 variant completely.
2015-04-17 17:45:05 +02:00
Andrew Osmond
f43b75b070 Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh 2015-04-17 07:09:54 -04:00
Gordon Klaus
f7f58cbd74 Bug 1155140 - Removed mentions of deleted parameters from test helper documentation. r=mt 2015-04-16 04:56:00 -04:00
Ehsan Akhgari
acbbcfb4b0 Bug 1155486 - Convert nsDOMAttributeMap::mLocalName to void* to ensure that we can never dereference it; r=baku 2015-04-17 11:15:15 -04:00
Ehsan Akhgari
3a741c1a97 Bug 1155477 - Convert nsINode::Slots::mChildNodes to an nsRefPtr; r=baku
MSVC 7 is no longer supported, so this can now be an nsRefPtr.
2015-04-17 11:15:13 -04:00
Ehsan Akhgari
efb62f9871 Bug 1155475 - Mark nsINode::Slots::mWeakReference as MOZ_NON_OWNING_REF; r=baku 2015-04-17 11:14:49 -04:00
Ehsan Akhgari
8efbb22bd6 Bug 1155471 - Mark some members of nsNodeInfoManager as MOZ_NON_OWNING_REF; r=baku 2015-04-17 11:14:48 -04:00
Ehsan Akhgari
c17a0bf71f Bug 1155469 - Mark nsTextEditorState::mTextCtrlElement as MOZ_NON_OWNING_REF; r=baku 2015-04-17 11:14:46 -04:00
Carsten "Tomcat" Book
7067d37105 Backed out changeset 59c97d681f50 (bug 1021499) for suspicion of causing perma R19 test failures 2015-04-17 13:14:54 +02:00
Jacek Caban
d300ec8622 Bug 1154738 - Fixed WMFUtils.cpp compilation on mingw. r=mattwoodrow 2015-04-17 12:26:29 +02:00
Morris Tseng
faf45a66e6 Bug 1021499 - Skip test if touch caret is enabled. r=roc 2015-03-23 22:45:00 +01:00
Daniel Holbert
cf69a85cd3 Bug 1155387: Add missing #include for imgIContainer.h to ContentParent.cpp. r=enndeakin 2015-04-16 18:27:13 -07:00
Daniel Holbert
d7c678a90f Bug 1152169 followup: Mark FirstRevisionIdCallback methods Run() and HandleEvent() as 'override'. rs=ehsan 2015-04-16 13:42:28 -07:00
Matt Woodrow
2071dab3c3 Bug 1154536 - Disable 4k H264 video for vista since it performs poorly. r=ajones 2015-04-17 12:42:09 +12:00
L. David Baron
dfe3c0f0c8 Bug 980770 - Enable off-main-thread animations on Linux (and other X11 based platforms), for nightly/aurora. r=birtles 2015-04-16 18:13:15 -07:00
Cameron McCormack
341d395ba4 Bug 1155015 - Hide FontFaceSet.load() until we implement it. r=bzbarsky 2015-04-17 11:09:59 +10:00
Cameron McCormack
ae78c7eab8 Bug 1155030 - Fix asterix/asterisk misspelling. r=ehsan 2015-04-17 11:09:58 +10:00
Ehsan Akhgari
104f51f6f7 Bug 1148942 - Ensure that the registration of empty service workers succeeds; r=bent 2015-04-16 18:18:20 -04:00
Ryan VanderMeulen
80ba0ac842 Merge m-c to inbound. a=merge 2015-04-16 16:21:05 -04:00
Ryan VanderMeulen
340cded465 Merge inbound to m-c. a=merge 2015-04-16 16:18:13 -04:00
Ben Kelly
9146bc8dd3 Bug 1151892 Refactor Cache Manager Context usage to be more sane and fix shutdown assert. r=ehsan 2015-04-16 13:05:38 -07:00
Neil Deakin
0e272ede50 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Neil Deakin
e077c843cc Bug 1071562, check type now that CString is supported, r=smaug 2015-04-16 15:38:12 -04:00
Neil Deakin
546bc723a6 Bug 1071562, e10s, support non-text types in clipboard (html, images, etc), r=smaug 2015-04-16 15:38:12 -04:00
Ryan VanderMeulen
4b4367be07 Bug 994541 - Skip 789933-1.html on Linux debug due to frequent crashes. 2015-04-16 12:20:06 -04:00
Carsten "Tomcat" Book
66755840fb Merge mozilla-central to b2g-inbound 2015-04-16 12:52:54 +02:00
Thomas Zimmermann
b61080dac2 Bug 1154235: Use |snprintf| in Bluetooth utililities, r=btian
The use of |sprintf| is unsafe and generally deprecated. This patch
replaces |sprintf| in the Bluetooth utilities with |snprintf|.
2015-04-16 10:48:21 +02:00
Thomas Zimmermann
a17b8461b5 Bug 1154235: Share BluetoothUtils.{cpp,h} between Bluetooth v1 and v2, r=btian
With this patch, Bluetooth v1 and v2 share the same files for
BluetoothUtils.{cpp,h}. Some of the functions are still version specific
and cannot be shared. The v1 variants can be removed after switching to
v2.
2015-04-16 10:48:21 +02:00
Thomas Zimmermann
cf6f497638 Bug 1154235: Move dom/bluetooth/bluetooth2/BluetoothUtils.{cpp,h} to /dom/bluetooth, r=btian 2015-04-16 10:48:21 +02:00
Thomas Zimmermann
963b62d098 Bug 1154235: Use |BroadcastSystemMessage| in |BluetoothService::Notify|, r=btian
|BluetoothService::Notify| re-implements |BroadcastSystemMessage|. This
patch replaces this code with a call to the function.
2015-04-16 10:48:21 +02:00
Ryan VanderMeulen
dad7bc91fe Merge inbound to m-c. a=merge 2015-04-15 21:22:31 -04:00
Valentin Gosu
bc4ddb96ea Bug 1149913 - Disable bug 1093611. Set pref dom.url.encode_decode_hash to true r=honzab 2015-04-16 05:25:10 +03:00
Ryan VanderMeulen
b5ff9ed662 Merge m-c to inbound. a=merge 2015-04-15 21:26:41 -04:00
Boris Zbarsky
9c8de66e1c Bug 1154878 followup. Fix a test that expects to see navigator.taintEnabled in workers so we can reopen the CLOSED TREE. 2015-04-15 17:37:58 -04:00
David Anderson
b4d3877004 Make test_bug946632 compatible with asynchronous scrolling. (bug 1140293, r=mstange) 2015-04-15 16:28:43 -04:00
David Parks
55fdc124c1 Bug 1018639 - Maintain separate cursors in chrome and client processes. r=roc
The TabChild now maintains a concept of the current cursor for the child
process.  This value is asynchronously cached in the TabParent.  The
chrome process now establishes cursor on its own - consulting the
TabParent when the cursor enters/exits the tab.  While the cursor is
over tab content, changes to the TabParent's cached cursor are
immediately forwarded to the widget.
2015-04-14 16:29:10 -07:00
Bevis Tseng
2f61ff1e6b Bug 1154186 - Deprecate nsISmsMessenger_new.idl. r=echen 2015-04-14 18:07:44 +08:00
Shawn Huang
37abae0a76 Bug 1152098 - Ignore subsequent toggling requests if toggling is already in progress. r=btian 2015-04-14 20:55:00 -04:00
Martin Thomson
4bb80e7953 Bug 1153314 - Test IdP login flow, r=jib 2015-04-15 14:19:21 -07:00
Martin Thomson
e2d2e47f34 Bug 1153314 - Assign load group to IdP load channel, r=jib 2015-04-15 14:19:21 -07:00
Martin Thomson
6f73e337ce Bug 1153294 - Exposing Document.documentLoadGroup to Chrome JS, r=sicking 2015-04-15 14:19:21 -07:00
Sotaro Ikeda
66185c7332 Bug 1139206 - Update AudioOffloadPlayer seek r=bholley,bwu 2015-04-15 14:00:41 -07:00
David Anderson
5a285ff396 Make test_bug422132.html compatible with APZ. (bug 1149128, r=kats) 2015-04-15 16:41:26 -04:00
David Anderson
9fb02489db Refactor test_bug422132. (bug 1149128, r=kats) 2015-04-15 16:37:04 -04:00
Boris Zbarsky
9236befd35 Bug 1154878. Stop exposing navigator.tainteEnabled in workers. r=ehsan 2015-04-15 16:33:06 -04:00
Boris Zbarsky
937626e175 Bug 1154812. Fix location.pathname to return the right thing in workers. r=baku 2015-04-15 16:32:53 -04:00
Nathan Froyd
fba75178ed Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Ehsan Akhgari
5e05661d58 Bug 1149987 - Part 8: Do not store or match Response objects with a Vary:* header; r=bkelly 2015-04-15 15:55:51 -04:00
Ehsan Akhgari
865eef2d85 Bug 1149987 - Part 7: Send the full ErrorResult in the AddAllResponse IPC message; r=bkelly
This is needed so that we can throw a TypeError from
FetchPut::FetchComplete.  In order to be able to do this, we need to
store the entire ErrorResult in the FetchPut object and deliver it to
the other side.
2015-04-15 15:55:39 -04:00
Ehsan Akhgari
1571d5bd52 Bug 1149987 - Part 6: Release the FetchPut object on the right thread in FetchObserver::OnResponseEnd(); r=bkelly 2015-04-15 15:55:28 -04:00
Ehsan Akhgari
185386047a Bug 1149987 - Part 5: Hold a kungfu death grip in FetchPut::MaybeNotifyListener; r=bkelly 2015-04-15 15:55:16 -04:00
Ehsan Akhgari
4b1e83d8e8 Bug 1149987 - Part 4: Do not attempt to delete ErrorResult::mMessage when deserializing the object from IPDL; r=bzbarsky
In opt builds, we do not initialize mMessage, so the null check is going
to be ineffective to test whether mMessage has a value that we should
delete.  But in IPDL, the ParamTraits Read method is only called with
freshly allocated objects, so we don't need to free anything here.
In order to be safe and ensure that we don't leak this memory, this
patch adds a number of assertions to check whether mMessage is
indeed only initialized where we expect it to.
2015-04-15 15:55:01 -04:00
Ryan VanderMeulen
60e5614344 Merge m-c to inbound. a=merge
IGNORE IDL
2015-04-15 15:15:32 -04:00
Ryan VanderMeulen
20eec4c070 Merge inbound to m-c. a=merge 2015-04-15 14:52:15 -04:00
Ryan VanderMeulen
40405b572d Merge b2g-inbound to m-c. a=merge 2015-04-15 14:50:48 -04:00
Ryan VanderMeulen
f83dfe8447 Bug 1097721 - Skip test_mozaudiochannel.html on OSX 10.6 due to intermittent crashes. 2015-04-15 14:35:59 -04:00
Ryan VanderMeulen
bdb6698d83 Bug 1021174 - Skip test_bug495145.html on OSX 10.6 due to intermittent crashes. 2015-04-15 14:35:58 -04:00
Ryan VanderMeulen
3849dfb3eb Bug 847903 - Skip 691096-1.html on OSX 10.6 due to intermittent crashes. 2015-04-15 14:35:58 -04:00
David Anderson
e9f44681c7 Fix wheel events being misrouted in APZ-less widgets when APZ is enabled. (bug 1154734, r=kats) 2015-04-15 12:28:47 -04:00
Carsten "Tomcat" Book
14c66017a9 Merge mozilla-central to b2g-inbound 2015-04-15 15:11:39 +02:00
Thomas Zimmermann
03d2fc746b Bug 1153796: Share BluetoothInterfaceHelpers.{cpp,h} between Bluetooth v1 and v2, r=btian
The v1 implementation of BluetoothInterfaceHelpers.{cpp,h} is more
up-to-date than the v2 variant. So we can just use the v1 version and
remove the v2 version entirely. Bluetooth v2 contains its own version
of |Convert(nsresult, BluetoothStatus)|, which has been removed in
favor of the shared implementation.
2015-04-15 11:46:33 +02:00
Thomas Zimmermann
5b4dbdf3f7 Bug 1153796: Share BluetoothInterface.{cpp,h} between Bluetooth v1 and v2, r=btian
With this patch, Bluetooth v1 and v2 share the same interfaces classes
for their backend code. Bluetooth v1 doesn't yet support GATT, so the
GATT interfaces are still not implemented.

The patch also fixes the GATT-specific classes to compile under recent GCC
versions 4.8 and later, which are used with Android L.

The patch also preserves the prefered backend for each version. Bluetooth
v1 defaults to 'bluetoothd,' v2 defaults to 'bluedroid.'
2015-04-15 11:46:33 +02:00
Thomas Zimmermann
02152a18ba Bug 1153796: Move dom/bluetooth/bluetooth2/BluetoothInterface.{cpp,h} to dom/bluetooth, r=btian 2015-04-15 11:46:33 +02:00
Thomas Zimmermann
2375784a70 Bug 1153796: Unify variants of |BluetoothInterface::SspReply|, r=btian
Bluetooth use different types for the second argument of their variant
of |BluetoothInterface::SspReply|. This patch standardizes them on the
v2 version.
2015-04-15 11:46:33 +02:00
Carsten "Tomcat" Book
e3df58001f Backed out changeset 3a16edeb9ed2 (bug 1153796) for bustage on a CLOSED TREE 2015-04-15 11:33:02 +02:00
Carsten "Tomcat" Book
3ac0f37ad3 Backed out changeset 0f94e1a00fcd (bug 1153796) 2015-04-15 11:32:21 +02:00
Carsten "Tomcat" Book
0ac7ee4607 Backed out changeset a74d1c644c84 (bug 1153796) 2015-04-15 11:32:16 +02:00
Carsten "Tomcat" Book
5555def988 Backed out changeset 868ace3fafba (bug 1153796) 2015-04-15 11:32:10 +02:00
Thomas Zimmermann
0cebf16a97 Bug 1153796: Share BluetoothInterfaceHelpers.{cpp,h} between Bluetooth v1 and v2, r=btian
The v1 implementation of BluetoothInterfaceHelpers.{cpp,h} is more
up-to-date than the v2 variant. So we can just use the v1 version and
remove the v2 version entirely. Bluetooth v2 contains its own version
of |Convert(nsresult, BluetoothStatus)|, which has been removed in
favor of the shared implementation.
2015-04-15 11:04:43 +02:00
Thomas Zimmermann
df36bdb153 Bug 1153796: Share BluetoothInterface.{cpp,h} between Bluetooth v1 and v2, r=btian
With this patch, Bluetooth v1 and v2 share the same interfaces classes
for their backend code. Bluetooth v1 doesn't yet support GATT, so the
GATT interfaces are still not implemented.

The patch also fixes the GATT-specific classes to compile under recent GCC
versions 4.8 and later, which are used with Android L.

The patch also preserves the prefered backend for each version. Bluetooth
v1 defaults to 'bluetoothd,' v2 defaults to 'bluedroid.'
2015-04-15 11:04:43 +02:00
Thomas Zimmermann
e49e21185a Bug 1153796: Move dom/bluetooth/bluetooth2/BluetoothInterface.{cpp,h} to dom/bluetooth, r=btian 2015-04-15 11:04:43 +02:00
Thomas Zimmermann
2cc4962b9f Bug 1153796: Unify variants of |BluetoothInterface::SspReply|, r=btian
Bluetooth use different types for the second argument of their variant
of |BluetoothInterface::SspReply|. This patch standardizes them on the
v2 version.
2015-04-15 11:04:43 +02:00
Junior Hsu
cbd9b3d321 Bug 1153063 - turn on logging for debug in test_tcp_control_channel.js. r=fabrice 2015-04-15 11:01:02 +08:00
Ryan VanderMeulen
5ff13ca6aa Merge b2g-inbound to m-c. a=merge 2015-04-14 16:14:45 -04:00
Botond Ballo
671b9d71b2 Bug 1152479 - Assert IsCallerChrome() in some layout-related nsIDOMWindowUtils APIs. r=ehsan 2015-04-14 13:20:12 -04:00
Botond Ballo
5ac5146ab0 Bug 1152479 - Do not use layout-related nsIDOMWindowUtils APIs from C++ APZ code. r=kats 2015-04-14 16:44:59 -04:00
Ryan VanderMeulen
626335f30f Backed out changeset dd10ce7a6b1a (bug 1151242) for bustage.
CLOSED TREE
2015-04-14 13:20:05 -04:00
Botond Ballo
d152a55522 Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan 2015-04-14 13:19:10 -04:00
Tanvi Vyas
dad0ba9181 Bug 1148732 - When checking a document's scheme, check the innermost uri. r=dveditz, smaug 2015-04-15 10:18:27 -07:00
Andrea Marchesini
6b18346927 Bug 1154721 - Add an "Unregister" button to about:serviceworkers, r=ehsan 2015-04-15 18:11:17 +01:00
Daniel Holbert
33cf8e271a Bug 1154076 followup: Mark ConsoleRunnable::Run() as override. rs=ehsan 2015-04-15 10:05:40 -07:00
Daniel Holbert
416a4aab15 Bug 1020179 followup: Mark DeviceStorageRequest::GetRequester as override (and use NS_IMETHOD instead of NS_IMETHODIMP inside of class definition). rs=ehsan 2015-04-15 10:05:38 -07:00
Ehsan Akhgari
71bab8d4bf Bug 1146349 - Mark SynthesizedEventObserver::Observe() as override 2015-04-15 12:04:12 -04:00
David Parks
3d76a3308b Bug 1127727 - Swap callbacks in the Compositor when dragging tabs between windows. r=billm
When remote browsing, swap the MozLayersReady callback in the compositor
when dragging tabs between windows.
2015-04-13 17:06:03 -07:00
Jean-Yves Avenard
d444fdc20b Bug 1153094: Rename LargeDataBuffer and DataBuffer object. r=cpearce
This causes conflicts with webRTC libraries that use those names already. The
linker appears to get it wrong and calls the destructor of the wrong class.
2015-04-15 15:27:38 +10:00
John Dai
d19cea4ba5 Bug 949849 - B2G RIL: Update the marionette test script for icc.updateContact. r=echen 2015-04-13 18:27:00 -04:00
Jamin Liu
240097641c Bug 1154136 - Update Bluetooth connection state when BT stack updates device properties. r=shuang 2015-04-14 18:46:23 +08:00
Thomas Zimmermann
ced37d6251 Bug 1152821: Share BluetoothCommon.h between Bluetooth v1 and v2, r=joliu
This patch integrates changes from Bluetooth v1 into the shared file
BluetoothCommon.h, and makes it available to both versions. The enum
constant TYPE_INVALID is replaced by NUM_TYPE.
2015-04-14 10:26:06 +02:00
Thomas Zimmermann
63a6d295b0 Bug 1152821: Move dom/bluetooth/bluetooth2/BluetoothCommon.h to dom/bluetooth, r=joliu 2015-04-14 10:26:06 +02:00
Marcos Caceres
1e0dff5c78 Bug 1153958 - Make manifest processor e10s friendly. r=ehsan 2015-04-14 16:00:00 +02:00
Jim Mathies
796e712243 Bug 1154396 - Remove a debug printf in plugin code. No bug. r=jimm 2015-04-14 13:15:30 -05:00
Carsten "Tomcat" Book
221df621f6 Backed out changeset 19f871364039 (bug 1110485) for causing bc1 winxp memory leaks on a CLOSED TREE 2015-04-15 09:55:53 +02:00
Carsten "Tomcat" Book
2b2cc53c16 Backed out changeset a74f0b2545ab (bug 1110485) 2015-04-15 09:54:48 +02:00
Carsten "Tomcat" Book
0e646e32dd Backed out changeset 1bbb1ec38652 (bug 1110485) 2015-04-15 09:54:45 +02:00
Carsten "Tomcat" Book
baa43f42e8 Backed out changeset f37dc22f4c4f (bug 1110485) 2015-04-15 09:54:39 +02:00
Carsten "Tomcat" Book
5b8fd6b420 Backed out changeset de417ee861be (bug 1110485) 2015-04-15 09:54:36 +02:00
Carsten "Tomcat" Book
55bf253f0d Backed out changeset fdca92fa4d55 (bug 1110485) 2015-04-15 09:54:34 +02:00
Carsten "Tomcat" Book
15e45ceb3d Backed out changeset e8de5745c5c3 (bug 1110485) 2015-04-15 09:54:27 +02:00
Carsten "Tomcat" Book
0246dd60d8 Backed out changeset 2bf98851529e (bug 1110485) 2015-04-15 09:54:19 +02:00
Carsten "Tomcat" Book
e2906455bd Backed out changeset a2629286ed4c (bug 1151892) 2015-04-15 09:54:11 +02:00
JW Wang
93a76e7229 Bug 1154564 - Add the ability to notify timeouts to MediaTestManager and remove flaky timeouts from test_playback.html. r=cpearce. 2015-04-15 11:12:57 +08:00
JW Wang
299f54c06e Bug 1154559 - Remove flaky timeouts from manifest.js and register SimpleTest.registerCleanupFunction() to report unfinished tests. r=cpearce. 2015-04-15 11:12:46 +08:00
Doug Turner
0903a42d91 Bug 1153937 - enable PushServiceLauncher. r=nsm 2015-04-13 10:03:24 -07:00
Geoff Brown
c1fd985224 Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
Ehsan Akhgari
b625414eed Bug 1138520 follow-up: Fix the build bustage on configurations that disable the crash reporter 2015-04-14 22:56:08 -04:00
Gerald Squelart
4530d75a37 Bug 1152151 - [EME] Some tests keep working after they should have finished, part 2: Only load that each test actually needs - r=edwin 2015-04-15 10:09:25 +10:00
Gerald Squelart
75516dbe57 Bug 1152151 - [EME] Some tests keep working after they should have finished - r=edwin 2015-04-15 10:09:25 +10:00
Ben Tian
9beaa7f7f0 Bug 1152694 - Make UUID and service name as input arguments for BluetoothSocket, r=tzimmermann 2015-04-13 17:30:47 +08:00
Wes Kocher
c93a6002a2 Merge central to b2ginbound a=merge 2015-04-13 17:28:59 -07:00
Wes Kocher
5e50dfb256 Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Ryan VanderMeulen
04f6b1c712 Backed out changeset 861b69f6f3b2 (bug 1146729) for causing bug 1153831. 2015-04-13 15:48:08 -04:00
Alexandre Lissy
faad90247f Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only 2015-04-13 14:26:00 -04:00
Fabrice Desré
3f828ac331 Bug 1111961 - Developer mode support r=ferjm,pauljt 2015-04-13 09:49:50 -07:00
Carsten "Tomcat" Book
3bd6ad2efe Merge mozilla-central to b2g-inbound 2015-04-13 12:14:53 +02:00
Carsten "Tomcat" Book
630e7a65f8 Backed out changeset 3939c36b0864 (bug 1152821) for Bustage 2015-04-13 10:54:33 +02:00
Carsten "Tomcat" Book
9f84295bb8 Backed out changeset 81c108144278 (bug 1152821) 2015-04-13 10:53:59 +02:00
Kan-Ru Chen (陳侃如)
d47cf58893 Bug 1142806 - Try to keep at least one foreground process at any time. r=gsvelto 2015-04-13 16:25:09 +08:00
Thomas Zimmermann
fd9a3bab21 Bug 1152821: Share BluetoothCommon.h between Bluetooth v1 and v2, r=joliu
This patch integrates changes from Bluetooth v1 into the shared file
BluetoothCommon.h, and makes it available to both versions. The enum
constant TYPE_INVALID is replaced by NUM_TYPE.
2015-04-13 10:03:11 +02:00
Thomas Zimmermann
692ba097b9 Bug 1152821: Move dom/bluetooth/bluetooth2/BluetoothCommon.h to dom/bluetooth, r=joliu 2015-04-13 10:03:09 +02:00
James Cheng
419c526d99 Bug 1153717 - [Stingray] Update document reference link on InputPort API. r=baku, a=NPOTB 2015-04-12 21:07:00 -04:00
Olli Pettay
ad8d83447e Bug 930793 - Remove favor performance mode, r=avih,roc 2015-04-12 23:08:55 +03:00
Jean-Yves Avenard
79869874b5 Bug 1153110: Don't prefer VDA for 720p and above. r=rillian
Partially reverts the prior c6e173b28eca change.
2015-04-12 19:16:33 +10:00
Jean-Yves Avenard
609c86cebb Backout changest ee75ba3d3937 for using wrong comment 2015-04-12 19:14:44 +10:00
Jean-Yves Avenard
000ce140f2 Bug 1137529: Partial evert of commit c6e173b28eca. r=rillian 2015-04-12 18:22:07 +10:00
Gerald Squelart
35e48d53ef Bug 1142379 - Encrypt audio and video tracks using separate encryption settings - r=edwin 2015-04-14 17:53:16 +10:00
Gerald Squelart
0e247a1d84 Bug 1152153 - [EME] test_eme_persistent_sessions does not handle multi-stream cases - r=edwin 2015-04-14 17:53:11 +10:00
Gerald Squelart
f94f0a8a34 Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 2: Add missing files - r=edwin 2015-04-14 17:53:01 +10:00
Gerald Squelart
959d843ae9 Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 1: Update make-headers.sh to add headers for m4s files - r=edwin 2015-04-14 17:52:56 +10:00
Bill McCloskey
11d84e18ac Bug 1138520 - Diagnostic patch for shutdown hangs (r=jchen) 2015-04-14 18:58:58 -07:00
Olli Pettay
d43621ec7d Backout Bug 930793 because of talos regressions,r=backout 2015-04-13 19:02:27 +03:00
Ehsan Akhgari
8a136959b9 Bug 1154563 - Drop the unused argument of WorkerPrivate::Close(); r=baku 2015-04-15 09:24:22 -04:00
Andrea Marchesini
78d32c4c49 Bug 1154076 - Console API must keep the Worker alive when the runnable to the main-thread is dispatched, r=bent 2015-04-15 11:46:40 +01:00
Yoshi Huang
062e3e2b70 Bug 1152667 - Remove NfcGonkMessage.h r=dimi
From 391484fa778ea08a5041bece49ef4ee14e13c7a4 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/NfcGonkMessage.h      | 44 --------------------------------------
 dom/nfc/gonk/NfcMessageHandler.cpp |  8 ++++---
 dom/nfc/gonk/NfcService.cpp        |  1 -
 3 files changed, 5 insertions(+), 48 deletions(-)
 delete mode 100644 dom/nfc/gonk/NfcGonkMessage.h
2015-04-09 15:54:02 +08:00
Edgar Chen
d7864876c8 Bug 1152531 - Releasing MMS connection if MMS fails to send due to ensureRouting error. r=bevis 2015-04-10 15:10:14 +08:00
Jan Varga
8bc79842ab Bug 1150023 - Intermittent browser_940107_home_button_in_bookmarks_toolbar.js | application crashed [@ mozilla::dom::quota::QuotaManager::AbortCloseStoragesForProcess(mozilla::dom::ContentParent *)][@ mozilla::ipc::MessageChannel::NotifyChannelClosed()]; r=bent 2015-04-12 05:41:44 +02:00
Chris Peterson
3ef7951d67 Bug 1153378 - Move local variable in behind #ifndef MOZILLA_XPCOMRT_API. r=jesup 2015-04-10 11:54:24 -07:00
Ehsan Akhgari
7e83dd6ef9 Bug 1153388 - Don't attempt to read a header that may not exist; r=bkelly
getHeader() throws an exception if the header doesn't exist.  The checks
for hasHeader() below should prevent this exception from being raised.
2015-04-11 09:57:57 -04:00
Doug Turner
75df1e9754 Bug 1038811 - Push Notifications - Allow MOZ_DISABLE_NONLOCAL_CONNECTIONS for push subsuite. r=ahalberstadt/jgriffin 2015-04-10 20:19:29 -07:00
Doug Turner
ac1c0fa486 Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm 2015-04-10 20:19:28 -07:00
Doug Turner
df68d7801c Bug 1038811 - Push Notifications - Tests. r=nsm 2015-04-10 20:19:28 -07:00
Doug Turner
dcef59f423 Bug 1038811 - Push Notifications - Push implementation changes. r=nsm 2015-04-10 20:19:28 -07:00
Doug Turner
0c2fabc48e Bug 1038811 - Push Notifications - WebIDL changes. r=nsm. sr=jst 2015-04-10 20:19:28 -07:00
Doug Turner
a9c539e35c Bug 1038811 - Push Notifications - Move old push to simplepush. r=nsm. sr=jst 2015-04-10 20:19:28 -07:00
Doug Turner
af8acea893 Bug 1151664 - Make claim return undefined for now. r=nsm 2015-04-10 20:19:28 -07:00
Jed Davis
9eccf736fa Bug 1151607 - Step 1: Add Linux sandboxing hook for when child processes are still single-threaded. r=kang r=bent
This means that B2G plugin-container must (dynamically) link against
libmozsandbox in order to call into it before initializing Binder.
(Desktop Linux plugin-container already contains the sandbox code.)
2015-04-10 18:05:19 -07:00
Alexandru Tifrea
43bc5081d7 Bug 966395 - Correctly propagate the input language's direction on OSX. r=masayuki/mrbkap
Gtk patch written by mrbkap@mozilla.com, with r=roc
2015-04-10 15:18:05 -07:00
Ryan VanderMeulen
c2391c84ee Merge m-c to inbound. a=merge 2015-04-10 15:27:38 -04:00
Ryan VanderMeulen
33caef13f1 Merge inbound to m-c. a=merge 2015-04-10 15:23:33 -04:00
Daniel Holbert
a6e3874f9a Bug 1026350 followup #2: Use NS_IMETHOD instead of NS_IMETHODIMP for function-decl that happens to provide inline impl, in FakeInputPortService.cpp. rs=froydnj 2015-04-10 09:49:55 -07:00
Daniel Holbert
254dfb33ca Bug 1026350 followup: Add missing 'override' annotations to helper classes in FakeInputPortService.cpp. rs=ehsan 2015-04-10 09:37:05 -07:00
Alastor Wu
580524475c Bug 1151992 - Use call state to decide the usages of output device. r=baku 2015-04-10 17:00:14 +08:00
Ralph Giles
af91b09672 Bug 1152556 - Add moz.build bugzilla metadata in webaudio. r=padenot 2015-04-08 15:21:00 -07:00
Ralph Giles
4babc37f5b Bug 1152556 - Add moz.build bugzilla metadata in dom/media webrtc. r=abr 2015-04-10 17:10:00 -07:00
Ralph Giles
5a87bab537 Bug 1152556 - Add moz.build bugzilla metadata in dom/media. r=kinetik 2015-04-08 15:21:00 -07:00
David Keeler
f2fb1c3274 bug 1153013 - disable warning on unknown attributes when compiling with clang in some ffmpeg folders r=jya 2015-04-10 14:30:44 -07:00
Ben Turner
7bb06a29d5 Bug 1151242 - Abort version change transactions more eagerly in the event of a crash, r=khuey. 2015-04-14 10:02:54 -07:00