Commit Graph

5111 Commits

Author SHA1 Message Date
Jordan Santell
9dc17673f8 Bug 1169439 - Pull out marker definitions into its own file, and move formatter and collapse functions into marker-utils. r=vp 2015-05-30 19:07:38 -07:00
Jordan Santell
cf1eac6354 Bug 1163356 - Migrate performance tool components to xpcshell tests where appropriate. r=vp 2015-05-29 17:34:32 -07:00
Jordan Santell
5c93a8343b Bug 1169411 - recording durations should be based off of profiler's end time in a performance recording. r=vp 2015-05-28 13:59:12 -07:00
James Long
ce42617b97 Bug 1166852 - handle named eval sources from the console correctly r=ejpbruel 2015-05-29 12:27:44 -04:00
Ryan VanderMeulen
8f17ff3241 No bug - Request a longer timeout for browser_perf-overview-render-03.js.
CLOSED TREE
2015-05-29 13:14:07 -04:00
Tim Nguyen
aca48eba25 Bug 938290 - Add a proper shader editor icon. r=bgrins 2015-05-27 22:15:00 -04:00
Jan Odvarko
a576ed8961 Bug 1036949 - Test for markup view 'form' event. r=pbrosset 2015-05-28 18:02:02 +02:00
Jan Odvarko
3228ed3306 Bug 1036949 - Support for markup view customization. r=pbrosset, r=jryans 2015-05-21 13:03:54 +02:00
Victor Porof
72c1580bd3 Bug 1169444 - Cache the waterfall tree whenever created in _prepareWaterfallTree, r=jsantell 2015-05-29 09:44:13 -04:00
Victor Porof
6224ead18b Bug 1169438 - Don't show an empty sidebar when the waterfall is drawn the for first time, r=jsantell 2015-05-29 09:44:13 -04:00
Victor Porof
2b4e171500 Bug 1169436 - Marker nodes (which contain child markers) should also be re-selected when the waterfall view is redrawn, r=jsantell 2015-05-29 09:44:13 -04:00
Sunny
b1edd1f199 Bug 1011504 - Added command listeners for cmd_find and cmd_findAgain. r=past 2015-05-29 13:32:22 +03:00
Victor Porof
fc67cf7040 Backed out changeset 549e09a3e84d for breaking the web audio editor, r=permaorange 2015-05-28 18:09:25 -04:00
Victor Porof
6caf1e186d Bug 1169135 - Make Graphs.jsm a require module, r=jsantell 2015-05-28 17:04:16 -04:00
Victor Porof
9ba04858aa Bug 1169352 - Temporarily disable assertion in browser_timeline-waterfall-rerender.js, r=orange 2015-05-28 16:17:17 -04:00
James Long
0af9fb4894 Bug 1166844 - treat eval'ed code from the console as unnamed eval sources r=ejpbruel 2015-05-28 12:39:56 -04:00
Jordan Santell
908ec067f8 Bug 1147143 - Inverted call tree times are now based on the context of their position in the tree, non-leaf frames do not have self costs, and total costs add up to their parent. r=shu 2015-05-23 15:58:56 -07:00
J. Ryan Stinnett
8543c58dcd Bug 1166794 - Don't package GCLI commands. r=jwalker 2015-05-26 15:19:00 -04:00
Victor Porof
e16dada1f0 Bug 1169257 - Add longer timeout for browser_perf-overview-render-02.js, r=orange 2015-05-28 10:10:21 -04:00
Ryan VanderMeulen
af38a1748c Bug 1161817 - Disable browser_timeline-waterfall-sidebar.js on Linux due to frequent failures.
CLOSED TREE
2015-05-28 09:36:14 -04:00
Patrick Brosset
ff274336ab 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
Panos Astithas
fa6831b456 Add an unlisten command for stopping any active debugger server instaces (bug 976977). r=jwalker 2015-05-28 08:25:11 +03:00
Victor Porof
6b06b2a982 Bug 1169132 - Fix imports in FlameGraph.js, r=jsantell 2015-05-28 00:30:41 -04:00
Victor Porof
c729c3efec Bug 1169120 - Waterfall should preserve the currently selected marker after resizing, r=jsantell 2015-05-28 00:30:21 -04:00
J. Ryan Stinnett
c3980cc13c Bug 1169109 - Revert bug 1160771 changes to WebIDE throbber.svg. r=me 2015-05-27 20:46:37 -05:00
Gabriel Luong
97803a56ff Bug 1139058 - Part 2: Unit test for adding unmatched rules to the rule view r=pbrosset 2015-05-27 17:36:20 -07:00
Gabriel Luong
019a07eb84 Bug 1139058 - Part 1: Allow unmatched rules to be added to the rule view r=pbrosset 2015-05-27 17:36:17 -07:00
Victor Porof
f10279dd70 Bug 1158862 - Rerendering waterfall graph ignores current selection, r=jsantell 2015-05-27 17:24:33 -04:00
Victor Porof
0a1f3f9f0c Bug 1168125 - Add a new test, r=jsantell 2015-05-27 17:24:13 -04:00
Victor Porof
a567945eed Bug 1168125 - Fix existing tests, r=jsantell 2015-05-27 17:24:13 -04:00
Victor Porof
3cbd2f09f5 Bug 1168125 - Add marker folding logic, r=jsantell 2015-05-27 17:23:53 -04:00
Victor Porof
1602d119cc Bug 1168125 - Replace the waterfall view with a tree, r=jsantell 2015-05-27 17:23:53 -04:00
Victor Porof
08540bb73c Bug 1158982 - Using up/down keys moves overview graphs, r=jsantell 2015-05-27 15:23:44 -04:00
Alexandre Poirot
3e225abbea Bug 1167181 - Fix pending getOriginalLocation requests while running browser_computedview_matched-selectors_01.js. r=pbrosset 2015-05-25 22:51:45 +02:00
Sami Jaktholm
3f657b9e0a Bug 1165482 - Suppress errors that occur is Developer Toolbar tab change handler if the tab is closed during the update operation. r=bgrins 2015-05-27 04:41:38 +03:00
Sami Jaktholm
6e5dc71e41 Bug 1160774 - Don't wait for 'stylesheet-selected' event in source-utils.js as it is not emitted if the requested sheet is already selected. r=jsantell
The promise returned by selectStyleSheet resolves about the same time as the
'stylesheet-selected' event would be emitted so there's no need to wait for the
actual event that might never come.
2015-05-23 21:49:50 +03:00
Phil Ringnalda
1bc46b6318 Back out b85bc83d5a15 (bug 1166774) for frequent failures in browser_ruleview_colorpicker-edit-gradient.js 2015-05-26 21:04:21 -07:00
Wes Kocher
496239d16d Merge m-c to fx-team, a=merge 2015-05-26 16:26:24 -07:00
Wes Kocher
2bf6c2b004 Merge inbound to central, a=merge 2015-05-26 16:16:26 -07:00
Alexandre Poirot
5afc9e4621 Bug 1167174 - Assert that custom highlighter do show the highlighter before proceeding. r=pbrosset 2015-05-25 18:54:08 +02:00
Brian Grinstead
cce73ba1ab Bug 1164327 - Make resizing a graph maintain the drawn selection. r=vporof 2015-05-24 17:38:00 +02:00
Julian Descottes
474724bdfd Bug 965199 - "Copy Image Data-URL" in computed & rule views. r=pbrosset
This feature is about the inspector's rule view & computed view.
The context menu for an image URL (e.g. value of background-image property)
will contain a new entry : "Copy Image Data-URL". Clicking on it will fill the
clipboard with the image encoded as a data url.

The mechanism to hide/show the entry is inspired from the "Copy Color" menu
entry. When the context menu is displayed, check if the target is contained in
a node of type "image", using the getNodeInfo method available on both views.

If the image data cannot be retrieved for a given URL, the clipboard is filled
with an error message.

Modified rule-view getNodeInfo method in order to exclude from image nodes the
'source' links (such as 'style.css', displayed on the right of the rule-view).

Added a new mochitest that tests the feature on an element using a base64
background image.
2015-05-24 01:41:09 +02:00
Patrick Brosset
8ce4dfa523 Bug 1167945 - Remove spidermonkey specific JS from canvasdebugger; r=jryans 2015-05-24 14:44:02 +02:00
Patrick Brosset
45fc9ba346 Bug 1167957 - Remove spidermonkey specific JS from debugger 2015-05-25 09:17:26 +02:00
Phil Ringnalda
838a9b49c2 Back out bc60df62a51e (bug 1167957) for frequent incomprehesible e10s leaks of a docshell in browser_urlbarEnter.js 2015-05-25 17:41:58 -07:00
Sami Jaktholm
8f46b3349c Bug 982201 - Don't give up so easily when constructing netmonitor statistics view during tests. r=past
In tests it doesn't make sense to give up after two seconds as we want to test
the actual feature - not that it can do everything in under two seconds which
is quite a long shot on debug builds.

The new 45 second timeout during tests matches the 45 second timeout of
mochitests which essentially makes it impossible for whenDataAvailable to
timeout during tests causing these false positives.
2015-05-23 07:16:22 +03:00
J. Ryan Stinnett
f0511a52ab Bug 1167633 - Remove SpiderMonkey specific JS syntax from App Manager / WebIDE. r=pbrosset 2015-05-22 09:34:00 -04:00
Alexandre Poirot
1c6bc19152 Bug 1167181 - Wait for computed view to be fully loaded in tests before proceeding to next one. r=pbrosset 2015-05-25 01:09:47 +02:00
Patrick Brosset
914dcaeb9f Bug 1167957 - Remove spidermonkey specific JS from debugger 2015-05-25 09:17:26 +02:00
Victor Porof
bb6c26942c Bug 1167962 - Fix import in synthesizeProfileForTest, r=orange 2015-05-24 14:12:53 -04:00