Commit Graph

113 Commits

Author SHA1 Message Date
Jarda Snajdr
8a4f6ebbf0 Bug 1261049 - Clear button position isn't consistent among tabs r=ntim
MozReview-Commit-ID: 49LIEko6rm5
2016-04-11 05:53:00 +02:00
Ryan VanderMeulen
27d85a8171 Bug 1252283 - Re-enable the devtools animationinspector tests on e10s debug.
--HG--
extra : rebase_source : 05804990198cbf4923e17d4c7bef1aaf7c24258b
2016-04-10 16:57:41 -04:00
Dave Townsend
fc4c4ab84a Bug 1257246: Update devtools for eslint 2. r=pbro
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.

MozReview-Commit-ID: 9xg2Gmlaz94

--HG--
extra : rebase_source : e6db0fd0ef477cd4fd2196b1036783f0974c586b
extra : histedit_source : 03eea033884969cc2a340316377318b0487ebdf2
2016-04-05 11:31:19 -07:00
Ryo Kato
d4da73c340 Bug 1261561 - Part 2: Add a xpcshell test for TimeScale.getAnimationDimensions(). r=pbro
MozReview-Commit-ID: Hhwq0d21Rlw

--HG--
extra : rebase_source : 7de50c133838d0ef565cede74695a5587f9bbf69
2016-04-05 05:58:43 -07:00
Ryo Kato
4098f4c76b Bug 1261561 - Part 1: Fix TimeScale.getAnimationDimensions() to handle multiple iterations. r=pbro
MozReview-Commit-ID: FUjebmapYH1

--HG--
extra : rebase_source : 5f54bc420da55d5f66c684bb75f7e0be7fb810ad
2016-04-04 08:32:39 -07:00
Patrick Brosset
e710d0b812 Bug 1261651 - Avoid using element.animate() in tests - Use Animation constructor isntead; r=miker
MozReview-Commit-ID: Az9jBcW54j8

--HG--
extra : rebase_source : 6ff04833d9aabfcdfccccf9e05cf67077abb97d7
2016-04-07 12:09:29 +02:00
Patrick Brosset
1dbefe5a91 Bug 1260680 - Filter out unwanted data in getProperties to reduce protocol traffic; r=miker
MozReview-Commit-ID: 9Gybp724gja

--HG--
extra : rebase_source : 98076280c8bc3d3ce7ff642f6ab2dba03c3bb716
2016-03-30 12:12:36 +02:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Nicolas Chevobbe
a67d237cf6 Bug 1260711 - Fix error 'IndexSizeError: Index or size is negative or greater than the allowed amount' when using the animation inspector. r=pbro
Error was raised in drawGraphElementBackground when called with the graphView
being `0` This could happen because in animation-timeline.js , there is a
resize event handler that could be fired while the animation panel width is 0.
We fix this by making sure the animation panel does not have a width of zero
in the resize handler.

MozReview-Commit-ID: 71izZnZBX7V

--HG--
extra : transplant_source : Tqx%8A%60Ryi%B6%CE%DDQ%C0%2C%0Br-%F3%08%E6
2016-03-30 18:25:00 +02:00
Patrick Brosset
bc1cf32b79 Bug 1206420 - Hot fix for buggy manual merge - Wrong file name in browser.ini; r=bustage CLOSED TREE
MozReview-Commit-ID: Dl3R8sxSGyt

--HG--
extra : rebase_source : 3cc7f6517f44623bd1da044ca1356ba4a5788c0c
2016-03-29 20:57:21 +02:00
Patrick Brosset
b8107448a7 Bug 1206420 - Display animated pseudo-elements in the animation-inspector; r=tromey
MozReview-Commit-ID: 5bMOxKG6pMm

--HG--
extra : rebase_source : abed8bb14afbd71844cca78b32fdcdfa2aa58850
2016-03-24 10:56:51 +01:00
Ryo Motozawa
4ce6bfc757 Bug 1253494 part 2 - Add tests for endDelay representation r=pbro
MozReview-Commit-ID: GVm1kpm9Vju

--HG--
extra : rebase_source : 6ea1809790f941c4937d607191f93d9bc781a074
2016-03-23 10:43:50 +09:00
Ryo Motozawa
30f6b9f115 Bug 1253494 part 1 - Implement endDelay representation in the animation inspector r=pbro
MozReview-Commit-ID: CxUvQRu6Yrn

--HG--
extra : rebase_source : 7f33a58bf9fcf3e0d59110fe38db67ddec2b1f92
2016-03-23 10:39:49 +09:00
Nicolas Chevobbe
0108b791b7 Bug 1257874 - Use getProperties instead of getFrames in animation-detail. r=pbro
Add a getProperties function to the animation actor to map KeyframeEffectReadOnly.getProperties
Call this new function in animation-detail and adapt the code as the structure
of the returned object structure is different from what getFrames returns.
Adapt a couple tests to the new object structure client-side, and a test server-side
to check getProperties returns what it should.

MozReview-Commit-ID: 2zKPEknukEK
2016-03-18 20:26:01 +01:00
Daisuke Akatsuka
a096e3264f Bug 1253493 - Part2: Show iterationStart to the GUI. r=pbro 2016-03-23 13:06:43 +09:00
Daisuke Akatsuka
459706a9ee Bug 1253493 - Part1: Show iterationStart to the tooltip. r=pbro 2016-03-23 12:56:32 +09:00
Victor Porof
1cfbac47ef Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
Nicolas Chevobbe
9c8b86de81 Bug 1181839 - Include inspector/test/head.js (which imports shared-head.js) in animationinspector's tests and removes code duplication. r=pbro
MozReview-Commit-ID: GrsOewqAggD

--HG--
extra : rebase_source : 069d715fa2fc7a71a6615bd3a657a6211564584c
2016-03-08 23:20:09 +01:00
CuriousLearner
97f4f90224 Bug 1222937 - Show a dedicated error message for animated pseudo elements; r=pbro
MozReview-Commit-ID: Gv9YAsX9l2F
2016-02-05 20:10:18 +05:30
Ryan VanderMeulen
301805c46d Bug 1252283 - Skip the animationinspector tests on Linux debug e10s. 2016-03-05 22:31:05 -05:00
Ryan VanderMeulen
082f681fb6 Bug 1252283 - Skip the animationinspector tests on Windows debug e10s due to frequent asserts.
--HG--
extra : rebase_source : f6a82b608ca699cef03064c09e0d068853c96727
2016-03-05 15:21:17 -05:00
Ryan VanderMeulen
f6b9517066 Bug 1252283 - Skip the animationinspector tests on OSX debug e10s. 2016-02-29 18:26:23 -05:00
Nicolas Chevobbe
ca059bd532 Bug 1247243 - Animations are shown only every 2 reloads. r=pbrosset
MozReview-Commit-ID: 71XsHc9WXHw
2016-02-23 00:15:04 +01:00
Patrick Brosset
3e2897155c Bug 1242898 - Clean devtools/client/animationinspector of eslint errors; r=me
MozReview-Commit-ID: 8kRnACID8A6
2016-02-26 12:55:57 +01:00
Nicolas Chevobbe
496365f857 Bug 1208204 - Pressing space in the animation inspector should toggle play/pause. r=pbrosset
MozReview-Commit-ID: 3NxNIaPjemt
2016-02-13 17:07:05 +01:00
Patrick Brosset
ce1b99b254 Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.

This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.

Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js

Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.

MozReview-Commit-ID: 5bFHxxrwxhL

--HG--
extra : rebase_source : cb30c7e47605f59674f2344dba10af814172333d
2016-02-22 10:02:54 +01:00
Patrick Brosset
c0736a1812 Bug 1249719 - Use promise.all instead of Promise.all to release player fronts; r=ochameau
MozReview-Commit-ID: 8VywPGlYaJd

--HG--
extra : rebase_source : b831e3e7e4ed2205aca319fcd9b01663a0fef046
extra : histedit_source : fb8270d89b8fc3080b5eed0f76f6cc23ce737176
2016-02-22 09:42:28 +01:00
Brian Grinstead
ad34c237e8 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Julian Descottes
05d335ab9c Bug 1224877 - fix animation_timeline_pause_button intermittent;r=pbro 2016-02-15 00:42:56 +01:00
Alexandre Poirot
51759742d1 Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Nicolas Chevobbe
19409bcb7c Bug 1232681 - Display script-generated animations correctly. r=pbro
MozReview-Commit-ID: 2pk7sxVTHTk
2016-02-03 23:21:44 +01:00
Nicolas Chevobbe
4ed0d2cf3a Bug 1228978 - Add a drop-mark to the playback-rate selector in the animation-inspector's toolbar; r=pbro
--HG--
extra : commitid : 7KunM7nMawt
2016-02-02 22:47:13 +01:00
Patrick Brosset
d83f29fa22 Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker
--HG--
extra : commitid : C3ucALUshoz
2016-02-01 15:58:04 +01:00
Wes Kocher
4722a4bfe8 Backed out changeset 3d2eace770d1 (bug 1244120) for very frequent leaks on Win7 CLOSED TREE
--HG--
extra : commitid : AiLlcy3cWsb
2016-02-04 12:51:14 -08:00
Carsten "Tomcat" Book
f04b97e3ce Backed out changeset f09ea2712445 (bug 1229913) 2016-02-04 16:41:33 +01:00
Patrick Brosset
035fd15b5c Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker
--HG--
extra : commitid : JrTgOvAJCi5
extra : rebase_source : 4066b697ea64fadca846a596f467d6f579acacd4
extra : histedit_source : 38fe9058a240185ee0453ad09f9be89a9386a303
2016-02-01 15:58:04 +01:00
Patrick Brosset
c9bb161dae Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.

This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.

Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js

Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.

--HG--
extra : commitid : BUtFyFVXwYi
extra : rebase_source : 1553c9ebc1d8da035058552924e4ad3cd1b09f09
2016-02-03 18:52:02 +01:00
Nicolas Chevobbe
e9142030ca Bug 1219611 - When animations end in the timeline, make sure the time-label shows the right time; r=pbro
--HG--
extra : commitid : JyebjhCP4A5
extra : rebase_source : cff8d68d3b6d19ab3a6f3e710b20fb1eee9aff2a
2016-01-28 22:52:33 +01:00
Nicolas Chevobbe
6179a73c01 Bug 1227477 - Polish the way the timeline time graduations are calculated; r=pbro
--HG--
extra : commitid : KFui9o9qr8e
2016-01-15 22:45:05 +01:00
Patrick Brosset
1f6d47b1c1 Bug 1213651 - Avoid server round-trips when displaying animated dom nodes; r=tromey
The main change here is that nodeFronts that have already been displayed
in the timeline are stored in a WeakMap so they can be retrieved from it
next time they're displayed and avoid a server-side round trip which, in
turn, causes the UI to flicker.

The other change is that now, it is possible to tell the animations actor
what is the current walker actor, which allows animation player actors to
directly send the NodeActor ID as part of their forms. Which, in most cases,
completely eliminates the server round-trip, because the corresponding
NodeFronts are already known on the client, so we get them from there.

The last change done here is that AnimationTargetNode now becomes a thin
wrapper on top of the new DomNodePreview component that was extracted so
it can be reused in other places.

--HG--
extra : commitid : EBVS63soQOi
extra : rebase_source : ad57513f53bc9d8d3250deb0e5a3cd3817d5631b
extra : histedit_source : 6319eafeb82f34d5cfeff1f175483c47ff71725b%2C5a2b6464611eada9deb3351bbf3c2711cecf1cff
2016-01-21 13:19:58 +01:00
Gabriel Luong
436766ea98 Bug 1238133 - Part 2: Rename locale keys to avoid parsing conflict r=bgrins 2016-01-16 12:00:43 -08:00
Patrick Brosset
833cadbc88 Bug 1239298 - Make sure percentage width of iterations and delays in the timeline are relative to the same parent
--HG--
extra : commitid : LGSmpfPoAR6
extra : rebase_source : 3d6eacf405099a1dfd9e8b46d2c98c945e7ae930
2016-01-14 11:23:27 +01:00
Nicolas Chevobbe
42980ba3b8 Bug 1228080 - Split the animation-inspector's components into multiple files. r=pbro
--HG--
extra : commitid : BvhS3xAo90X
2016-01-05 12:58:48 +01:00
Ehsan Akhgari
a8b6fa67a4 Bug 1206329 - Increase the timeout of browser_animation_ui_updates_when_animation_data_changes.js 2015-12-31 17:37:33 -05:00
Ehsan Akhgari
56cf6b85ea Bug 1203398 - Increase the timeout of browser_animation_empty_on_invalid_nodes.js 2015-12-31 17:32:27 -05:00
Ehsan Akhgari
cf5d5d7f82 Bug 1203515 - Increase the timeout of browser_animation_target_highlight_select.js 2015-12-30 22:27:40 -05:00
Ehsan Akhgari
63556733f3 Bug 1227849 - Increase the timeout of browser_animation_timeline_rewind_button.js 2015-12-30 22:27:40 -05:00
Ehsan Akhgari
d598be37da Bug 1220974 - Increase the timeout of browser_animation_timeline_pause_button.js 2015-12-30 22:27:40 -05:00
Ehsan Akhgari
dfd833b7c0 Bug 1230986 - Increase the timeout of browser_animation_toolbar_exists.js 2015-12-30 22:27:40 -05:00
Ehsan Akhgari
57cd150775 Bug 1221406 - Increase the timeout of browser_animation_refresh_on_removed_animation.js 2015-12-30 22:27:40 -05:00