Commit Graph

133 Commits

Author SHA1 Message Date
Greg Tatum
c17299d948 Bug 1265790 - replace inIDOMUtils.isInheritedProperty r=pbro
MozReview-Commit-ID: 1c6OLfYMW0p
2016-06-02 13:07:00 +02:00
Nick Fitzgerald
e3276c78d8 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -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
Julian Descottes
21915e3971 Bug 1202458 - part4: update inspector actor&front tests after removing shortValue;r=pbro
Adapt existing tests checking for updates to shortValue and incompleteValue on
NodeFront instances. Instead we now check for mutations of inlineTextChild type
as well as for the inlineTextChild property of the parent front.

MozReview-Commit-ID: 1mujxwVfvvP

--HG--
extra : rebase_source : 005089146c8a3cb2fed7077bc0a1bc7e754b0796
2016-06-02 16:25:56 +02:00
Kumar McMillan
701f112af0 Bug 1277054 - Handle exited add-on actors after reload. r=ochameau
MozReview-Commit-ID: 6WFI51GJ3ea

--HG--
rename : devtools/server/tests/unit/test_addons_actor/web-extension/manifest.json => devtools/server/tests/unit/addons/web-extension/manifest.json
extra : transplant_source : Y%7E%B0%E4%3AtX%86%60wT%BB%EB%1F%0C%D7%DE%C9l%D2
2016-05-31 15:40:19 -05:00
Nick Fitzgerald
da8d89330d Bug 1277414 - Remove the memprof actor; r=ejpbruel 2016-06-02 10:04:27 -07:00
Greg Tatum
262a831a1f Bug 1265798 - Implement CSS database to query css properties r=pbro
MozReview-Commit-ID: CAUh2GyeA2o

--HG--
extra : rebase_source : fc8e97f7bfc92c709014e58bd7f1670bc859460e
2016-05-26 08:48:00 -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
Kumar McMillan
897c43f281 Bug 1273183 - Install a temporary add-on via remote debugging. r=jryans
MozReview-Commit-ID: FoEZxDjldIA

--HG--
extra : transplant_source : %CC%9B%20%C1n%FB%2B%1C%D4%1Ab%1C%60%C4%91e%80%FA%8D6
2016-05-20 11:36:04 -05:00
Tom Tromey
0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06: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
Patrick Brosset
e57616990f Bug 1069829 - 2 - Don't use cssPropertyIsValid in the rule-view UI, get the info from the server instead; r=tromey
- StyleRuleActors now parse declarations and send them within the form
- Each declaration also contains isValid flag
- Parsing is still done client side for old backends (back compat)
- Declarations are sent with the form, so updated every time the rule changes
- Also made StyleRuleActors send the declarations array for element styles, and made canSetRuleText true for this, since we can simply set the style attribute

MozReview-Commit-ID: 2nI4bRyvwwi

--HG--
extra : rebase_source : 0ccfaeb0edb0b1a60a7c0d741295d61ad66ac57e
2016-04-29 09:30:02 +02:00
Carsten "Tomcat" Book
56fe0e8f2c merge mozilla-inbound to mozilla-central a=merge 2016-05-09 11:17:59 +02:00
Jennifer Fong
2f312892d5 Bug 1270173 - Move protocol.js from devtools/server to devtools/shared. r=ejpbruel 2016-05-06 09:19:00 +02:00
Terrence Cole
38e696d22b Bug 1270774 - Fix devtool memory test limits to allow for more nursery slop; r=fitzgen 2016-05-06 12:18:11 -07:00
Terrence Cole
7241dcd4f1 Bug 1267812 - Improve worst-case minor collection latency; r=jonco r=ochameau
--HG--
extra : rebase_source : c5acb55077819f2e49d1bb3c4c69436ffbe522a8
2016-04-26 13:53:06 -07:00
Jarda Snajdr
9ae963b23e Bug 1265729 - Decouple fronts from actors in storage inspector. r=ejpbruel 2016-04-29 04:34:00 +02:00
Aryeh Gregor
49d7e81abf Bug 1264270 - Parser should output attributes in source order, not reversed; r=hsivonen,bgrins 2016-05-01 15:15:26 +03: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
Carsten "Tomcat" Book
4c2ef97599 Merge mozilla-central to fx-team 2016-04-13 11:58:47 +02:00
Chris Peterson
5cf84aa32d Bug 1103588 - Part 2: Replace deprecated String#contains with String#includes in devtools tests. r=jryans 2016-04-09 16:04:36 -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
Tom Tromey
45f2a4223b Bug 1013219 - set line number of return instruction; r=efaust, r=fitzgen, r=ejpbruel 2016-03-28 12:20:00 +02:00
Tom Tromey
c20c5b9f3c Bug 1013219 - set the line number of the terminating retrval; r=jimb, r=ejpbruel, r=fitzgen 2016-03-28 12:20:00 +02: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
James Long
b3e9ba976b Bug 1177329 - make sure sourcemapped frames appear in order r=fitzgen 2016-03-22 14:05:15 -04:00
James Long
24a4387e45 Bug 1177329 - handle unsourcemapped frames in the debugger and fix top-level breakpoint edge case r=ejpbruel 2016-03-18 18:35:03 -04: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
Carsten "Tomcat" Book
3695dd59e0 merge mozilla-inbound to mozilla-central a=merge 2016-02-25 11:57:51 +01:00
Kris Maglione
791fe66adc Bug 1222087: Part 2 - Ignore NS_ERROR_NO_INTERFACE exceptions when pausing on exceptions. r=fitzgen
MozReview-Commit-ID: Ao5Xpth3Txh

--HG--
rename : devtools/server/tests/unit/test_pause_exceptions-02.js => devtools/server/tests/unit/test_ignore_no_interface_exceptions.js
extra : rebase_source : e70510fdd01c365ab52d4bae2d94bd4b57acad4f
2016-02-22 14:52:27 -08:00
Kris Maglione
b95986457a Bug 1222087: Part 1 - Fix ignoring of exceptions in blackboxed code. r=fitzgen
MozReview-Commit-ID: vtu1ou4ueT

--HG--
extra : rebase_source : 1eac501da57d107e002c862884d8f16c73b1f960
2016-02-22 14:54:36 -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
J. Ryan Stinnett
9fa55e7044 Bug 1204127 - Fix line endings in DevTools server test. r=me 2016-02-08 17:32:07 -06:00
J. Ryan Stinnett
e7d6c84c0a Bug 1204127 - Clean up paths added after migration. r=ochameau 2016-02-08 17:32:07 -06: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
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00: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
Wes Kocher
1b65a8ee2f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00