Commit Graph

55 Commits

Author SHA1 Message Date
Eddy Bruel
ba21a67524 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Patrick Brosset
23a6760a0b Bug 1262710 - Don't use CPOW in devtools/server/test/browser tests when adding a tab; r=ochameau
MozReview-Commit-ID: DFJvufMBTjn

--HG--
extra : rebase_source : 1366bc929067f6c7bbd5f944f973101bf3af9d7c
2016-06-08 09:47:02 +02:00
Wes Kocher
07d01350a8 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Andrea Marchesini
8f19409ff1 Bug 1278630 - Native Console API should work also after a refresh, r=bgrins 2016-06-08 08:01:08 -07:00
Eddy Bruel
72591e2414 Bug 1265724 - Decouple TimelineFront from TimelineActor; r=ejpbruel 2016-06-08 15:51:55 +02:00
Nick Fitzgerald
cb37130245 Bug 1278397 - Decouple the MessagePortFront, DirectorScriptFront, and DirectorManagerFront from the MessagePortActor, DirectorScriptActor, and DirectorManagerActor respectively; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald
84bd208e23 Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Eddy Bruel
58ea403ab2 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-26 15:47:52 +02:00
Carsten "Tomcat" Book
d43569f28f Backed out changeset 3c599aa289d8 (bug 1265718) for timeouts in test_animation_actor-lifetime.html 2016-05-25 13:25:59 +02:00
Eddy Bruel
406c2acdc2 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-25 10:18:27 +02:00
J. Ryan Stinnett
30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Eddy Bruel
6e33d93476 Bug 1265722 - Move fronts to shared directory;r=jryans 2016-05-17 14:59:21 +02:00
Eddy Bruel
4653191749 Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 14:34:40 +02:00
Sebastian Hengst
ca6ba48e39 Backed out changeset 92b07e6e84bf (bug 1265722) for failing test_animation_actor-lifetime.html because of undefined function InspectorFront. r=backout 2016-05-17 13:50:21 +02:00
Eddy Bruel
02ce04286e Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 11:14:31 +02:00
Jarda Snajdr
9ae963b23e Bug 1265729 - Decouple fronts from actors in storage inspector. r=ejpbruel 2016-04-29 04:34:00 +02:00
Chris Peterson
93583fc60f Bug 1160368 - Part 5: Clean up some confusing browser_storage_listings.js checks. r=jdm
Also fix a reference error about undeclared variable i.
2016-03-27 00:17:46 -07:00
Patrick Brosset
3dbf547720 Bug 1206345 - Force a state update in browser_animation_reconstructState.js; r=jdescottes
This test wasn't using refreshState, instead it used getCurrentState.
What refreshState does on top of getCurrentState is it stores the new state
locally.
getCurrentState isn't meant to be called externally, it is only meant to be
an actor method interceptor that reconstructs the missing state.
So the test should have used refreshState from the start.

Turns out it worked in most cases because the animation did have a startTime
when the test retrieved it, so it had a previousStartTime.
But, if for some reason, the animation has a startTime=null when the test
starts, then the value never gets to the front, and bad things happen.

MozReview-Commit-ID: 2nEIKHMHsCS

--HG--
extra : rebase_source : 14d896fe895876346f1d52c3e8f72880d5bdfec6
2016-04-12 15:24:38 +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
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
Alexandre Poirot
2d63cff318 Bug 1249447 - Wait correctly for all storage creation/deletion in browser_storage_dynamic_windows.js. r=mratcliffe 2016-03-18 02:44:22 -07:00
Alexandre Poirot
44a280c94f Bug 1249447 - Prevent using CPOW and wait for indexedDB setup/clear with tasks. r=mratcliffe 2016-03-18 02:44:22 -07:00
Victor Porof
57172ba5b4 Bug 1245886 - Refactor performance tests, r=jsantell
--HG--
rename : devtools/client/performance/test/browser_perf-categories-js-calltree.js => devtools/client/performance/test/browser_perf-calltree-js-categories.js
rename : devtools/client/performance/test/browser_perf-columns-js-calltree.js => devtools/client/performance/test/browser_perf-calltree-js-columns.js
rename : devtools/client/performance/test/browser_perf-events-calltree.js => devtools/client/performance/test/browser_perf-calltree-js-events.js
rename : devtools/client/performance/test/browser_perf-columns-memory-calltree.js => devtools/client/performance/test/browser_perf-calltree-memory-columns.js
rename : devtools/client/performance/test/browser_perf-details-01.js => devtools/client/performance/test/browser_perf-details-01-toggle.js
rename : devtools/client/performance/test/browser_perf-details-02.js => devtools/client/performance/test/browser_perf-details-02-utility-fun.js
rename : devtools/client/performance/test/browser_perf-details-03.js => devtools/client/performance/test/browser_perf-details-03-without-allocations.js
rename : devtools/client/performance/test/browser_perf-details-04.js => devtools/client/performance/test/browser_perf-details-04-toolbar-buttons.js
rename : devtools/client/performance/test/browser_perf-details-05.js => devtools/client/performance/test/browser_perf-details-05-preserve-view.js
rename : devtools/client/performance/test/browser_perf-details-07.js => devtools/client/performance/test/browser_perf-details-06-rerender-on-selection.js
rename : devtools/client/performance/test/browser_perf-details-waterfall-render.js => devtools/client/performance/test/browser_perf-details-render-00-waterfall.js
rename : devtools/client/performance/test/browser_perf-details-calltree-render.js => devtools/client/performance/test/browser_perf-details-render-01-js-calltree.js
rename : devtools/client/performance/test/browser_perf-details-flamegraph-render.js => devtools/client/performance/test/browser_perf-details-render-02-js-flamegraph.js
rename : devtools/client/performance/test/browser_perf-details-memory-calltree-render.js => devtools/client/performance/test/browser_perf-details-render-03-memory-calltree.js
rename : devtools/client/performance/test/browser_perf-details-memory-flamegraph-render.js => devtools/client/performance/test/browser_perf-details-render-04-memory-flamegraph.js
rename : devtools/client/performance/test/browser_perf-markers-docload.js => devtools/client/performance/test/browser_perf-docload.js
rename : devtools/client/performance/test/browser_perf-details-waterfall-gc-snap.js => devtools/client/performance/test/browser_perf-gc-snap.js
rename : devtools/client/performance/test/browser_perf-marker-details-01.js => devtools/client/performance/test/browser_perf-marker-details.js
rename : devtools/client/performance/test/browser_perf-options-01.js => devtools/client/performance/test/browser_perf-options-01-toggle-throw.js
rename : devtools/client/performance/test/browser_perf-options-02.js => devtools/client/performance/test/browser_perf-options-02-toggle-throw-alt.js
rename : devtools/client/performance/test/browser_perf-options-03.js => devtools/client/performance/test/browser_perf-options-03-toggle-meta.js
rename : devtools/client/performance/test/browser_perf-options-enable-framerate.js => devtools/client/performance/test/browser_perf-options-enable-framerate-01.js
rename : devtools/client/performance/test/browser_perf-options-allocations.js => devtools/client/performance/test/browser_perf-options-propagate-allocations.js
rename : devtools/client/performance/test/browser_perf-options-profiler.js => devtools/client/performance/test/browser_perf-options-propagate-profiler.js
rename : devtools/client/performance/test/browser_perf-clear-01.js => devtools/client/performance/test/browser_perf-recordings-clear-01.js
rename : devtools/client/performance/test/browser_perf-clear-02.js => devtools/client/performance/test/browser_perf-recordings-clear-02.js
rename : devtools/client/performance/test/browser_perf-theme-toggle-01.js => devtools/client/performance/test/browser_perf-theme-toggle.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-01.js => devtools/client/performance/test/browser_perf-tree-abstract-01.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-02.js => devtools/client/performance/test/browser_perf-tree-abstract-02.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-03.js => devtools/client/performance/test/browser_perf-tree-abstract-03.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-04.js => devtools/client/performance/test/browser_perf-tree-abstract-04.js
rename : devtools/client/performance/test/browser_profiler_tree-view-01.js => devtools/client/performance/test/browser_perf-tree-view-01.js
rename : devtools/client/performance/test/browser_profiler_tree-view-02.js => devtools/client/performance/test/browser_perf-tree-view-02.js
rename : devtools/client/performance/test/browser_profiler_tree-view-03.js => devtools/client/performance/test/browser_perf-tree-view-03.js
rename : devtools/client/performance/test/browser_profiler_tree-view-04.js => devtools/client/performance/test/browser_perf-tree-view-04.js
rename : devtools/client/performance/test/browser_profiler_tree-view-05.js => devtools/client/performance/test/browser_perf-tree-view-05.js
rename : devtools/client/performance/test/browser_profiler_tree-view-06.js => devtools/client/performance/test/browser_perf-tree-view-06.js
rename : devtools/client/performance/test/browser_profiler_tree-view-07.js => devtools/client/performance/test/browser_perf-tree-view-07.js
rename : devtools/client/performance/test/browser_profiler_tree-view-08.js => devtools/client/performance/test/browser_perf-tree-view-08.js
rename : devtools/client/performance/test/browser_profiler_tree-view-09.js => devtools/client/performance/test/browser_perf-tree-view-09.js
rename : devtools/client/performance/test/browser_profiler_tree-view-10.js => devtools/client/performance/test/browser_perf-tree-view-10.js
rename : devtools/client/performance/test/browser_profiler_tree-view-11.js => devtools/client/performance/test/browser_perf-tree-view-11.js
rename : devtools/shared/performance/process-communication.js => devtools/client/performance/test/helpers/profiler-mm-utils.js
2016-03-16 09:39:39 +01: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
Alexandre Poirot
d3b05e8c5a Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Hiroyuki Ikezoe
bffa02a965 Bug 1242872 - Part 9: Should not assume any order of animations in MurationObserver. r=pbrosset
After patch 7, the order of animations in MutationObserver has been reversed.
When we want to use the animations ordering by something, we need to sort it first.

MozReview-Commit-ID: 7xOYNsuSbvA
2016-02-19 16:43:08 +09:00
Hiroyuki Ikezoe
053ee55607 Bug 1235723 - Part 2: Check that the short animation is surely finished before proceeding test. r=pbrosset
MozReview-Commit-ID: FJS8HaWPgSe

--HG--
extra : rebase_source : 723ec92a9e700339ea67c0c173110998225ed7bc
2016-02-23 10:55:25 +09:00
Hiroyuki Ikezoe
5e618cc570 Bug 1235723 - Part 1: Use longer duration to avoid finishing animations at some point. r=pbrosset
MozReview-Commit-ID: 22IjzWqcgNs

--HG--
extra : rebase_source : b4908b961805c72fd4ce6d9815e2cb441d2b2a7a
2016-02-23 10:55:25 +09:00
Patrick Brosset
fa986e6358 Bug 1245849 - Remove mochitest browser_animation_name.js and add a xpcshell test instead; r=ochameau
--HG--
extra : commitid : AYcI9tDXKgD
extra : rebase_source : 64225d0a9b7b57a646527cefaaa432cdd75051e7
2016-02-08 16:14:11 +01:00
Patrick Brosset
1ce6211390 Bug 1231945 - Display animation.id when it exists; r=tromey
--HG--
extra : commitid : 3RwnsF3FzdH
2016-02-02 11:49:22 +01:00
Alexandre Poirot
5e0d485465 Bug 1239276 - Convert DebuggerClient.connect to promise. r=jryans 2016-01-28 10:11:31 -08:00
Mike Conley
1f5ff0f8bb Bug 1233497 - Don't yield or resolve CPOWs from Tasks or Promises in devtools tests. r=jryans
--HG--
extra : commitid : 9JIJ8ndwr2V
extra : rebase_source : b8f3d16cc2868f9f3d85aaee6129ddc8b2deb714
2016-01-07 13:40:41 -05:00
Nick Fitzgerald
926f0d1426 Bug 1233831 - Part 5: Test the minor GC markers; r=vporof 2016-01-19 12:48:23 -08:00
Alexandre Poirot
0c4a13e316 Bug 1227978 - Simplify usages of Debuggerclient APIs now that all requests returns promises. r=jlongster 2016-01-12 01:14:00 -08:00
Alexandre Poirot
348726a264 Bug 1220458 - Resolves ActorRegistry.registerActor only once actor is registered in the child processes. r=jryans
--HG--
rename : devtools/server/tests/mochitest/test_registerActor.html => devtools/server/tests/browser/browser_register_actor.js
2015-11-19 09:51:21 -08:00
Patrick Brosset
af8f11fb21 Bug 1214887 - Use a long animation in browser_animation_updatedState.js to avoid intermittents. r=ttromey
--HG--
extra : rebase_source : ec36fa1782bca568dc9309c09cdaa861b9d10cc8
2015-11-18 14:19:43 +01:00
Victor Porof
a54b717a42 Bug 1218078 - Show onload and DOMContentLoaded markers in the netmonitor's frontend, r=smaug, jsantell, tromey 2015-11-11 23:11:40 +01:00
Patrick Brosset
914dc333d8 Bug 1211801 - Add a playback rate selector to the animation panel. r=miker 2015-11-02 12:54:07 +01:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Alexandre Poirot
89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
J. Ryan Stinnett
6b3d9a67b6 Bug 1196047 - Move most of shared/performance to client or server. r=jsantell
--HG--
rename : devtools/shared/performance/legacy/compatibility.js => devtools/client/performance/legacy/compatibility.js
rename : devtools/shared/performance/utils.js => devtools/shared/performance/recording-utils.js
2015-10-09 18:26:08 -05:00
Wes Kocher
399a23b6c1 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Patrick Brosset
3a80549c1f Bug 1197100 - 3 - Remove code duplication in animation actor tests; r=miker
--HG--
extra : commitid : 28E4LlbrlUP
extra : rebase_source : 78ee9ba47adbc92e2cfbfb43f45209510745a61b
2015-09-29 16:43:48 +02:00
Patrick Brosset
7c6721fbc2 Bug 1197100 - 2 - Rename all animation actor tests so the filenames actually make sense; r= miker
--HG--
rename : devtools/server/tests/browser/browser_animation_actors_13.js => devtools/server/tests/browser/browser_animation_emitMutations.js
rename : devtools/server/tests/browser/browser_animation_actors_17.js => devtools/server/tests/browser/browser_animation_getFrames.js
rename : devtools/server/tests/browser/browser_animation_actors_06.js => devtools/server/tests/browser/browser_animation_getMultipleStates.js
rename : devtools/server/tests/browser/browser_animation_actors_02.js => devtools/server/tests/browser/browser_animation_getPlayers.js
rename : devtools/server/tests/browser/browser_animation_actors_10.js => devtools/server/tests/browser/browser_animation_getStateAfterFinished.js
rename : devtools/server/tests/browser/browser_animation_actors_16.js => devtools/server/tests/browser/browser_animation_getSubTreeAnimations.js
rename : devtools/server/tests/browser/browser_animation_actors_14.js => devtools/server/tests/browser/browser_animation_keepFinished.js
rename : devtools/server/tests/browser/browser_animation_actors_09.js => devtools/server/tests/browser/browser_animation_playPauseIframe.js
rename : devtools/server/tests/browser/browser_animation_actors_08.js => devtools/server/tests/browser/browser_animation_playPauseSeveral.js
rename : devtools/server/tests/browser/browser_animation_actors_03.js => devtools/server/tests/browser/browser_animation_playerState.js
rename : devtools/server/tests/browser/browser_animation_actors_07.js => devtools/server/tests/browser/browser_animation_reconstructState.js
rename : devtools/server/tests/browser/browser_animation_actors_15.js => devtools/server/tests/browser/browser_animation_refreshTransitions.js
rename : devtools/server/tests/browser/browser_animation_actors_11.js => devtools/server/tests/browser/browser_animation_setCurrentTime.js
rename : devtools/server/tests/browser/browser_animation_actors_12.js => devtools/server/tests/browser/browser_animation_setPlaybackRate.js
rename : devtools/server/tests/browser/browser_animation_actors_01.js => devtools/server/tests/browser/browser_animation_simple.js
rename : devtools/server/tests/browser/browser_animation_actors_04.js => devtools/server/tests/browser/browser_animation_updatedState.js
extra : commitid : Hj801v7jGQa
extra : rebase_source : 901666ed623d7e4fa3dfb4cfaefb5db80e2adef8
2015-09-29 15:51:23 +02:00
Patrick Brosset
9c03fd64ad Bug 1197100 - 1 - Add getFrames method to the AnimationPlayerActor; r=miker
--HG--
extra : commitid : H7CgQW0CBvU
extra : rebase_source : c27d9b80ed2b2d0bada83d18d7e5ff0eae18b43a
2015-09-29 14:53:15 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tom Tromey
ab00bd72c5 Bug 1209077 - handle cached empty string in StyleSheetActor._getText; r=bgrins,pbrosset 2015-09-28 07:28:00 +02:00