Commit Graph

56 Commits

Author SHA1 Message Date
Patrick Brosset
b0fc02b334 Bug 1166189 - ESLint configuration files for devtools; r=tromey
Adds a global .eslintrc file for all source files in /browser/devtools.
This file defines a set of global variables that are commonly used in
/browser/devtools code.
The files that import modules with Cu.import will need to define their
own globals as /* globals ... */ comments.
This file also defines the configuration for all the rules we want to
use.

This also adds a set of .eslintrc files, one per test directory in
/browser/devtools. Each of these files extend from one of 2 parent config
files: .eslintrc.xpcshell or .eslintrc.mochitest.
The parent config define the set of globals these types of tests have
access to (test runner functions, assertion functions, etc.).

Finally, this also adds .eslintrc files in /toolkit/devtools for code and
tests, which just extend from their counterparts in /browser/devtools.
2015-05-28 09:30:03 +02:00
Patrick Brosset
e5ff608b97 Bug 1155651 - Return all players below a node in getAnimationPlayersForNode; r=miker
Now when the front requests the list of AnimationPlayers for a node,
all players for this node + the nodes in its subtree are returned.
Also the mutationobserver starts observing all mutations in the node
and its subtree.
2015-04-21 09:22:30 +02:00
Patrick Brosset
f1fe3e313e Bug 1149999 - 2 - Send animation removed events to the animation-panel for re-starting transitions; r=past
When transitions re-start (when a css class is toggled for instance), new AnimationPlayer objects
are created everytime. But now (since bug 1122414) names are given for AnimationPlayers that
correspond to transitions, and so we can use that to know when a transition re-starts on a node
and therefore send the correct events to the animation-panel.
2015-04-16 10:20:21 +02:00
Brian Birtles
20a238b6d5 Bug 1122414 part 3 - Update DevTools tests to expect a name for transitions; r=pbrosset 2015-04-14 09:15:09 +09:00
Patrick Brosset
1e33885059 Bug 1150090 - Intermittent browser_animation_actors_11.js; r=bgrins 2015-04-02 10:37:53 +02:00
Patrick Brosset
30850f3c55 Bug 1120833 - 2 - Fire events about changed animations in the AnimationsActor; r=past
This makes the AnimationsActor listen for animation mutations after each
call to getAnimationPlayersForNode on the code that was passed in.
Whenever animations are added or removed, an event is sent to the front
with the list of changes.
The server doesn't know when the client doesn't require updates for the
current node anymore, so it exposes a new method for this.
Note that removed events for finished aniations are skipped, because the
corresponding animations can still be seeked/resumed, so we want the
AnimationPlayerActor to be preserved.
2015-04-02 12:47:34 +02:00
Patrick Brosset
389c29aaa5 Bug 1120833 - 1 - Remove EventEmitter usage in AnimationPlayerFront
The AnimationPlayerFront needs to emit events when its auto-refresh
mode is enabled, whenever the state changes. Until now, it was doing
so with EventEmitter.
But because decorating the class with EventEmitter adds on/once/off
functions to the instance, it ends up hiding the on/once/off functions
that were already there because the class extends addon sdk EventTarget.
2015-03-30 11:59:46 +02:00
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Patrick Brosset
052adbdde0 Bug 1120339 - Add setPlaybackRate method to AnimationPlayerActor; r=past 2015-03-25 18:56:54 +01:00
Patrick Brosset
ff6fd2e249 Bug 1139186 - 2 - Add event handling support to CanvasFrameAnonymousContentHelper; r=bgrins 2015-03-20 16:58:50 +01:00
Patrick Brosset
80e92ed4f1 Bug 1142170 - Intermittent browser_animation_actors_10.js 2015-03-13 16:30:00 +01:00
Patrick Brosset
bace0b5df1 Bug 1110762 - Add a setCurrentTime method to the animation actor; r=past 2015-03-16 11:29:14 +01:00
Patrick Brosset
6e28b71ad8 Bug 1122466 - Retrieve correct animation index from node's computed styles; r=miker 2015-02-12 07:57:00 +01:00
Patrick Brosset
31ff8dcaf8 Bug 1129454 - 1 - Adds [play|pause]All methods to the AnimationsActor to pause/play all running animations; r=miker 2015-02-12 16:28:42 +01:00
Luca Greco
fa9d5539b0 Bug 980481 - DirectorRegistry, DirectorManager, DirectorScript and MessagePort RemoteDebuggerServer actors. r=ochameau 2015-01-31 10:36:00 -05:00
Patrick Brosset
1c5bd14c6b Bug 1123936 - Fix intermittent browser_animation_actors_02.js by making the test wait for animationPlayer.ready. r=bgrins 2015-01-22 01:39:00 -05:00
Patrick Brosset
79e4542042 Bug 1122435 - Part 1: Reduce the animation player protocol traffic by only sending values that did change. r=miker 2015-01-16 01:39:00 -05:00
Patrick Brosset
56b9d273dd Bug 1120852 - 1 - Expose the animation delay on the animationplayer actor; r=bgrins 2015-01-14 14:59:38 +01:00
Patrick Brosset
cba6333b1f Bug 1120100 - part 2 - Intermittent browser_animation_actors_03.js; r=past 2015-01-12 14:47:59 +01:00
Patrick Brosset
a3a63d31fc Bug 1120100 - Fix intermittent failure in browser_animation_actors_03.js. r=past 2015-01-10 09:04:00 +02:00
Patrick Brosset
a9bad82cca Bug 1114780 - Re-enable devtools animation actors tests; r=me 2015-01-09 15:22:38 +01:00
Patrick Brosset
252918d3db Bug 1113091 - Make the AnimationPlayerActor aware of the player ready promise; r=bgrins 2015-01-09 15:21:05 +01:00
Brian Birtles
adf3daeb54 Bug 927349 part 27 - Make DevTools actor wait on ready promise when playing; r=pbrosset 2014-12-25 16:28:25 +09:00
Brian Birtles
18cadb3d11 Back out parts 22-29 from bug 927349 for causing intermittent test failure in css-animations/test_animation-pausing.html on 10.8 2014-12-26 11:54:43 +09:00
Brian Birtles
726cc33622 Bug 927349 part 29 - Disable failing browser_555547.js on Windows opt - pushed again without backing out parts 22-29 at the same time; r=me
In https://hg.mozilla.org/integration/mozilla-inbound/rev/3ab2ff9b9f94
I accidentally pushed part 29 along with a backout for parts 22-29. This patch
reverts that change.

If this changset causes problems, the following changesets should be backed out:

https://hg.mozilla.org/integration/mozilla-inbound/rev/477f46897b0b
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c345954bce5
https://hg.mozilla.org/integration/mozilla-inbound/rev/642e400b22a9
https://hg.mozilla.org/integration/mozilla-inbound/rev/9bdf7c2279fa
https://hg.mozilla.org/integration/mozilla-inbound/rev/79cac8c71159
https://hg.mozilla.org/integration/mozilla-inbound/rev/cfe757e478d5
https://hg.mozilla.org/integration/mozilla-inbound/rev/eaf834051cbd
2014-12-26 08:49:20 +09:00
Brian Birtles
d2979fe812 Bug 927349 part 29 - Disable failing browser_555547.js on Windows opt; r=me (as discussed with jwatt) 2014-12-25 16:31:55 +09:00
Brian Birtles
821aa65be5 Bug 927349 part 27 - Make DevTools actor wait on ready promise when playing; r=pbrosset 2014-12-25 16:28:25 +09:00
Patrick Brosset
1af1f8ecf7 Bug 1105825 - Disable all devtools animation actor tests since the waapi is pref'd off in beta/release; r=me 2014-12-22 23:36:35 +01:00
Patrick Brosset
8a13c171ae Bug 1105825 - Add auto state refresh to AnimationPlayerActors; r=bgrins 2014-12-22 17:56:41 +01:00
Patrick Brosset
cfe9dd7385 Bug 1066474 - Make browser_timeline.js not fail intermittently. r=paul 2014-12-16 12:37:00 -05:00
abdelrhman
64233c145f Bug 1111276 - Replace gBrowser.selectedTab.linkedBrowser with gBrowser.selectedBrowser. r=dao 2014-12-15 22:05:46 +01:00
Patrick Brosset
0d8adbba7f Bug 1096044 - Add new actors to surface Web Animations API objects and methods to the devtools; r=harth 2014-12-11 20:08:49 +01:00
J. Ryan Stinnett
99df2107de Bug 1058997 - Part 3c: Remove always allow init calls from tests. r=past 2014-12-01 22:55:56 -08:00
David Rajchenbach-Teller
23c70e6fd3 Bug 1083989 - Adapting Devtools tests that expect Promise.jsm in the scope. r=paul 2014-10-27 22:45:03 +01:00
Ryan VanderMeulen
52a8993364 Backed out changesets 5e406b1536f9, 27e644701c98, and 762aff2c9dbf (bug 1083989) for mochitest-e10s failures.
CLOSED TREE
2014-10-30 12:46:08 -04:00
David Rajchenbach-Teller
9969df25ad Bug 1083989 - Adapt Devtools tests that expect Promise.jsm in the scope. r=paul 2014-10-27 22:45:03 +01:00
Victor Porof
d3f841fe45 Bug 1077438 - Timeline actor should manage Framerate and Memory actors, r=jsantell 2014-10-12 10:50:56 +03:00
Patrick Brosset
4a1e980cd6 Bug 1050773 - Timeline actor pulls profiletimeline markers from all docShells; r=paul 2014-09-18 11:12:33 +02:00
Paul Rouget
529e75b820 Bug 1050384 - [timeline] build an actor to forward gecko operations. r=pbrosset 2014-09-09 21:43:39 +02:00
Girish Sharma
195559491b Bug 970517 - Storage Inspector front end, r=jwalker, mratcliffe 2014-08-29 22:02:49 +05:30
Alexandre Poirot
6188942e57 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Andrea Marchesini
3da531b1e9 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Jonathan Griffin
2ef660ddd5 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
cdd4736014 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
85fb1826cb Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Alexandre Poirot
7bb6381d42 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Alexandre Poirot
c714919c79 Bug 977043 - Use same ProgressListener event across actors. r=bgrins,past 2014-04-22 20:17:30 +02:00
Girish Sharma
108011b5e4 Bug 930931 - Storage Inspector - Indexed DB non-live actor, r=jwalker 2014-04-11 20:26:23 +05:30
Michael Ratcliffe
4cc10271fe Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Mark Hammond
d5b24aae08 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00