Commit Graph

4740 Commits

Author SHA1 Message Date
J. Ryan Stinnett
bd15455765 Bug 1134166 - Restart toolbox if selected app re-opens. r=ochameau 2015-04-08 04:09:42 -05:00
Brian Grinstead
eff6c05870 Bug 1151259 - Switch <toolbar> to <box> to get rid of -moz-appearance styles for devtools sidebar. r=jryans 2015-04-07 14:27:00 +02:00
Jordan Santell
e9926a9705 Bug 1138928 - Display only function name and file, instead of full url, in flame graphs. r=vp 2015-04-07 17:36:00 +02:00
J. Ryan Stinnett
52b60b11af Bug 1150366 - Add D3 licenses to license.html. r=gerv
--HG--
rename : browser/devtools/webaudioeditor/lib/D3_LICENSE => browser/devtools/shared/D3_LICENSE
2015-04-06 06:07:00 -04:00
J. Ryan Stinnett
bd2fea3a98 Bug 1150366 - Remove duplicate d3.js. r=jsantell 2015-04-06 06:06:00 -04:00
Sami Jaktholm
64751e4251 Bug 1148893 - Clean up browser_styleeditor_loading.js. r=bgrins 2015-04-02 21:14:07 +03:00
Sami Jaktholm
59c2d5cf3a Bug 1148893 - Miscellaneous fixes to multiple style editor tests. r=bgrins 2015-03-28 14:02:48 +02:00
Sami Jaktholm
e70362629d Bug 1148893 - Clean up browser_styleeditor_new.js. r=bgrins 2015-04-02 20:57:39 +03:00
Sami Jaktholm
1a48eb042d Bug 1148893 - Clean up browser_styleeditor_nostyle.js. r=bgrins 2015-04-02 22:30:27 +03:00
Sami Jaktholm
48ea851eee Bug 1148893 - Clean up browser_styleeditor_pretty.js. r=ejpbruel 2015-04-07 18:46:50 +03:00
Sami Jaktholm
4590375c87 Bug 1148893 - Clean up browser_styleeditor_selectstylesheet.js. r=ejpbruel 2015-04-02 14:09:52 +03:00
Sami Jaktholm
0fa0afeb71 Bug 1148893 - Clean up browser_styleeditor_sv_keynav.js. r=ejpbruel 2015-04-02 13:52:37 +03:00
Sami Jaktholm
327d097692 Bug 1148893 - Split navigation test out of browser_styleeditor_reload.js and clean it up. r=ejpbruel 2015-03-28 10:30:12 +02:00
Patrick Brosset
cb0331564f Bug 1151018 - Refresh the list of Animation widgets when the animation panel loads; r=bgrins
Instead of only refreshing the list of animation widgets when the animations
controller emits an event, also refresh it once after the initialization is
done. This is useful to avoid missing animations that are already applied to
the default inspector selection.

--HG--
extra : rebase_source : f64cbdd4ad68c3cd733a86b7e2729005614a7049
2015-04-07 15:11:18 +02:00
Ryan VanderMeulen
522a492ff4 Backed out changeset f937e8d943d8 (bug 1147945) for xpcshell failures. 2015-04-07 13:44:58 -04:00
Jordan Santell
a9f27de986 Bug 1151526 - Do not display optimization data for meta-platform frames in the profiler. r=vporof 2015-04-06 18:09:00 -04:00
Sami Jaktholm
6d3dcf46e2 Bug 1148323 - Make checked checkboxes visibile in rule and computed view context menus on Windows. r=pbrosset 2015-04-04 09:19:47 +03:00
Jordan Santell
2fe2590674 Bug 1147945 - Let the profiler's buffer size and sample rate be configurable via prefs. r=vporof 2015-04-04 20:32:00 -04:00
Sami Jaktholm
fc3a298237 Bug 1148770 - Wait for asynchronous operations to complete before resolving in StyleSheetEditor.fetchSource. r=ejpbruel 2015-04-01 06:41:28 +03:00
Jordan Santell
a2ecc81eb0 Bug 1121180 - Support dark theme in flamecharts for the performance tool. r=vp
--HG--
rename : browser/devtools/shared/widgets/FlameGraph.jsm => browser/devtools/shared/widgets/FlameGraph.js
2015-04-06 11:53:00 -04:00
Jordan Santell
18342ce6b0 Bug 1150733 - Correctly internationalize jit samples label. r=vporof, r=flod 2015-04-05 10:05:00 -04:00
Jordan Santell
09003c5bc8 Bug 1150112 - Markers overview should react to theme change, and other marker views now use CSS to automatically use theme change. r=vporof 2015-04-02 16:25:00 -04:00
Jordan Santell
206dd1a072 Bug 1149630 - Performance graphs should inherit from a common graph and be similarly styled. r=vporof 2015-04-02 13:04:00 -04:00
Jordan Santell
aefa62c16a Bug 1108843 - Generalize platform data in call tree view when platform data is hidden. r=vporof 2015-04-02 15:43:00 -04:00
Patrick Brosset
e0255d2129 Bug 994055 - Part 2: Add tests for the inspector sidebar toggle button. r=miker
--HG--
extra : transplant_source : %25O%DE%DD%CA%AB%3Cb3%82%F2%82N%E4HV%C1%27%E72
2015-04-03 17:11:15 +02:00
Patrick Brosset
c0f73f550b Bug 994055 - Part 1: Add a toggle sidebar panel button to the inspector. r=miker
This adds a new icon, next to the searchbox (like in the debugger) to expand
or collapse the sidebar panel in the inspector.
The state is *not* persisted yet when the toolbox is closed.
The button is hidden when the toolbox host switches to 'side'.

--HG--
extra : transplant_source : %D0%09%C2%0E%23%94%B0%A9Ym%BF%1B%60%3C%A5%D6D%C3%92%DE
2015-04-03 16:39:33 +02:00
Mike Taylor
5809ad205b Bug 848502 - Add keyboard shortcut to copy selected source URL. r=vporof 2015-04-03 09:13:00 -04:00
Mike Taylor
447077e35f Bug 848502 - Add a context menu to the debugger sources panel. r=vporof 2015-04-03 09:13:00 -04:00
Mike Taylor
ec24053f6c Bug 848502 - Add a contextMenu option to SideMenuWidget. r=vporof 2015-04-03 09:12:00 -04:00
J. Ryan Stinnett
890a7a9095 Bug 1149289 - Fix browser_tabs test issues on Windows. r=me 2015-04-03 19:13:39 -05:00
Patrick Brosset
7e82aa061e Bug 1120833 - 4 - Tests for animation inspector refresh on addition/removal; r=miker
(Re-land after backout)

--HG--
extra : rebase_source : ba823c222fde587e2b61eab40e22816cbfd12cc7
2015-04-03 11:07:11 +02:00
Patrick Brosset
28523c6d69 Bug 1120833 - 3 - Refresh the list of animation widgets when new animations are added; r=miker
(Re-land after backout)
The animation-controler was in charge of getting new animation players and refreshing
the UI when done. This is still the case, but it now listens for mutation events from
the actor too, and when they happen, it simply asks the ui to refresh again.
Also, animations with playState "finished" that remain in the animation inspector panel
can now be played again.

--HG--
extra : rebase_source : 309a167b2218c6fc586c64977896a4715bd5a1d5
2015-04-01 10:16:40 +02:00
Ryan VanderMeulen
37f3daf0c7 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-03 10:52:46 -04:00
Eddy Bruël
318d2572e3 Bug 1147972 - Test setting a breakpoint on a column;r=jlong 2015-04-03 14:46:27 +02:00
Patrick Brosset
cdde90bca4 Bug 1144615 - 3 - Tests for the playbackRate selection UI in the animation panel; r=vporof
--HG--
extra : rebase_source : dfc269a9256e4f7fd09f0e2d26634ebc17f29ae7
2015-04-02 12:14:46 +02:00
Patrick Brosset
d1efb1e1ef Bug 1144615 - 2 - Adds a playbackRate selector widget to the animation panel; r=vporof
This adds a playbackRate <select> dropdown next to the list of other playback
control buttons (play/pause, rw, fwd).
The list shows presets, unless the current rate isn't part of these presets
in which case it also shows this rate in the list.
The widget was created as a reusable component with a simple API, like the
PlayerMetaDataHeader.

--HG--
extra : rebase_source : d050fdaa4565a7b51b179ecd08a36b79be2275f1
2015-04-02 12:24:46 +02:00
Patrick Brosset
646f3e6e11 Bug 1144615 - 1 - Minor css fixes in animation panel; r=bgrins
The toolbar class was making the whole background of the animation panel
be grey, unlike the other inspector side-bar panels.
Also removed the unnecessary right-border on the global play/pause button.
2015-04-03 11:24:30 +02:00
Patrick Brosset
2798bf95eb Bug 1134500 - Fix multiple browser/devtools/animationinspector intermittent tests; r=bgrins
This changes a few animationinspector tests by making them wait until the expected animation
state is reached rather than just waiting for the next animation auto-refresh update, which
might, in some cases, not be enough.

This is a re-landing of bug 1134500 and bug 1149711.
2015-04-03 10:32:48 +02:00
Ryan VanderMeulen
8d08642b52 Backed out 2 changesets (bug 1144615, bug 1134500) for mochitest-dt failures.
Backed out changeset ea9cfb625ac6 (bug 1134500)
Backed out changeset 2bb927ec6786 (bug 1144615)

--HG--
extra : rebase_source : 21104648dcd61ad4c4b6d3ea77e49b09077acf7c
2015-04-02 16:10:02 -04:00
Brian Grinstead
4a8de38c01 Bug 947242 - DevTools themes - switch to new theme colors;r=jsantell 2015-04-02 10:58:58 -07:00
Ryan VanderMeulen
769f798614 Backed out 3 changesets (bug 1120833, bug 1149711) for causing bug 1150615.
Backed out changeset 527c548ff03c (bug 1149711)
Backed out changeset 2fe22ffef154 (bug 1120833)
Backed out changeset 501fa7c170ed (bug 1120833)

CLOSED TREE
2015-04-02 14:42:05 -04:00
J. Ryan Stinnett
dae120e19a Bug 1149820 - Restore WebIDE project auto select. r=ochameau 2015-04-02 11:35:24 -05:00
Patrick Brosset
69553c23c4 Bug 1134500 - Intermittent browser_animation_toggle_button_updates_playerWidgets.js; r=bgrins
Wait for the playState to reach the expected state rather than just waiting for the next auto
refresh of the AnimationPlayerActor.

--HG--
extra : rebase_source : 4efede2ea007fed766e9714e2aff5399170d4b57
2015-04-02 10:16:07 +02:00
Patrick Brosset
42b291a711 Bug 1144615 - 1 - Minor css fixes in animation panel; r=bgrins
The toolbar class was making the whole background of the animation panel
be grey, unlike the other inspector side-bar panels.
Also removed the unnecessary right-border on the global play/pause button.

--HG--
extra : rebase_source : 7b2311bf06294e7e334aeee556d564809d4afcfe
2015-03-26 13:54:12 +01:00
J. Ryan Stinnett
e14b018648 Bug 1149289 - Disable browser_tabs.js on Windows. r=me 2015-04-02 10:26:42 -05:00
Patrick Brosset
3318f6f1d3 Bug 1149711 - Intermittent browser_animation_ui_updates_when_animation_changes.js; r=bgrins
On particularly slow test environments, it might not be enough to wait for the next
AnimationPlayerActor state update.
I introduced a helper function that makes it possible for tests to wait for state
updates until the animation state reaches the expected value. In most cases, we use
it to wait until an animation reaches a given playState (paused, running, finished).

--HG--
extra : rebase_source : 791da93c00b4eaffe8c31001fc9a2cdec4dc7e4c
2015-04-02 17:02:41 +02:00
Patrick Brosset
04fbffd14f Bug 1120833 - 4 - Tests for animation inspector refresh on addition/removal; r=miker
--HG--
extra : rebase_source : b4886af02cdbc9aed5a88994507bb4b5a5261648
2015-04-01 11:06:22 +02:00
Patrick Brosset
f365dad1b9 Bug 1120833 - 3 - Refresh the list of animation widgets when new animations are added; r=miker
The animation-controler was in charge of getting new animation players and refreshing
the UI when done. This is still the case, but it now listens for mutation events from
the actor too, and when they happen, it simply asks the ui to refresh again.
Also, animations with playState "finished" that remain in the animation inspector panel
can now be played again.

--HG--
extra : rebase_source : 8fe6e245ec04bfe399166e343b888b6ce3ca0ef1
2015-04-01 10:16:40 +02:00
Patrick Brosset
ad0a7a714a 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.

--HG--
extra : rebase_source : 4a9be4695261d65a2f032117af9fce985f5c0378
2015-04-02 12:47:34 +02:00
Patrick Brosset
3ce53fe10e 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.

--HG--
extra : rebase_source : 16c097df7b579b980f710ffbd98fe3d01a6fbc76
2015-03-30 11:59:46 +02:00
J. Ryan Stinnett
f222754ae5 Bug 1149778 - Lazify simulator startup to allow ADB init. r=ochameau 2015-04-01 13:31:00 +02:00
Matteo Ferretti
91aca3f385 Bug 1144163 - Add a rulers highlighter; added gcli command and button. r=pbrosset 2015-04-01 19:28:57 +02:00
Matteo Ferretti
39806788c1 Bug 1144163 - Add a rulers highlighter; added unit test. r=pbrosset
- Added unit test for Rulers Highlighter
 - Added `Test:ScrollWindow` function to doc_frame_script.js
2015-03-28 00:25:18 +01:00
Wasiur Rahman
cea42670ff Bug 1132208 - "Remove dead code from framerate actor now in GraphsWorker.js". r=jsantell 2015-03-31 21:00:00 +02:00
Aime Galmi
e5163401c9 Bug 1084911 - Clicking on "Open Add-ons Manager" actually leads to the Plugins manager. r=jryans 2015-04-01 01:12:35 +02:00
Jordan Santell
2b43b9dae5 Bug 1077464 - Wire console.profile/profileEnd to the new performance tool. Move most of the recording-model logic from the front end into the PerformanceFront and PerformanceActorConnection so it can manage recordings without the front end being viewed. r=vp, r=jryans 2015-04-10 11:14:00 -04:00
Jordan Santell
a321363678 Bug 1143933 - Expose raw JIT optimization information in performance front end. r=vp,shu 2015-03-25 10:08:40 -07:00
Patrick Brosset
f971f18e02 Bug 1137771 - Intermittent browser_animation_play_pause_button.js; r=miker
Instead of waiting for the next auto-refresh event only (which could be a
response to an older request, therefore not having the expected state yet),
wait until the state changes to what we expect in the test.
This means that if the play/pause button doesn't work anymore, then the test
will timeout, but at least it won't intermittently fail as it was doing until
now.

--HG--
extra : rebase_source : 75b7ffd38cc9fe83bb938c28109d12c57fbf3294
2015-03-31 16:18:02 +02:00
Panos Astithas
e4b9084401 Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Carsten "Tomcat" Book
0d5796d62d Backed out changeset 9b269f3bf1a5 (bug 955933) for dt test failures on a CLOSED TREE 2015-04-01 13:24:49 +02:00
Eddy Bruël
8769806b40 Bug 1129784 - Implement column sliding for source mapped sources;r=jlong 2015-04-01 11:03:57 +02:00
Jordan Santell
a8a67ac3eb Bug 1110550 - Enable performance overview graphs to rerender and change on devtools theme switch. r=vp 2015-03-31 10:18:00 +02:00
Pierre de La Morinerie
f11bb0fb8a Bug 955933 - Allow copying the network response string. r=vporof 2015-03-31 16:17:00 +02:00
Brian Grinstead
602337095e Bug 1148996 - Install a devedition lightweight theme on startup, then wait for it to be applied before applying devedition styles;r=Gijs 2015-03-31 20:00:32 -07:00
Ryan VanderMeulen
3e6e4cfe95 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-03-31 14:41:03 -04:00
James Long
f0bd4ead17 Bug 1148075 - Dynamically add XUL commands for the debugger frontend. r=vporof 2015-03-27 11:47:00 -04:00
Victor Porof
77324062a8 Bug 1148463 - Re-enable the Performance++ tool, r=jsantell 2015-03-31 11:28:43 -04:00
Mike Conley
8ecf4e3ced Bug 1147035 - Make DeveloperToolbar.jsm use the gBrowser.contentDocumentAsCPOW shortcut. r=past.
--HG--
extra : rebase_source : 7f5fbe373de1c43d27a94344fd9cefe0b6a3aa58
2015-03-30 15:20:34 -04:00
Wes Kocher
73800cd3df Merge m-c to fx-team a=merge CLOSED TREE 2015-03-30 19:42:25 -07:00
Wes Kocher
c469147d07 Merge fx-team to m-c a=merge 2015-03-30 14:30:57 -07:00
Brian Grinstead
5df734e710 Bug 1094821 - Backout 01482cdccd72 for test failures in Aurora simulation;r=me;a=RyanVM 2015-03-30 09:20:48 -07:00
J. Ryan Stinnett
a78c9b9b5e Bug 1146542 - Restore tab list changes for non-sidebar case. r=ochameau 2015-03-29 23:18:42 -05:00
J. Ryan Stinnett
d8d2af41c7 Bug 1146542 - Clean up and describe app-manager events. r=ochameau 2015-03-29 23:18:42 -05:00
Sami Jaktholm
c8d45add56 Bug 1148893 - Add shared frame script utils to Style Editor head.js. r=ejpbruel 2015-03-28 10:19:03 +02:00
Sami Jaktholm
cd332ecd32 Bug 1148893 - Replace .then handlers with yields to catch 'Unknown sheet source' rejections in Style Editor onShow task. r=ejpbruel 2015-03-28 10:15:29 +02:00
Sami Jaktholm
63f9ca53ff Bug 1148893 - Return the style sheet selection promise to the caller. r=ejpbruel 2015-03-28 07:22:50 +02:00
Panos Astithas
6371cae954 Update devtools.webide.adaptersAddonURL to the new Valence location (bug 1148580). r=jryans 2015-03-30 19:29:03 +03:00
J. Ryan Stinnett
20d9dfd605 Bug 1138591 - Remove the chrome-enabled pref. r=past
--HG--
extra : transplant_source : %C0%3D%FB%C9%05%C4z%EB4%D4%A3%81%7E%94RX%19%9B%27%AE
2015-03-28 03:42:33 -05:00
Sami Jaktholm
a6de2dd386 Bug 1148770 - Rewrite browser_styleeditor_bug_870339.js to fix intermittent leaks. r=ejpbruel 2015-03-29 08:59:28 +03:00
Jonathan Watt
d1f6af5340 Bug 1145246, part 4 - Update devtools code for the rename of Animatable.getAnimationPlayers() to Animatable.getAnimations(). r=pbrosset 2015-03-20 18:20:55 +00:00
Willian Gustavo Veiga
9cc67b102c Bug 1140839 - Scratchpad should remember View options. r=past 2015-03-12 21:57:49 -03:00
Phil Ringnalda
21b174f9a4 Merge m-c to m-i to m-c merge, a=mergemerge 2015-03-28 11:45:00 -07:00
Phil Ringnalda
e44926f4c1 Merge m-i to m-c, a=merge 2015-03-28 11:44:16 -07:00
Victor Porof
e50a9999eb Bug 1148463 - Temporarily disable the new performance tools for the Aurora uplift by backing out changeset 2ae4dac8f094, r=jsantell 2015-03-27 20:20:11 -04:00
Brian Grinstead
371e5229aa Bug 971129 - Set a minimum page size to 25px when initializing the devtools toolbox host;r=jryans 2015-03-27 10:35:32 -07:00
Ryan VanderMeulen
da1028199c Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Nick Fitzgerald
2edf06beb3 Bug 1038238 - Part 0: Make js/src/vm/SavedStacks.h use 1-based column numbers,
like js::ComputeStackString and other browsers do; r=jorendorff

https://bugzilla.mozilla.org/show_bug.cgi?id=1038238
2015-03-27 13:08:46 -07:00
Jordan Santell
ec8dff9250 Bug 1147656 - Remove duplicate profiler defaults from the front end and just use on the server. r=vp 2015-03-26 13:15:00 -04:00
Wes Kocher
5b6f65bcdb Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
J. Ryan Stinnett
c2778efe9d Bug 1147042 - Rename attachProcess to getProcess. r=ochameau
--HG--
rename : toolkit/devtools/server/tests/mochitest/test_attachProcess.html => toolkit/devtools/server/tests/mochitest/test_getProcess.html
extra : rebase_source : d74e89db7b2da7eda804d8f667d54c1447bb02e2
2015-03-24 14:59:53 -05:00
Sami Jaktholm
499b1fa2b9 Bug 1147765 - Fix console and style inspector tests that interact with style editor. r=ejpbruel
CLOSED TREE
2015-03-21 19:03:35 +02:00
Sami Jaktholm
085a979136 Bug 1147765 - Fix test failures caused by async initialization fixes. r=ejpbruel 2015-03-21 14:12:58 +02:00
Sami Jaktholm
aa303414a5 Bug 1147765 - Fix asynchronous initialization of Style Editor. r=ejpbruel 2015-03-26 13:30:35 +02:00
Tom Tromey
0046046758 Bug 1124456 - Check channel's contentPolicyType to see if it is XMLHttpRequest. r=vporof 2015-03-27 06:00:00 -04:00
Brian Grinstead
9157387e13 Bug 1147128 - Make sure attribute shows up in markup view after removing and setting to the previous value;r=mratcliffe 2015-03-27 07:30:09 -07:00
Alexandre Poirot
baf4294fca Bug 1134180 - Introduce RootActor.getTab to prevent creating TabActor for all tabs. r=past
--HG--
extra : rebase_source : 353d0d724d464ebdd03872163e2a75b4674ee6e5
2015-03-25 09:30:00 -04:00
Patrick Brosset
31fcbce2ca Bug 1106272 - Part 3: Test for the selector highlighter feature in the rule-view. r=miker
--HG--
extra : rebase_source : 4b65324399a8ecb8eba60377b16446e4fc0ecf55
2015-03-24 15:57:33 +01:00
Patrick Brosset
d44f1cbad1 Bug 1106272 - Part 2: Change all rule-view events from custom dom events to eventemitter events. r=miker
--HG--
extra : rebase_source : f84711e8e874c92d3f34850573bf375b00930f7d
2015-03-24 15:06:39 +01:00
Patrick Brosset
7a37471593 Bug 1106272 - Part 1: Remove the selector highlight on hover and add a selector icon instead. r=miker
--HG--
extra : rebase_source : 57dcc58a96c35d42111f5b3671de2d4e8da78e35
2015-03-24 14:42:27 +01:00
Victor Porof
f348006332 Bug 1147397 - The null recording checks in get/setTimeInterval are backwards, r=jsantell 2015-03-25 10:22:20 -04:00