Bug 1084183 - Test for text-decoration for ruby frames. r=dbaron
Bug 1096016 - Fix post barrier insertion for MStoreUnboxedObjectOrNull, r=nmatsakis.
Bug 1067517: Update triggeringPrincipal and loadingDoc for contentPolicy check and in the loadInfo (r=sicking)
Bug 1098990 - Correctly parse version 1 trun segments where the composition time is signed. r=ajones

--HG--
extra : rebase_source : 4e7103f8a9bcd47a481c6db89366a09d033d1920
Bug 1100176 - Avoiding infinite loops when encountering a sidx box. r=ajones

--HG--
extra : rebase_source : 6f957d02ef1fb02a5ec446761e64e69b5922641c
Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert

Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.

--HG--
extra : source : 547e328ef878882bce8df3fc1b1e28926d910f1d
Backed out 2 changesets (bug 1084183) for b2g crashes

Backed out changeset a7e75614e955 (bug 1084183)
Backed out changeset af96c149900b (bug 1084183)
Bug 1073336 part 1 - Move CheckNeedsRefreshes to CommonAnimationManager; r=dbaron

In order to add AnimationPlayerCollection::NotifyPlayerUpdated, collections
need a way of updating their managers to inform them that their mNeedsRefreshes
flag has changed and hence the manager may need to resume observing the refresh
driver.

Currently, only nsAnimationManager makes use of mNeedsRefreshes and provides
a CheckNeedsRefresh method. In order to allow AnimationPlayerCollection to
operate independently of the type of manager it is attached to (and because
there's a lot of similar code here that we eventually want to move to a common
manager anyway), this patch moves CheckNeedsRefreshes and associated
machinery to CommonAnimationManager.
Bug 1073336 part 2 - Call CheckNeedsRefresh from within EnsureStyleRuleFor; r=dbaron

Now that CheckNeedsRefresh is a member of the base class,
CommonAnimationManager, we no longer need to rely on callers of
AnimationPlayerCollection::EnsureStyleRuleFor to remember to call this method
but can do it automatically.
Bug 1073336 part 3a - Allow TimeStamp == and != operators to work with null timestamps; r=froydnj
Bug 1073336 part 3b - Add nsPresContext::ClearLastStyleUpdateForAllAnimations; r=dbaron
Bug 1073336 part 4 - Add CommonAnimationManager::CollectionUpdated; r=dbaron

Adds a method to the animation manager base class to handle changes to one of
its associated collections.
Bug 1073336 part 5 - Add AnimationPlayerCollection::PlayerUpdated; r=dbaron
Bug 1073336 part 6 - Add CSSTransitionPlayer; r=dbaron

In order to be able to find the collection a player belongs to from its source
content, we first need to be able to determine which manager--the animation
manager or transition manager--to look up.

We eventually plan to push transition event dispatch down to a CSS
transitions-specific subclass of AnimationPlayer, so this seems like a suitable
point to introduce this class.

Using this subclass we can define a virtual GetManager method that will
return the appropriate animation/transition manager for the player.
Bug 1073336 part 7 - Move style flushing to CSSAnimationPlayer and CSSTransitionPlayer; r=dbaron

Previously AnimationPlayer::Play() and AnimationPlayer::PlayState() would flush
styles as part of their operation. This, however, is only needed when the player
corresponds to a CSS Animation or CSS Transition. Now that we have concrete
subclasses for each of these cases we can move style flushing to the subclasses
and remove it from the base class (which is expected to be shared with
animations that are not dependent on style).
Bug 1073336 part 8 - Add protected AnimationPlayer::GetRenderedDocument(); r=dbaron

In order for AnimationPlayer objects to be able to notify their
collection/manager, the can either store an extra pointer member, or they can
navigate to the collection as follows:

  player->source(animation)->target(element)->document
    ->presShell->presContext->manager->collection

This patch adds a getter for the first part of this journey up to the document.
Bug 1073336 part 9 - Add protected AnimationPlayer::GetPresContext(); r=dbaron

This patch adds a further getter to find the pres context associated with an
animation player's target element, if any.
Bug 1073336 part 10 - Add AnimationPlayer::GetAnimationManager(); r=dbaron

This patch introduces an abstract method to AnimationPlayer to fetch the manager
object associated with the player. This method is implemented separate by
CSSAnimationPlayer and CSSTransitionPlayer to return the nsAnimationManager or
nsTransitionManager accordingly.
Bug 1073336 part 11 - Move GetAnimationPlayers to base CommonAnimationManager class; r=dbaron

nsAnimationManager provides GetAnimationPlayers while nsTransitionManager
provides GetElementTransitions. Both perform the same function, namely, fetching
(and optionally creating if it does not exist) the AnimationPlayerCollection for
the specified element/pseudo. Furthermore, both take the same arguments.

This patch aligns the method names and makes this a virtual method on the base
class CommonAnimationManager so that it can be used generically from a pointer
to a CommonAnimationManager.
Bug 1073336 part 12 - Add AnimationPlayer::GetCollection(); r=dbaron

This patch adds a method to animation players that looks up the
AnimationPlayerCollection to which the player belongs.