Commit Graph

187783 Commits

Author SHA1 Message Date
Brian Birtles
dc9a1323de Bug 1004365 part 4 - Make nsAnimationManager.cpp no longer skip zero-duration animations; r=dholbert 2014-06-11 14:19:08 +09:00
Brian Birtles
4c93a95f0f Bug 1004365 part 3b.2 - Make ElementAnimation::GetComputedTimingAt handle zero-duration animations; r=dholbert
This patch adjusts GetComputedTimingAt to set the time fraction and current
iteration fields of the output computed timing correctly for animations with
zero iteration duration. Care must be taken to handle cases such as animations
that have zero duration but repeat infinitely.

The code is significantly re-arranged to more closely align with the naming and
algorithms defined in Web Animations.

A couple of tests in test_animations.html have been tweaked to account for
floating-point error. This is not because the new code is less precise but
actually the opposite. These tests fall on the transition point of step-timing
functions. The new code uses the closest possible floating-point representation
of these times which happens to cause them to fall on the opposite side of the
transition point.

For example, in evaluating a point 3s into a reversed interval the old code
would give us an intermediate time fraction of:

   0.29999999999999982

When we reverse that by subtracting from 1.0 we get: 0.70000000000000018

With the code in this patch we get an intermediate time fraction of:

   0.29999999999999999

When we reverse that by subtracting from 1.0 we get: 0.69999999999999996

Hence we fall on the opposite side of the transition boundary.
2014-06-11 14:19:08 +09:00
Brian Birtles
9cd18959bd Bug 1004365 part 3b.1 - Add % operator to TimeDuration; r=froydnj 2014-06-11 14:19:08 +09:00
Brian Birtles
10b4d4aa45 Bug 1004365 part 2 - Add TimeDuration != operator; r=froydnj 2014-06-11 14:19:07 +09:00
Brian Birtles
d53dba2b6a Bug 1004365 part 1 - Make active duration calculation handle zero-duration animations; r=dholbert
This patch also makes ElementAnimation::ActiveDuration a static method that
takes timing parameters as an argument. This is so that this method can be
used within ElementAnimations::GetComputedTimingAt (a static method) in a
future patch.

We could also make ActiveDuration() a method of AnimationTiming. I suspect
this logic belongs together in ElementAnimation however.

In a future patch we could also add the active duration to the ComputedTiming
struct which would simplify the only other place this is currently used
which is ElementAnimations::GetEventsAt.
2014-06-11 14:19:07 +09:00
Bobby Holley
a08069015a Bug 1008481 - Even more debugging output. r=me DONTBUILD 2014-06-10 21:44:32 -07:00
Chris Peterson
ce766e4253 Bug 1023075 - Fix more clang warnings in webrtc/signaling. r=jesup 2014-06-09 22:42:11 -07:00
Chris Peterson
82b5f85f3c Bug 1018680 - Fix jsd_xpc.cpp warning and mark js/ductwork, js/jsd, and js/xpconnet as FAIL_ON_WARNINGS. r=ejpbruel 2014-05-31 19:50:24 -07:00
Shian-Yow Wu
a692e2e20f Bug 1022607 - Only cache the response when the readyState is DONE. r=bent 2014-06-11 11:37:47 +08:00
Bobby Holley
19c79b3dbd Bug 1020460 - Array.prototype.toSource should be generic. r=jorendorff 2014-06-10 20:15:56 -07:00
Bobby Holley
da5622f8f9 Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor 2014-06-10 20:15:56 -07:00
Boris Zbarsky
131179a544 Bug 1019417. When enumerating the window, make sure to not enumerate frame names that we wouldn't actually expose. r=bholley 2014-06-10 22:50:21 -04:00
Boris Zbarsky
4788a701b6 Bug 1020715. Remove the quickstubs for quota API. r=peterv 2014-06-10 22:38:06 -04:00
Mike Hommey
32cc5addf8 Bug 1019881 - Ensure the default purgeable zone is after the default zone on OS X. rs=njn 2014-06-11 11:07:27 +09:00
Cameron McCormack
af5c47642f Bug 1023655 - Remove DOCTYPEs from SVG documents to avoid failed DTD loads. r=Unfocused 2014-06-11 12:08:23 +10:00
Wes Kocher
71d8b72158 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Wes Kocher
c37442c812 Merge fx-team to m-c a=merge 2014-06-10 18:47:36 -07:00
Wes Kocher
1065aa48a9 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
Wes Kocher
2424985e2c Back out and reland changeset 99eee26d1017 (bug 1023472) so I can get around the m-c commit hook by adding a=merge 2014-06-10 18:27:19 -07:00
Geoff Brown
2bd4d26543 Bug 982915 - Use different expected assertion range for layout/base/crashtests/898913.html on Android; r=dholbert 2014-06-10 19:10:10 -06:00
Geoff Brown
97114eee1e Bug 982961 - Use different expected assertion range for layout/generic/crashtests/847209.html on Android; r=dholbert 2014-06-10 19:10:10 -06:00
Guillaume Abadie
0dff36b441 Bug 1022077 - Fixes a bug in WebGL's vertex array objects' software implementation - r=jgilbert 2014-06-10 17:23:50 -07:00
Guillaume Abadie
1c3daa9c13 Bug 1022272 - Lets WebGL's draw{Arrays,Elements}() generate INVALID_OPERATION when all vertex attributes' divisor are different of 0 - r=jgilbert 2014-06-10 17:23:49 -07:00
B2G Bumper Bot
f011d49835 Bumping manifests a=b2g-bump 2014-06-10 14:46:14 -07:00
B2G Bumper Bot
c38168b953 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/16222b624638
Author: Jared Hirsch <ohai@6a68.net>
Desc: Merge pull request #19903 from 6a68/bug-1004251-fxa-resend-email

Bug 1004251 fxa resend email

========

https://hg.mozilla.org/integration/gaia-central/rev/2f12bd24aa63
Author: Jared Hirsch <ohai@6a68.net>
Desc: Bug 1004251 - Add resend verification email to firefox accounts. r=ferjm,arthurcc
2014-06-10 14:40:44 -07:00
B2G Bumper Bot
c9529ea1ca Bumping manifests a=b2g-bump 2014-06-10 14:13:56 -07:00
B2G Bumper Bot
1f1147b1d2 Bumping manifests a=b2g-bump 2014-06-10 13:36:16 -07:00
B2G Bumper Bot
558563c3db Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/95b3d31808d9
Author: Miller Medeiros <miller@millermedeiros.com>
Desc: Merge pull request #20102 from millermedeiros/1007519-toggle-calendar-test

Bug 1007519 - Perma failing test, toggle calendar r=gaye

========

https://hg.mozilla.org/integration/gaia-central/rev/f4cb77aa1ddc
Author: Miller Medeiros <miller@millermedeiros.com>
Desc: Bug 1007519 - Perma failing test, toggle calendar
2014-06-10 13:31:38 -07:00
B2G Bumper Bot
41b90dac55 Bumping manifests a=b2g-bump 2014-06-10 13:11:34 -07:00
B2G Bumper Bot
798a2747e0 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/789d0a2d423b
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #20197 from KevinGrandon/bug_1022383_collection_columns

Bug 1022383 - [Collection App] Should show four columns instead of three

========

https://hg.mozilla.org/integration/gaia-central/rev/2061a10e8d9a
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1022383 - [Collection App] Should show four columns instead of three r=amirn
2014-06-10 13:06:13 -07:00
B2G Bumper Bot
b6ec6bdfec Bumping manifests a=b2g-bump 2014-06-10 12:56:46 -07:00
B2G Bumper Bot
1ca61b14de Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/92a1426bcd55
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #20308 from KevinGrandon/bug_1023426_vertical_remove_zoom

Bug 1023426 - [Vertical] Remove zoom feature

========

https://hg.mozilla.org/integration/gaia-central/rev/d328d1c72577
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1023426 - [Vertical] Remove zoom feature r=me
2014-06-10 12:50:54 -07:00
Wes Johnston
2540cb7a79 Bug 1019613 - Fix click event ordering in about:apps. r=mfinkle 2014-06-10 12:47:27 -07:00
Wes Johnston
193059b555 Bug 1019613 - Fix click event ordering in about:apps. r=mfinkle 2014-06-10 12:43:27 -07:00
Wes Johnston
f41c375dd7 Bug 1020995 - Contextmenus should fire on children of highlighted element. r=margaret 2014-06-10 12:42:17 -07:00
B2G Bumper Bot
0879e19694 Bumping manifests a=b2g-bump 2014-06-10 12:39:08 -07:00
B2G Bumper Bot
5cb0e6573a Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/3d9340387359
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Merge pull request #19836 from eeejay/bug-1018340

Bug 1018340 - Make gaia-header edit mode exclusively visible. r=kgrandon

========

https://hg.mozilla.org/integration/gaia-central/rev/9c205e89bf7c
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Bug 1018340 - Make gaia-header edit mode exclusively visible.
2014-06-10 12:36:30 -07:00
Ryan VanderMeulen
f855e00b2d Backed out changesets 5309d91dc590, b2afa18bea00, and 610b1e0c7562 (bug 951976) for introducing new rooting hazards. 2014-06-10 15:15:10 -04:00
B2G Bumper Bot
7f227c8c42 Bumping manifests a=b2g-bump 2014-06-10 12:03:31 -07:00
B2G Bumper Bot
40323a83f4 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/11a98560b96d
Author: Douglas Sherk <github@sherk.me>
Desc: Merge pull request #20256 from DouglasSherk/1019546-dialer-contacts-overlap

Bug 1019546 - [Visual Refresh][Dialer] Fix dial pad and contacts overlapping when being switched between. r=rik

========

https://hg.mozilla.org/integration/gaia-central/rev/02e8d351063b
Author: DouglasSherk <github@sherk.me>
Desc: Bug 1019546 - [Visual Refresh][Dialer] Fix dial pad and contacts overlapping when being switched between. r=rik
2014-06-10 12:03:20 -07:00
Ryan VanderMeulen
8c33e2b23c Bug 1023472 - Disable test_bug935876.html on Android for perma-failing when pushed to a different chunk.
CLOSED TREE
2014-06-10 14:54:46 -04:00
Eddy Bruel
532d8cbbb2 Bug 1003095 - Refactor stepping tests to run against the worker loader;r=past 2014-06-10 20:37:40 +02:00
Eddy Bruel
1e3fb3b68d Bug 1003095 - Refactor object grips tests to run against the worker loader;r=past 2014-06-10 20:37:05 +02:00
Eddy Bruel
626c0706c7 Bug 1003095 - Refactor event-emitter.js to be worker friendly;r=past 2014-06-10 20:36:38 +02:00
Eddy Bruel
476c06facb Bug 1003905 - Refactor DevToolsUtils.js to be worker friendly; r=past 2014-06-10 20:35:51 +02:00
Luke Wagner
81674b87c4 Bug 1022027 - Fix leak in off-main-thread parsing (r=bhackett)
--HG--
extra : rebase_source : 06d12e96de4397dc3f7dfba5efd4088251defc38
2014-06-10 10:43:05 -05:00
Chris Pearce
21926cafc3 Bug 1022468 - Detect EOS in MP4Stream::ReadAt(). r=kentuckyfriedtakahe 2014-06-11 10:53:41 +12:00
Chris Pearce
b6045ec58d Bug 1022467 - Proxy destruction of WMFVideoOutputSource's DXVA2Manager to main thread. r=padenot 2014-06-11 10:53:21 +12:00
Chris Pearce
35a88afc17 Bug 1022421 - Cache value of FaviconHelper::GetICOCacheSecondsTimeout() in AsyncDeleteAllFaviconsFromDisk so that we don't use pref service off main thread. r=jimm 2014-06-11 10:53:17 +12:00
Brian Hackett
6d1e1dbad7 Bug 1013586 - Detect and immediately crash on cross compartment bugs in RegExpShared, r=billm. 2014-06-10 16:46:51 -06:00