Commit Graph
81 Commits
Author SHA1 Message Date
Sami Jaktholm d571688711 Bug 1137966 - Wait for the last auto-refresh to finish before ending the test. r=pbro 2015-08-28 13:23:05 +03:00
Ryan VanderMeulen 5444db67b9 Backed out changeset 8613a4ad3e3b (bug 1171488) for various e10s devtools failures. 2015-09-01 12:58:44 -04:00
Jordan Santell db3eef3853 Bug 1199257 - Destroy front before tearing down tests, intermittent fix, part 2. r=fitzgen 2015-09-01 08:40:29 -07:00
Jordan Santell ddce72b97a Bug 1199257 - Destroy front before tearing down tests, intermittent fix. r=fitzgen 2015-08-27 16:55:54 -07:00
Jordan Santell 98d64968a3 Bug 1171488 - Attach host and client system data to recording profiles r=vp,mossop 2015-08-26 14:27:04 -07:00
Patrick Brosset e85fdc46fb Bug 1180134 - Color code animations and transitions so they look different; r=bgrins 2015-08-31 15:28:32 +02:00
Jordan Santell 6a7e1541f3 Bug 1198019 - Snapping to allocations from GC markers should snap to the previous cycle, not the previous marker. r=fitzgen 2015-08-27 15:01:20 -07:00
Alexandre Poirot b0ec22812d Bug 1196714 - Use require(promise) instead of require(sdk/core/promise). r=jryans 2015-08-26 06:05:14 -07:00
Jordan Santell 2c989fc648 Bug 1194458 - Calculate bytesize costs per frame for allocations in the performance tools. r=vp,shu 2015-08-19 18:04:50 -07:00
Patrick Brosset ed969cccaa Bug 1169563 - 3 - Move the scrubber in the animation timeline to set the time; r=tromey 2015-08-24 18:22:15 +02:00
Jordan Santell 4a3fd30b2d Bug 1197646 - Sort timeline markers when recording is completed, due to GC markers not guaranteeing order. r=vp 2015-08-23 17:41:33 -07:00
Jordan Santell 0c72894c82 Bug 1165994 - Move marker tests to server side, pull out e10s process communication helpers into their own file. r=vp 2015-08-19 09:49:41 -07:00
Sebastian Hengst dbc4aef954 Backed out changeset f5d2323f5d65 (bug 1165994) for M-e10s(dt2) failure. r=backout 2015-08-21 19:55:00 +02:00
Jordan Santell 55d99f7c0a Bug 1165994 - Move marker tests to server side, pull out e10s process communication helpers into their own file. r=vp 2015-08-19 09:49:41 -07:00
Michael Ratcliffe 847f8af2ea Bug 1175850 - Enable storage inspector tests after upgrading for E10S r=pbrosset 2015-08-20 11:52:04 +01:00
Michael Ratcliffe a2ba3e4e55 Bug 1175850 - ESLint fixes r=me 2015-08-18 11:48:22 +01:00
Alexandre Poirot 9d24dbfeaf Bug 1192863 - Use client/main.js instead of dbg-server.jsm. r=jryans 2015-08-13 10:57:14 -07:00
Jordan Santell 0bcf81b51b Bug 1172180 - Create a PerformanceActor, and migrate existing pseudo PerformanceFront to a legacy front. r=vp 2015-08-12 21:42:54 -04:00
Alexandre Poirot 0939709730 Bug 1190452 - Always import toolkit/devtools/server/main.js as CommonJS module. r=jryans 2015-08-10 05:38:56 -07:00
Alexandre Poirot 97e386cb02 Bug 1137966 - Try fixing toolkit/devtools/server/tests/browser/browser_animation_actors_05.js intermittent. r=bgrins 2015-08-06 08:46:34 -07:00
Alexandre Poirot 8c0e5c90ec Bug 1188401 - Expose require out of Loader.jsm and use it. r=jryans 2015-08-06 05:38:10 -07:00
Sami Jaktholm 2546a7212d Bug 1171919 - Add a test which asserts that StyleSheetsActor can handle iframes without a content document. r=bgrins 2015-07-14 19:54:59 +03:00
Patrick Brosset 95c4018d0c Bug 1155927 - Make sure that browser_animation_actors_15.js waits for the transitions to end. r=test-only 2015-07-02 10:02:27 +02:00
Ben Turner 30c632d2fe Bug 1149815 - Properly handle IDBDatabase.close() called during a versionchange transaction, r=janv. 2015-06-20 09:08:30 -07:00
Patrick Brosset 6e4f4ac7bd Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker
We used to rely on the TabActor a lot in
/toolkit/devtools/server/actors/highlighter.
This object was being passed around to various highlighter classes, helper
classes and functions.
It was a useful way to get access to the window the highlighters are shown,
listen to DOM events in that window, and also listen to tabActor's will-navigate
events.

Using this object isn't the best idea because it assumes the debugger server is
started and attached to a tab, which makes re-using highlighters outside of this
context impossible (or harder).
Plus we wanted to get rid of the tabActor reference in gcli command contexts.

This change introduces a HighlighterEnvironment that fulfills the requirements
above without relying on a tabActor.
It needs to be initialized either with a tabActor, when we have one (when using
the highlighter from the inspector panel), or with a window (which is what gcli
commands will use).

This change also fixes the highlight command and the rulers command (which
didn't work well with e10s either).
2015-06-01 14:41:12 +02:00
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