Commit Graph

219990 Commits

Author SHA1 Message Date
Jed Davis
c4bed9c7d1 Bug 1112747 - Change mozilla::plugins::IPCByteRanges from std::vector to nsTArray. r=jimm 2014-12-17 12:57:00 -05:00
Dave Hunt
5ec0d69ee9 Bug 1112545 - Bump marionette_client version to 0.8.6. r=mdas 2014-12-17 03:24:00 -05:00
Patrick Brosset
a848b6c122 Bug 1112465 - Fix crashes when navigating to XUL window with devtools opened by checking for GetCanvasFrame in RemoveAnonymousContent. r=ehsan 2014-12-17 04:38:00 -05:00
Antonio M. Amaya
c06a53c8a1 Bug 1110119 - At first boot time, check that the app being preinstalled doesn't already exist by manifestURL. r=fabrice 2014-12-11 08:00:00 -05:00
Alexandre Lissy
f6530f14d9 Bug 1110063 - Open readonly transaction for settings lock when possible. r=qdot
Whenever a settings lock does only read operations (i.e. lock.get()),
there is no need that the underlying indexedDB transaction should be
opened as readwrite. Doing so, we will be able to parallelize some
request and avoid locking that should in the end allow for faster
operations. Enabling this feature is controlled by the preference
dom.mozSettings.allowForceReadOnly, defaulting to false for now.
2014-12-17 09:30:00 -05:00
JW Wang
8e0a12e1f8 Bug 1082203 - Route CDMCallbackProxy::Terminated to MediaKeys::Terminated so MediaKeys has a chance to handle CDM crashes and close sessions if necessary. r=cpearce 2014-12-16 20:01:00 -05:00
Arnaud Bienner
e5fd6c5aed Bug 826176 - Remove similar file picker filters from accept attribute. r=smaug 2014-12-16 22:58:50 +01:00
Arnaud Bienner
1a984d16a7 Bug 826176 - File extension support for accept attribute. r=smaug 2014-11-29 12:22:30 +01:00
Nicholas Nethercote
d335ff94c5 Bug 1100851 (follow-up 2) - Fix more trivial bustage in |mach run --dmd|. r=glandium.
DONTBUILD because NPOTB.

--HG--
extra : rebase_source : 906b0ccf483fb5ab6be3fc9cef8482f28b38844f
2014-12-17 18:24:38 -08:00
Ryan VanderMeulen
4712c6da5b Merge m-c to inbound. a=merge
CLOSED TREE
2014-12-17 21:03:11 -05:00
Ryan VanderMeulen
c721b2d151 Backed out changeset dc6994acf4e3 (bug 1109457) for EME test failures and crashes.
CLOSED TREE
2014-12-17 20:57:12 -05:00
Ryan VanderMeulen
d2ebc2ac1b Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Ryan VanderMeulen
497c11530b Merge fx-team to m-c. a=merge 2014-12-17 20:41:21 -05:00
Ryan VanderMeulen
80d00d06d6 Bug 1087611 - Disable test_bug968148.html on Mulet. 2014-12-17 20:39:08 -05:00
Christoph Kerschbaumer
7d90906dd1 Bug 1112782 - Update Redirect handling for CSP followup - CLOSED TREE (r=me) 2014-12-17 17:04:16 -08:00
Bobby Holley
8eb8000f06 Bug 1101416 - Don't assert against pending exceptions in AutoNoJSAPI. r=luke,r=smaug 2014-12-17 16:34:37 -08:00
Brian Hackett
78b38f114b Bug 1111363 - Allow trace list slots in type descriptors to retain their initial undefined value, r=sfink. 2014-12-17 17:31:31 -07:00
Brian Hackett
e8f1ccd64f Bug 1111326 - Support BaseIndexes with non-zero offsets in ARM MacroAssembler methods, r=mjrosenb. 2014-12-17 17:25:07 -07:00
Chris Pearce
566b7d3597 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-18 13:23:27 +13:00
Brian Hackett
195a28372d Bug 1111194 - Fix write barrier triggering for TypeObject addendum changes, r=nmatsakis. 2014-12-17 16:57:56 -07:00
Brian Hackett
3aa302c3a9 Bug 1109610 - Remove unnecessary MOZ_CRASH, r=nmatsakis. 2014-12-17 16:55:35 -07:00
Brian Hackett
e920f754dd Bug 1109907 - Add missing OOM check, r=nmatsakis. 2014-12-17 16:54:17 -07:00
Brad Lassey
46cfae8bb2 bug 1112338 - increase max output stream to 720p r=rbarker, mfinkle 2014-12-17 18:38:09 -05:00
B2G Bumper Bot
d50e7430ee Bumping manifests a=b2g-bump 2014-12-17 15:31:58 -08:00
B2G Bumper Bot
7118466126 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/fbcff6610f8b
Author: Martijn <martijn.martijn@gmail.com>
Desc: Merge pull request #26831 from npark-mozilla/1112227_multifiledeletion

Bug 1112227 - Create a new test case for the multi-file deletion in gallery app

========

https://hg.mozilla.org/integration/gaia-central/rev/0a4b6b0970dc
Author: No-Jun <npark@mozilla.com>
Desc: Bug 1112227 - Create a new test case for the multi-file deletion in gallery app
2014-12-17 15:22:18 -08:00
Christoph Kerschbaumer
87c760cce5 Bug 1112782 - Update Redirect handling for CSP (r=sstamm) 2014-12-17 14:19:25 -08:00
David Anderson
c6a362e7e4 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Brian Birtles
bb3b4e4dde Bug 927349 part 7 - Factor out AnimationTimeline::GetRefreshDriver into a separate method; r=jwatt
This is in preparation for adding AnimationTimeline::FastForward in the next
patch which will reuse this code.
2014-12-18 08:42:41 +09:00
Brian Birtles
af018f53f0 Bug 927349 part 6 - Rename AnimationPlayer::ResolveStartTime to AnimationPlayer::StartNow; r=jwatt
ResolveStartTime is a bit hard to understand. Eventually, once we implement
SetStartTime, we can probably remove this method altogether and just use that.
This renaming moves us closer to that direction.

This patch also adjusts a comment about the preconditions for calling StartNow.
This is because in a subsequent patch in this series we will update the
assertion at the beginning of StartNow to simply check that the player is
pending.
2014-12-18 08:42:41 +09:00
Brian Birtles
c59d2a6a21 Bug 927349 part 5 - Cancel players that are no longer used; r=jwatt
This patch adds a means of terminating an animation so that is has no effect.
The procedure is defined by Web Animations:

  http://w3c.github.io/web-animations/#cancelling-a-player-section

We don't implement all of this, however, since we don't currently support the
finished promise or custom effects.

In a later bug we will expose this as the cancel() method on AnimationPlayer.

We call this method for terminated animations in nsAnimationManager and
nsTransitionManager to ensure they get removed from the pending player tracker
and so that, for example, the ready promise of CSS Animation player objects is
rejected when the corresponding item is removed from animation-name.
2014-12-18 08:42:41 +09:00
Brian Birtles
e6457d3ab6 Bug 927349 part 4 - Make the ready Promise be created lazily; r=heycam
In Bug 1104435 we made the initial ready promise be created lazily. This patch
takes this a step further and makes sure we don't create the promise at all
unless it is explicitly requested.
2014-12-18 08:42:41 +09:00
Brian Birtles
cf0332d17b Bug 927349 part 3 - Cancel a pending play when pause is called; r=jwatt
This patch updates the pause procedure for AnimationPlayer so that if there is
a pending play it will be cancelled.

At the same it removes the existing check for a redundant call to Pause when we
are already paused. This check is not necessary since if we are already paused
the method will have no effect anyway.

Finally, this patch updates the comment about going to the pending state while
pausing since this will happen in bug 1109390.
2014-12-18 08:42:41 +09:00
Brian Birtles
66b26c1ab7 Bug 927349 part 2 - Add AnimationPlayer::mIsPending and return "pending" from AnimationPlayer::PlayState(); r=jwatt
This patch adds a member for tracking if a player is currently pending or not
and uses this to return the "pending" state from PlayState(). We don't currently
set mIsPending to true yet, however.

Additionally, this patch updates AnimationPlayer::ComposeStyle to set
aNeedsRefreshes to true when the player is pending. This is used by the
appropriate animation/transition manager to determine if it should continue to
observe the refresh driver or not.
2014-12-18 08:42:41 +09:00
Brian Birtles
9b03999995 Bug 927349 part 1 - Add PendingPlayerTracker; r=jwatt
This patch adds a hashtable to nsDocument that stores all the animation players
that are currently waiting to start. In the future it may also be used to store
players that are waiting to pause which is why the methods are called
AddPlayPending/RemovePlayPending instead of just AddPlayer/RemovePlayer.
2014-12-18 08:42:41 +09:00
Brian Birtles
5c1ac47e3d Bug 1104435 part 9 - Make getting AnimationPlayer.ready flush for CSS Animation players; r=heycam 2014-12-18 08:42:41 +09:00
Brian Birtles
74b273c3c9 Bug 1104435 part 8 - Add tests for AnimationPlayer.ready; r=heycam 2014-12-18 08:42:40 +09:00
Brian Birtles
d0127f7d91 Bug 1104435 part 7 - Update AnimationPlayer tests to wait on ready promise; r=heycam
AnimationPlayer.ready will currently always be resolved but by updating these
tests to wait on it anyway they should continue to work once we introduce the
delayed animation start behavior.
2014-12-18 08:42:40 +09:00
Brian Birtles
2c789d549f Bug 1104435 part 6 - Use step_func inside Promise callbacks; r=heycam
Since bug 1104433, step_func now passes on the return value of its callback.
That means we can use it directly as a Promise callback function in Promise
chains where the return value of the function is another Promise.

This patch updates existing tests to eliminate the awkward handling we had
around wrapping some parts of Promise callbacks in step() but leaving the return
statement outside it.
2014-12-18 08:42:40 +09:00
Brian Birtles
d9a946f696 Bug 1104435 part 5 - Factor out common animation test methods into testcommon.js; r=heycam
This patch moves commonly used addDiv and waitForFrame test methods to
a separate testcommon.js support file.

It also takes advantage of the updates to testharness.js from bug 1104433 to
rework addDiv such that it automatically removes the created div at the end of
the test.
2014-12-18 08:42:40 +09:00
Brian Birtles
99ec18baa2 Bug 1104435 part 4 - Create and resolve new ready promises on play(); r=heycam
Every time we call play() (and in future pause()) we should create a new Promise
object and then fulfill it when we complete the play() operation.

This patch adds that step. This allows us to tweak test cases that currently
expect animations to start immediately so that by waiting on this promise they
will continue to work when we introduce the delayed start behavior in bug
927349.

We should also resolve the ready promise when we are in the pending state and
pause() is called. However, since we currently never enter the pending state we
don't need to add this just yet.
2014-12-18 08:42:40 +09:00
Brian Birtles
9449535feb Bug 1104435 part 3 - Add AnimationPlayer.ready promise; r=smaug
This patch simply adds the ready promise to AnimationPlayer. Creating new
promises and resolving them is added in a subsequent patch.
2014-12-18 08:42:40 +09:00
Brian Birtles
1171c76488 Bug 1104435 part 2 - Make AnimationPlayer derive from nsISupports; r=smaug
Web Animations defines the AnimationPlayer.ready Promise as type
Promise<AnimationPlayer>. This promise resolves to the AnimationPlayer object on
which it is defined. However, in order to be able to pass AnimationPlayer as
a resolution value it needs to implement nsISupports.

This patch makes AnimationPlayer derive from nsISupports.
2014-12-18 08:42:40 +09:00
Brian Birtles
08f14db851 Bug 1104435 part 1 - Make AnimationTimeline::GetParentObject return an nsIGlobalObject; r=smaug
In order to create a Promise object for AnimationPlayer.ready, we need an
nsIGlobalObject. Currently we can access this through the following chain:

  AnimationPlayer -> AnimationTimeline -> Document -> nsIGlobalObject

Come bug 1096776 (Support AnimationPlayers without a timeline or with an
inactive timeline) we will no longer be able to rely on having an
AnimationTimeline so we will probably have to store the corresponding window
object on the AnimationPlayer. For now, however, we can look up the timeline as
above.

This patch makes this a little more straightforward by changing the return type
and value of AnimationTimeline::GetParentObject to return the nsIGlobalObject of
the document with which it is associated.
2014-12-18 08:42:40 +09:00
Matt Woodrow
6803e9da49 Bug 1112446 - Add logging for media queue lengths. r=ajones 2014-12-18 12:41:19 +13:00
Matt Woodrow
f42951b637 Bug 1112444 - Add a pref to force each appended MSE segment to be in its own decoder. r=ajones 2014-12-18 12:39:34 +13:00
Paolo Amadini
afc20ecc87 Bug 1088508 - Update Loop button icon images and rendered size. r=jaws
--HG--
rename : browser/themes/windows/loop/toolbar-XPVista7.png => browser/themes/windows/loop/toolbar-aero.png
2014-12-17 20:42:29 +00:00
Dan Mosedale
5f6686adce Bug 1110507-Loop self-image can be cropped by scrolling out of view (privacy), r=jaws 2014-12-17 12:27:03 -08:00
Nicholas Nethercote
84f6830b78 Bug 1100851 (follow-up) - Fix trivial bustage in |mach run --dmd|. r=glandium.
DONTBUILD because NPOTB.
2014-12-16 20:46:40 -08:00
Prabhjyot Singh Sodhi
7ddff31846 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
Terrence Cole
2131dcb070 Backout e7664dbdbfd6 (Bug 1110931) for regressing Octane-Splay performance; r=no-benchmark-left-behind 2014-12-17 14:04:16 -08:00