Commit Graph

42357 Commits

Author SHA1 Message Date
L. David Baron
9ef7370ff4 Back out changeset 9ebcec50fefa (bug 1223261) for causing unacceptable levels of intermittent orange (bug 1230015, bug 1230020). a=orange 2015-12-05 15:18:32 -08:00
Carsten "Tomcat" Book
26294de0ad merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
Carsten "Tomcat" Book
f302b4d743 merge fx-team to mozilla-central a=merge 2015-12-04 11:56:25 +01:00
Phil Ringnalda
58ed358eb2 Back out ce4623289f7f (bug 1230054) for crashtest bustage in 789075-1.html/795892-1.html, Android mochitest-chrome bustage in test_texttrack_chrome.html, and probably Gij video_list_test.js
CLOSED TREE
2015-12-03 22:12:01 -08:00
Jean-Yves Avenard
1ed121d22a Bug 1230054: Add missing headers ON A CLOSED TREE. r=me 2015-12-04 15:56:46 +11:00
Chris Pearce
f61ff48762 Bug 1230272 - Remove version suffix from keySystem string reported by MediaKey*.keySystem attribute. r=gerald 2015-12-04 17:35:40 +13:00
Jean-Yves Avenard
09e1bda98d Bug 1230353: P1. Ensure type and subtype of MIME are lowercase. r=bz
As per RFC 2616 section 3.7, which states "The type, subtype, and parameter attribute names are case-insensitive". So ensure the type and subtype are always lower-case as all our comparisons assume that they are.
2015-12-04 15:24:24 +11:00
Jean-Yves Avenard
428aa4f0ea Bug 1230054: Remove unused WebMReader. r=kinetik 2015-12-04 15:23:43 +11:00
Mark Capella
0bfd271eb4 Bug 1215959 - (GeckoCarets2) - skip-if overlooked perma-orange test 2015-12-03 22:58:08 -05:00
Jean-Yves Avenard
de89a1bca0 Bug 1229605: [MSE] Allow webm/audio independently of video. r=kentuckyfriedtakahe
This adds a media.mediasource.webm.audio.enabled preference (true by default) to disable opus or vorbis audio in webm mediasource.
2015-12-04 14:43:47 +11:00
Jean-Yves Avenard
cc0d27a37f Bug 1191833: P1. Properly check webm mimetype against codec type. r=cpearce
Also move the logic inside WebMDecoder, this continue on with the logic used by MP4Decoder
2015-12-04 14:43:46 +11:00
Ben Tian
924af82bbf Bug 1230066 - Add missing STATUS_AUTH_REJECTED into enum BluetoothStatus,r=tzimmermann 2015-12-03 18:25:03 +08:00
Wes Kocher
355235a91e Merge fx-team to central, a=merge 2015-12-03 16:07:50 -08:00
Chris Pearce
721114d8a6 Bug 1230026 - Add test for 'webm' initDataType for ClearKey initData. r=gerald 2015-12-04 07:24:32 +13:00
Chris Pearce
af59514dee Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald 2015-12-04 07:24:11 +13:00
Olli Pettay
69f939fe3e Bug 1229760 - CustomElement registry keeps strong reference to the unresolved elements, r=wchen 2015-12-03 18:21:04 +02:00
Mark Capella
3f9cc6b5d2 Bug 1215959 - (GeckoCarets2) - Flip on by default in nightly, r=snorp 2015-12-03 13:33:15 -05:00
David Rajchenbach-Teller
810c3093bf Bug 1219150 - EventStateManager::{LatestUserInputStart, UserInputCount};r=smaug
To detect slow behaviors, it is useful to find out whether a user
input was handled between two instants.

This patch introduces EventStateManager::UserInputCount, which lets
client code determine whether user input was handled between two
points of execution, and EventStateManager::LatestUserInputStart,
which lets client code find out when the altest user input was
handled.
2015-12-03 17:40:45 -08:00
Jan Beich
c592cbd9e4 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Chris Peterson
57d527d933 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
JW Wang
9f6cdac8ef Bug 1230004. Part 2 - have MDSM::BeginShutdown return a promise and remove MDSM::mDecoder. r=cpearce. 2015-12-03 15:59:44 +08:00
JW Wang
4ede6a0cac Bug 1230004. Part 1 - cache data in MDSM so it won't need to ask MediaDecoder. r=cpearce. 2015-12-03 15:59:30 +08:00
Matt Woodrow
0302180707 Bug 1230338 - Record video frames dropped by the compositor, or while flushing during skip-to-keyframe. r=jya 2015-12-04 13:33:21 +13:00
Wes Kocher
831aaa75c0 Merge m-c to inbound, a=merge 2015-12-03 16:11:01 -08:00
Andrew McCreight
fe045cec6f Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug 2015-12-03 14:03:12 -08:00
Wes Kocher
2959d0906d Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)
2015-12-03 15:56:59 -08:00
Jeff Gilbert
8ccec81bc1 Bug 1228711 - Cubemap images must be square. - r=benwa 2015-12-03 15:38:06 -08:00
Wes Kocher
f2b9245dc2 Backed out 2 changesets (bug 1230118, bug 1230110) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset a9ce85f77af9 (bug 1230118)
Backed out changeset b9d8d05aa4ee (bug 1230110)
2015-12-03 15:38:04 -08:00
Brian Birtles
38b3df3ef5 Bug 1226118 part 15 - Remove no-longer-necessary delays from test_running_on_compositor.html; r=hiro
Since part 3 in this patch series updated the way we clear the "running on
compositor" flag, we can update these tests so they no longer wait for this
flag (see bug 1226118 comment 21).
2015-12-04 08:34:18 +09:00
Brian Birtles
df158e0d92 Bug 1226118 part 12b - Rename CommonAnimationManager::GetAnimations to GetAnimationCollection; r=dholbert
This is to align with the existing GetAnimationCollection method that takes
a frame. Also, by making this name more specific hopefully it will be used less
since we are trying to move as much code as possible over to using EffectSet
instead of AnimationCollection.
2015-12-04 08:34:17 +09:00
Brian Birtles
4e070f4c17 Bug 1226118 part 8 - Add EffectCompositor::GetAnimationsForCompositor that uses the EffectSet rather than AnimationCollection; r=dholbert
This added method should behave in an equivalent manner to the existing
CommonAnimationManager::GetAnimationsForCompositor except for the following
differences:

* It uses the EffectSet attached to a target element rather than one of the
  AnimationCollection object on the owning element.

* It returns an array of Animation objects consisting of only those Animations
  that actually have the specified property as opposed to the
  AnimationCollection consisting of *all* CSS animations or *all* CSS
  transitions for the element regardless of whether they run on the compositor
  or not.

It may not be obvious why these two methods otherwise behave in an equivalent
fashion so the following explains how the existing code is mirrored in the new
method.

The existing code is as follows:

> AnimationCollection*
> CommonAnimationManager::GetAnimationsForCompositor(const nsIFrame* aFrame,
>                                                    nsCSSProperty aProperty)
> {
>   AnimationCollection* collection = GetAnimationCollection(aFrame);
>   if (!collection ||
>       !collection->HasCurrentAnimationOfProperty(aProperty) ||
>       !collection->CanPerformOnCompositorThread(aFrame)) {
>     return nullptr;
>   }
>
>   // This animation can be done on the compositor.
>   return collection;
> }

The new EffectCompositor::GetAnimationsForCompositor begins with two checks
performed at the beginning of CanPerformOnCompositorThread: the checks for
whether async animations are enabled or not and whether the frame has refused
async animations since these are cheap and it makes sense to check them first.

The next part of EffectCompositor::GetAnimationsForCompositor checks if there is
an EffectSet associated with the frame. This is equivalent to the check whether
|collection| is null or not above.

Following, we iterate through the effects in the EffectSet.

We first check if each effect is playing or not. In the above code,
HasCurrentAnimationOfProperty only checks if the effect is *current* or not.
However, CanPerformOnCompositorThread will only return true if it finds an
animation that can run on the compositor that is *playing*. Since playing is
a strict subset of current we only need to perform the more restrictive test.

Next we check if the effect should block running other animations on the
compositor. This is equivalent to the remainder of CanPerformOnCompositorThread.
Note that the order is important here. Only playing animations should block
other animations from running on the compositor. Furthermore, this needs to
happen before the following step since animations of property other than
|aProperty| can still block animations from running on the compositor.

Finally, we check if the effect has an animation of |aProperty|. This is
equivalent to the remainder of HasCurrentAnimationOfProperty.

If all these checks succeed, we add the effect's animation to the result to
return.
2015-12-04 08:34:12 +09:00
Brian Birtles
01072f313f Bug 1226118 part 7 - Rename and rework KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor to ShouldBlockCompositorAnimations; r=hiro
KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor has a comment that says
it, "Returns true |aProperty| can be run on compositor for |aFrame|" but it
does nothing of the sort.

What it *does* do is check answer the question, "If there happened to be an
animation of |aProperty| on |aFrame|, should we still run animations on the
compositor for this element?".

This patch renames the method accordingly and moves the step where we iterate
over a given effect's animated properties from
AnimationCollection::CanPerformOnCompositor to inside this method, making this
method a class method rather than a static method at the same time.

As noted in the expanded comment, the approach of blocking opacity animations
in these situations seems unnecessary but for now this patch just preserves the
existing behavior.
2015-12-04 08:32:53 +09:00
Brian Birtles
657ea3b306 Bug 1226118 part 5 - Move LogAsyncAnimationFailure to AnimationUtils; r=dholbert
This patch also moves AnimationUtils out of the dom namespace since it seems
unnecessary. We typically only put actual DOM interfaces in the dom namespace.
2015-12-04 08:32:53 +09:00
Brian Birtles
ec42c2b226 Bug 1226118 part 3 - Use EffectSet in CommonAnimationManager::ClearIsRunningOnCompositor; r=hiro, r=dholbert 2015-12-04 08:32:53 +09:00
Brian Birtles
1525268b3d Bug 1226118 part 1 - Add EffectSet::GetEffectSet(const nsIFrame*); r=dholbert 2015-12-04 08:32:52 +09:00
Blake Kaplan
cba4151a41 Bug 1116478 - Open web content handlers in the proper tab in e10s. r=billm 2015-12-03 15:04:28 -08:00
Andrew McCreight
f44fa434ce Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug 2015-12-03 14:03:12 -08:00
Nicholas Nethercote
7e3ab1c697 Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond. 2015-12-02 14:32:55 -08:00
Catalin Badea
2034aee970 Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug 2015-12-03 23:19:29 +02:00
Catalin Badea
79faf0518a Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-03 23:19:29 +02:00
Ralph Giles
2c558f1b8e Bug 1228721 - Conditionalize other webvtt navigator access. r=kinetik
Missed this in the previous commit.
2015-12-03 09:32:00 -08:00
Jeff Muizelaar
dc1ad09c39 Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Carsten "Tomcat" Book
b0525f779e merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Matthew Noorenberghe
8cb6229298 Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru 2015-12-02 16:13:18 -08:00
Carsten "Tomcat" Book
eb99d7cf4d merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Carsten "Tomcat" Book
670f934965 merge fx-team to mozilla-central a=merge 2015-12-02 15:17:31 +01:00
Carsten "Tomcat" Book
d3ab3ee993 Backed out changeset fdbc50946db3 (bug 1223297) for test failures 2015-12-02 11:56:45 +01:00
Carsten "Tomcat" Book
86da605994 Backed out changeset 720b3adb1df5 (bug 1137681) since this need to be out too on a CLOSED TREE 2015-12-02 11:50:27 +01:00
Nigel Babu
c321f2db0e Backed out changeset 1e400c0266e5 (bug 1224887) for build bustage
ON A CLOSED TREE
2015-12-02 14:51:30 +05:30
JW Wang
2ce834249e Bug 1228939 - 1. add mSeekable to MediaInfo. 2. use MediaEventSource to notify the decoder when the media is not seekable. 3. remove unused code. r=jya. 2015-12-02 15:42:32 +08:00