Commit Graph

25107 Commits

Author SHA1 Message Date
Chuck Lee
ebc687e577 Bug 1051660 - 0001. Fix minor bugs in API implementation. r=hchang 2014-08-18 15:10:24 +08:00
Junior Hsu
57c101009b 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
e84ab195da 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
cc036453b6 Backed out changeset 721eb8e94100 (bug 1014023) for exceptions during test_widget.html 2014-08-19 15:12:32 +01:00
Ed Morley
0a2146dfad Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
f049ad3ce3 Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Hsin-Yi Tsai
f468e71fa1 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
c8ad12afb7 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
213c96ef14 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
b2844e4fb7 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
250da0f793 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
8e1d2af013 Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Bill McCloskey
d3390cb4aa Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 18:14:56 -07:00
Wes Kocher
ccac14d435 Merge m-c to inbound a=merge 2014-08-20 18:13:40 -07:00
Walter Litwinczyk
db85cd06c6 Bug 974744 - WebGLFramebuffer.cpp add missing STENCIL_ATTACHMENT completeness check for textures. r=jgilbert 2014-08-19 13:24:39 -07:00
Robert Bindar
c03560557d Bug 899585 - Add custom data support in the Notification constructor r=baku 2014-08-20 17:56:12 -07:00
Wes Kocher
f1646bf5bb Backed out changeset 2a9cfbab0adc (bug 1053999) for Windows build bustage on a CLOSED TREE 2014-08-20 16:08:04 -07:00
Bill McCloskey
07fa0dbfeb Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 15:16:07 -07:00
Daniel Holbert
9e00e9b79d 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
655d07d1e0 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Andrea Marchesini
bd3a7549ff Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Bobby Holley
ddf23b18bf Bug 796938 - Remove GetDynamicScriptContext API. r=smaug 2014-08-19 12:02:08 -07:00
Bobby Holley
3e249c1824 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
b7f673b26a Bug 796938 - Use GetEntryGlobal in NS_ScriptErrorReporter. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
d8d5bb8cea Bug 796938 - Use GetEntryGlobal in nsGlobalWindow::FireAbuseEvents. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
d176fec55d Bug 796938 - Remove GetDynamicScriptGlobal API. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
74a7f8e60a Bug 796938 - Switch nsLocation::GetSourceBaseURL to GetEntryDocument. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
740581f7a6 Bug 796938 - Switch to GetEntryDocument in GetDocumentCharacterSetForURI. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
1e331db196 Bug 796938 - Switch to GetEntryGlobal in GetCallerDocShellTreeItem. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
5f98ce0846 Bug 796938 - Switch nsGlobalWindow::SecurityCheckURL to GetEntryGlobal. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
115b664102 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
2bbc0ff149 Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
16c18914d9 Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
025dd6cc2c 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
f9f3b04dc6 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
2908280aa1 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
a561581570 Bug 1015721 - Add ZoomChangeUsingMouseWheel event. r=smaug 2014-08-20 17:12:02 +02:00
Ed Morley
89146cacef Merge mozilla-central and inbound 2014-08-20 15:19:09 +01:00
Makoto Kato
8ea4442831 Bug 1050660 - Don't call removeChild immediately after calling setVisible. r=khuey 2014-08-20 20:25:44 +09:00
Makoto Kato
1b50138724 Bug 1050660 - setInputMethodActive doesn't sometimes work when switching IME after boot. r=fabrice 2014-08-20 20:24:47 +09:00
Bill McCloskey
ed3db3ed6a Bug 1050604 - Get IPDL tests passing again (r=bent) 2014-08-20 12:49:11 -07:00
Bill McCloskey
a15b49d6f6 Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap) 2014-08-20 12:49:11 -07:00
Tim Taubert
64bf066290 Bug 1050318 - Split WebCrypto tests into multiple files to prevent timeouts r=rbarnes 2014-08-19 10:52:58 +02:00
Henry Chang
cb3bffd6e5 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
cb352a10a2 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
6798aee341 Backed out changeset b01c7abafbdf (bug 846200) 2014-08-19 09:17:06 +01:00
Kyle Machulis
daac219fc8 Bug 846200 - Update mochitests to use new settings-api permissions; r=bent 2014-08-18 22:06:59 -07:00
Kyle Machulis
01ac90c8aa Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent 2014-08-18 22:06:54 -07:00
Ryan VanderMeulen
743dc06513 Merge inbound to m-c. a=merge 2014-08-18 16:04:28 -04:00
Chuck Lee
65a637c1ec Bug 979739 - Fix netmask string format error and use netHelper. r=vchang 2014-08-13 15:30:01 +08:00
Yoshi Huang
95dabbf0ba 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
76ed9bc551 Bug 1054217 - part 3: rename setSessionToken to checkSessionToken. r=dimi 2014-08-18 17:43:28 +08:00
Yoshi Huang
d7ac11ec33 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
28d58b9bb7 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
608021a46f Bug 1054119 - B2G NFC: Don't process data from nfcd if error. r=dimi 2014-08-13 18:12:27 +08:00
Nigel Babu
1333e406ef Backed out changeset 080926480632 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:59:01 +05:30
Nigel Babu
f70516617e Backed out changeset b658d7efa3b4 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:58:50 +05:30
Vicamo Yang
8f991bbd08 Bug 878533 - 2/2: fix test cases. r=gene, r=smaug 2014-08-18 10:34:16 +08:00
Vicamo Yang
a38ca8b1ef Bug 878533 - 1/2: move MozSmsFilter to webidl dictionary. r=smaug 2014-08-18 10:34:10 +08:00
Jim Mathies
ddf66b6c7d 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
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
Szu-Yu Chen [:aknow]
aad3e91183 Bug 1051715 - Part 2: Also pass number in notifyDialSuccess. r=hsinyi 2014-08-12 23:51:00 -04:00
Szu-Yu Chen [:aknow]
478cb97c56 Bug 1051715 - Part 1: Add temporary clir test. r=hsinyi 2014-08-12 23:50:00 -04:00
Makoto Kato
05ecbcb18a 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
f61c289d4c Bug 1050577: [NFC] Techlost not clearing peer appId correctly. r=allstars.chh 2014-08-11 16:03:35 -07:00
Ryan VanderMeulen
d7de573f64 Merge inbound to m-c. a=merge 2014-08-12 16:24:50 -04:00
Ed Morley
e067296409 Merge mozilla-central and b2g-inbound 2014-08-12 17:54:47 +01:00
Reuben Morais
aad1b5c650 Bug 1009645 - Follow up, disable mozTime test. 2014-08-12 13:50:12 -03:00
Ed Morley
bbebcef8bf Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-12 17:05:36 +01:00
Yoshi Huang
f28c154070 Bug 1052311 - B2G NFC: remove warnings from Nfc.js and NfcContentHelper.js. r=dimi 2014-08-12 17:04:51 +08:00
Jamin Liu
d3a304e7e3 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
c92f96eaa6 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
628526cbe7 Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian 2014-08-12 16:30:26 +08:00
Nigel Babu
654359f1ef Merge m-c to m-i 2014-08-12 12:20:36 +05:30
Alphan Chen
7348810bd4 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
9858b7f9c4 Backed out changeset 2d0ebc1bc7d6 (bug 1036233) for build bustage ON A CLOSED TREE 2014-08-12 09:00:30 +05:30
Nigel Babu
c92019faa9 Backed out changeset c5d50f1bc995 (bug 1036233) for build bustage ON A CLOSED TREE 2014-08-12 09:00:20 +05:30
Nigel Babu
da90530683 Backed out changeset a471c7c73409 (bug 1036234) for build bustage on A CLOSED TREE 2014-08-12 09:00:08 +05:30
Jamin Liu
86709c14f4 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
a33ca7691a 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
c6f4dbe265 Bug 1036233 - Initialize the data member of BluetoothDevice. r=btian 2014-08-12 10:49:43 +08:00
Bobby Holley
573baa0e7a Bug 1050049 - Implement bindToUntrustedContent attribute restriction. r=smaug 2014-08-11 20:06:55 -07:00
Bobby Holley
2157f88dfc Bug 1050049 - Whitelist bindings that we actually expect to use in content. r=smaug 2014-08-11 20:06:55 -07:00
Benoit Jacob
d4b463cdd8 Bug 777574 - Skip all quickCheckAPI tests on all linux/android/emulator slaves - r=kamidphish 2014-08-11 22:57:16 -04:00
Wes Kocher
b04134dbf2 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
1f36877080 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é
1b2c3f60c8 Bug 1051114 - 400 MozInterAppMessagePort registered on frame message manager r=bent 2014-08-11 10:37:09 -07:00
Yoshi Huang
ae558038c0 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]
c0aa8ed457 Bug 1050696 - Refactor TelephonyService.dial. r=hsinyi 2014-08-11 02:48:00 -04:00
Martijn Wargers
174ea37131 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
565f70db0c Merge mozilla-central and inbound 2014-08-12 17:56:08 +01:00
Ryan VanderMeulen
bbbbaa19d4 Backed out changeset 3200ed3305db (bug 1014023) for causing bug 1051164. 2014-08-12 12:44:09 -04:00
Morris Tseng
9dbdb73e4d Bug 1020802 - Pass collapsed and reason information to selectionchange event. r=ehsan, sr=smaug 2014-08-10 20:37:00 -04:00
Kershaw Chang
77d6dbec11 Bug 1020204 - Allow creating nested oop MozApp iframe. r=khuey, r=kanru 2014-08-13 02:18:00 -04:00
Robert O'Callahan
70c695fa57 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
9780343dd6 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
ae6a16193a 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
922821fdc8 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
7ea822125b 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
163cfc3cc8 Bug 950745 - Back out assertions that are triggering too often 2014-08-15 16:16:42 -07:00
Catalin Badea
e92b05a6af Bug 853995 - Move plugin parameters array from nsPluginInstanceOwner to content. r=johns,jst 2014-08-15 14:24:40 -07:00
Henry Chang
d0ab56a9e8 Bug 1037380 - Add system message broadcast filter. r=fabrice 2014-08-06 10:58:22 +08:00
Jan Jongboom
7819db9f82 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-08-13 02:12:00 -04:00
Chris Lord
bf797a46b8 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
63a5782589 Merge m-c to inbound 2014-08-11 16:19:27 -07:00
Wes Kocher
0e8de3ce49 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
552da54d71 Merge inbound to m-c. a=merge 2014-08-11 16:10:07 -04:00
Szu-Yu Chen [:aknow]
4f0650cc40 Bug 1051663 - Correct |this| in REQUEST_DIAL_EMERGENCY_CALL. r=hsinyi 2014-08-11 02:37:00 -04:00
Evelyn Hung
2de8fdc9d0 Bug 1044960 - Remove unnecessary lines from TabChild.cpp. r=kats 2014-08-07 22:10:00 -04:00
Dimi Lee
80c690d47a Bug 936367 - Support wifi hotspot enable API. r=vchang, r=ptheriault, sr=mrbkap 2014-08-11 17:13:25 +08:00
Yoshi Huang
6e2d19f6db 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
0f1e3b3420 Bug 1049351 - [NFC] fix testPeerShouldThrow. r=dimi 2014-08-11 15:45:35 +08:00
Valentin Gosu
0bb663ecce Bug 1051109 - Define non-static method to jsonify interface attributes r=smaug 2014-08-11 01:17:50 +03:00
Jed Davis
66d1734f54 Bug 1043733 - Require sandboxing to load Gecko Media Plugins on Linux. r=jesup r=kang
Also refactors how sandbox support and disabling are handled, and allows
simulating a lack of sandbox support with an env var (for testing
without rebuilding a kernel).
2014-08-12 21:28:27 -07:00
Ryan VanderMeulen
b0e8e0344f Merge m-c to b2g-inbound. a=merge 2014-08-11 17:18:31 -04:00
Olli Pettay
f9c9c2b2db Bug 1050665 - Make returnMessage and returnNumber nullable. r=ehsan, r=smaug to make the commit hook happy
--HG--
extra : amend_source : 089934856605faebd8406c58d3fac94ced73fe46
2014-08-11 07:52:00 -04:00
Fabrice Desré
5d2c441691 Bug 1051114 - 400 MozInterAppMessagePort registered on frame message manager r=bent 2014-08-11 10:37:09 -07:00
Gijs Kruitbosch
c70585374d Bug 1053398 - save xbl bindtountrustedcontent to xul cache as a flag, r=bholley,smaug
--HG--
extra : rebase_source : d0d5d8e12ef36398c9c065f9e4efcac306844916
2014-08-13 23:45:36 +01:00
Seth Fowler
d9a982d9dc Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
David Major
e1781611b1 Bug 1051858: Update UUIDs that should have been revved in bug 741295. r=smaug
--HG--
extra : rebase_source : ec9740e1a9794ae8d974f36a503e97fb2e4fc95e
2014-08-14 10:38:29 +12:00
Bobby Holley
8980f912bc Bug 1052042 - Move the pre-pop GC to AutoEntryScript. r=billm 2014-08-13 15:36:44 -07:00
Bobby Holley
66cb62b573 Bug 1052042 - Make AutoJSAPI MOZ_STACK_CLASS. r=billm
We're about to give AutoEntryScript (a subclass) a non-virtual destructor, which
is safe so long as these things are only stack-allocated.
2014-08-13 15:36:43 -07:00
Ed Morley
fe15d8f328 Merge mozilla-central and inbound 2014-08-13 17:03:24 +01:00
Ed Morley
f8cfdd662d Backed out changeset 1a2dcc132344 (bug 1022818) for B2G failures in test_scroll_behavior.html; CLOSED TREE 2014-08-13 16:31:11 +01:00
Ed Morley
f69a81b897 Backed out changeset d24b367f3ac4 (bug 1022818) 2014-08-13 16:30:50 +01:00
Andrea Marchesini
73a742002b Bug 1043106 - part 2 - StorageEvent should have the storageArea of the correct window, r=smaug 2014-08-13 15:55:44 +02:00
Bob Owen
30b9998991 Bug 1050795 Part 1: Replace nsCxPusher in WorkerRunnable::Run. r=bholley 2014-08-08 16:06:33 +01:00
Yoshi Huang
7694e3e977 Bug 1046554 - Part 1: B2G NFC: pass NFCPeerEvent in onpeerready. r=smaug, dimi 2014-07-31 17:11:04 +08:00
Ryan VanderMeulen
2dc6881d41 Bug 1047842 - Remove assertion annotations that are no longer needed. 2014-08-14 10:29:29 -04:00
Ed Morley
a112ccdf29 Backed out changeset e349895861e2 (bug 1036186) for xpcshell failures 2014-08-14 14:21:46 +01:00
Peter Van der Beken
61527bd1e0 Bug 1036186 - Reset Migration wizard no longer skips the first step to choose a browser. r=smaug.
--HG--
extra : rebase_source : 599d78a04a085304154e8231d5bd2239d025ab22
2014-08-08 15:03:29 +02:00
Aryeh Gregor
15ec3ba67b Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Aryeh Gregor
0b4a8e008c Bug 1052427 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper infallible; r=smaug 2014-08-13 14:53:32 +03:00
Ed Morley
c17dda821c Merge mozilla-central and inbound 2014-08-18 15:32:03 +01:00
Yuan Xulei
ac55ed15d0 Bug 1043843 - Avoid accessing nsIDOMBlob from worker thread. r=dhylands
--HG--
extra : rebase_source : e5199d8023a59d19546c5d1739ac59cb78caf322
2014-08-18 12:00:06 +08:00
Martijn Wargers
b102096d4b 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
William Chen
26ab77ee37 Bug 1029710 - Add null check for container in ShadowRoot::IsPooledNode. r=smaug 2014-08-11 11:26:52 -07:00
Ted Mielczarek
2382567568 bug 1049106 - always build gmp-fake. r=gps 2014-08-11 07:46:46 -04:00
Reuben Morais
9ef413e461 Bug 1009645 - Remove FeatureDetectible, add things with CheckPermissions or AvailableIn to the feature list instead. r=smaug 2014-07-24 16:57:02 -03:00
Kearwood (Kip) Gilbert
a646bb430e Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.
2014-07-21 11:19:00 -04:00
Kearwood (Kip) Gilbert
8965e69815 Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.
2014-07-21 11:04:00 -04:00
Andrea Marchesini
357e6de9ca Bug 1043106 - StorageEvent should have the storageArea of the correct window, r=smaug 2014-08-13 14:56:25 +02:00
Masayuki Nakano
3605e4b124 Bug 1052230 IMEContentObserver shouldn't flush pending notifications again during flushing notifications r=smaug 2014-08-13 20:25:14 +09:00
Ryan VanderMeulen
52228c61ed Merge m-c to inbound. a=merge 2014-08-12 16:30:38 -04:00
Bobby Holley
71e6510763 Bug 1052090 - Don't try to compute main-thread-ness until after we're done with cancel shenanigans. r=bkelly 2014-08-12 12:29:50 -07:00
Ed Morley
2d07117081 Merge mozilla-central and inbound 2014-08-15 17:35:20 +01:00
Sotaro Ikeda
0e78807c21 Bug 1036539 - Add async mode support to GonkNativeWindow r=mikeh,pchang 2014-08-15 07:41:33 -07:00
Tim Taubert
66e3ad7f14 Bug 1048133 - Check key algorithms before using them for encryption/signatures r=rbarnes a=abillings 2014-08-04 14:31:17 +02:00
Andrea Marchesini
fb92456e66 Bug 1036484 - empty 404 worker script should emit a 'error' event, r=khuey
--HG--
rename : dom/workers/test/test_404.html => dom/workers/test/test_bug1036484.html
2014-08-10 15:33:06 +02:00
Brian Birtles
813855dd9b Bug 1040543 part 11 - Make ElementPropertyTransition inherit from Animation instead of AnimationPlayer; r=bz
This patch changes the inheritance of ElementPropertyTransition so that it is
a subclass of Animation not AnimationPlayer.

The only thing special about ElementPropertyTransition is it stores some extra
state for reversing transitions and an extra ValuePortionFor convenience method.
This reversing behavior is implemented by the transition manager by creating
a new AnimationPlayer (i.e. it is *not* a property of the AnimationPlayer). As
a result this extra state can be pushed down to Animation which simplifies the
code significantly.

In future if we implement KeyframeEffect as a separate object we may be able to
push transition-specific state down to KeyframeEffect instead.
2014-08-10 17:06:52 +10:00
Brian Birtles
435e24f424 Bug 1040543 part 10 - Move mIsLastNotification from AnimationPlayer to Animation; r=bz
In this fourth step of dividing functionality between AnimationPlayer and
Animation, we move the mIsLastNotification and related methods/enums from
AnimationPlayer to Animation.

It is somewhat unclear where this belongs. This member is used to determine
which event to send for CSS Animations. The thinking behind moving this to
Animation is that if an animation that has already dispatched its animationstart
event was transferred to a new animation player with a similar current time then
I think it is expected that such an animation would *not* dispatch another
animationstart event. That suggests that event-state is a property of the
Animation not the AnimationPlayer.

Obviously, this needs to be defined somewhere (namely, the CSS Animations <->
Web Animations integration spec likely to become "CSS Animations Level 4"). Once
that behavior is agreed upon, if AnimationPlayer proves to be the more suitable
home for this member then it should be relatively straightforward to move the
member back at that time.
2014-08-10 17:06:51 +10:00