Commit Graph

219891 Commits

Author SHA1 Message Date
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
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
Patrick McManus
842d6217d1 Bug 952863, Part 3: Remove more dead code, r=briansmith
--HG--
extra : rebase_source : 2f1793584597aed0d559538aa1ed00c0d3afc788
2014-12-17 12:58:49 -08:00
Brian Smith
ab604352ec Bug 952863, Part 2: Remove dead code for non-ECDHE TLS False Start, r=keeler
--HG--
extra : rebase_source : 47ee95682f769b8e10aaf55b0f4fccfef1fcdea0
2014-12-10 10:13:18 -08:00
Ben Turner
6160da11d7 Bug 1112716 - Blob runnable methods must be cancelable, r=khuey. 2014-12-17 13:52:43 -08:00
James Willcox
25c96c2585 Bug 1049138 - Use the cairo surface format to determine gfx format when able r=jmuizelaar
--HG--
extra : histedit_source : 9027bee76ab792d29a920bffb6443f40e6a35e13
2014-12-17 15:49:57 -06:00
Mike Shal
71ebf71a67 Bug 1109136 - add upload artifact list to mach_build_properties.json; r=glandium 2014-12-09 16:35:42 -05:00
Mike Shal
9dc7ad0781 Bug 1109136 - Move variable definitions from packager.mk to upload-files.mk; r=glandium
--HG--
rename : toolkit/mozapps/installer/packager.mk => toolkit/mozapps/installer/upload-files.mk
2014-12-17 16:23:48 -05:00
Sid Stamm
5e4b4a0380 Disable test for bug 965727 on b2g on a CLOSED TREE 2014-12-17 16:32:14 -05:00
Nathan Froyd
18656f5924 Bug 1031264 - make opening links in new {tabs,windows} honor rel="noreferrer"; r=mconley 2014-12-10 12:42:18 -05:00
Jeff Muizelaar
69b0cb623b Bug 1112728. Temporarily disable keyedmutex usage with ANGLE until we can make it work better.
We can turn this back on once we have a proper fix for bug 1109718.

--HG--
extra : rebase_source : c7302c4e268edc0ef4aa7ab87e06b8f9a55d2462
2014-12-17 15:10:18 -05:00
David Anderson
647da9b3b9 Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Kartikaya Gupta
75f2892393 Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander) 2014-12-15 23:28:19 -08:00
Sid Stamm
53bc033453 Bug 965727 - Implement referrer directive for CSP. (r=jst,ckerschb) 2014-12-17 14:14:04 -05:00
Sid Stamm
6fad6fa0b3 Bug 965727 - Implement tests for CSP referrer directive. (r=ckerschb) 2014-12-17 14:14:03 -05:00
Nathan Froyd
a25f7bb7ef Bug 1112608 - use GENERATED_INCLUDES in security/manager/{boot,pki}/src/; r=mshal
The sole use of Makefile.in in the security/manager/{boot,pki}/src/
directories is so we can add $(DIST)/public/nss to INCLUDES.
GENERATED_INCLUDES can be used to handle this case instead, at the cost
of hardcoding the path to $(DIST).  This seems reasonable enough, since
a number of moz.build files already know about dist/ and its location
within the objdir.
2014-12-17 11:02:19 -05:00
Nathan Froyd
35380a756a Bug 1112222 - remove moz_extensions.c from GENERATED_FILES in parser/expat/lib/; r=mshal
moz_extensions.c isn't generated by the build process; it lives as a
checked-in file and is #include'd by xmltok.c in the same directory.
2014-12-16 13:36:11 -05:00
Ryan VanderMeulen
1a4358577c Bug 1059116 - Disable test_seek-1.html on Android 2.3.
--HG--
extra : rebase_source : 4ff233bdc1145389d0de996478aabbc5472794ac
2014-12-17 13:39:12 -05:00
Jon Coppeard
f79951a43f Bug 650161 - Assert we compacted as much as we could r=terrence 2014-12-17 18:04:01 +00:00
Jon Coppeard
78a95f3d11 Bug 650161 - Reduce parallelism in parallel update after compacting GC r=terrence 2014-12-17 18:04:01 +00:00
Jan de Mooij
41e217c955 Bug 1112563 - Use useRegisterAtStart for LoadSlot/LoadFixedSlot/GetDOMMember. r=sunfish 2014-12-17 18:50:34 +01:00
Georg Fritzsche
6830f96bf5 Bug 1101487 - Bonus: Use Preferences.jsm in TelemetryPing for cleaner default values. r=vladan 2014-12-17 18:21:37 +01:00
Georg Fritzsche
d1d3324a05 Bug 1101487 - Cache client id in prefs so we can submit it for very short sessions too. r=vladan 2014-12-17 17:45:58 +01:00
Ben Turner
4984ff6ede Bug 701634, Make flaky tests wait for transactions to complete before continuing to the next test 2014-12-17 09:04:06 -08:00
Dan Gohman
0857cfac43 Bug 1103389 - IonMonkey: Don't reuse-input between different types r=bbouvier 2014-12-17 08:48:39 -08:00
Dan Gohman
5b6157de4b Bug 1100123 - IonMonkey: Simplify LSimdSelect's regalloc constraints r=bbouvier 2014-12-17 08:45:51 -08:00
Dan Gohman
0f3cdffd97 Bug 1099216 - IonMonkey: Don't reuse-input between different types r=bbouvier 2014-12-17 08:45:36 -08:00
Nicolas Silva
9dffe1f0a8 Bug 1108164 - Remove per-tile drawing. r=Bas 2014-12-17 17:32:29 +01:00
Ehsan Akhgari
4551a263be Bug 1084532 - Drop support for building with MSVC 2010; r=glandium 2014-12-17 10:50:15 -05:00
Ryan Sleevi
cc0cffbe30 Bug 1110626 - New TLD additions for TLDs contracted with ICANN through 2014-12-12. r=gerv 2014-12-17 10:30:52 -05:00
Osman Surkatty
f9b2d24063 Bug 1112404 - Update PSL with new AWS Region. r=gerv
--HG--
extra : rebase_source : 26fafe08f25b83ff2ff4fecdf7ba5cef62fa705b
2014-12-17 02:26:00 -05:00
Andreas Tolfsen
6853ef5fc5 Bug 1111268 - Fix redefinition of caps in setSessionCapabilities. r=dburns
The variable caps is redefined in the second for loop because it's defined
in the function scope using the var declaration statement instead of
let for the current scope.

This patch also addresses the duplication of the code to copy the current
set of capabilities.

--HG--
extra : rebase_source : 9b3f9c8e05abaa0fa7ce6662be188cf22e13dd12
2014-12-13 22:22:47 +00:00
Andreas Tolfsen
1f88a0d5a3 Bug 1111264 - Simplify check for disabled in isElementEnabled. r=dburns
--HG--
extra : rebase_source : fe2bc8371b8ee5ce04f8778f3f10f9034ba55b23
2014-12-13 20:44:42 +00:00
Andreas Tolfsen
9f45a715d0 Bug 1111260 - Fix references to nsITimer.TYPE_ONE_SHOT. r=dburns
--HG--
extra : rebase_source : 0584712fbfac73cd943679852578f67ccf479145
2014-12-13 20:15:46 +00:00
Andreas Tolfsen
2b79bd15b8 Bug 1111246 - Add error message in Marionette client on malformed packet. r=dburns
--HG--
extra : rebase_source : ea764e49a6508ed33b6401f21b3bb9d182ab268e
2014-12-13 19:57:09 +00:00
Chris Manchester
b10789e0d2 Bug 1077870 - Log consistent test names (file paths relative to the srcdir) in mochitest. r=ahal
--HG--
extra : rebase_source : f82fe24e59ec60ded414ec44cec6f4aff95f2f5f
2014-12-15 12:05:55 -05:00
Armen Zambrano Gasparnian
a4de59c55e Bug 1070041 - Move more Mozharness job definition parameters into the tree. r=ahal
* We are unifying the in-tree mozharness configs to follow the same
structure
* We are moving run_filename into the tree
* We are also staring the move to manage the testdir value which
is already in use for Android test jobs

--HG--
extra : rebase_source : 6d667cd50e54fe16edc5ddff5f29039c5ae82523
2014-12-16 11:23:17 -05:00