Commit Graph

1096 Commits

Author SHA1 Message Date
Julian Descottes
a6eadf0628 Bug 1242296 - mem. profiler: clear snapshots icon; r=ntim
Added a new icon clear.svg, use as clear button for the
memory profiler. Updated title for the button.
2016-01-25 00:40:47 +01:00
Carsten "Tomcat" Book
06c3e0ec46 Merge mozilla-central to fx-team 2016-01-27 12:12:26 +01:00
Carsten "Tomcat" Book
45b3ce32b0 merge mozilla-inbound to mozilla-central a=merge 2016-01-27 11:59:49 +01:00
Julian Descottes
86bdbd0e52 Bug 1226887 - add aHTMLTooltip in toolbox.xul;r=bgrins
In order for tooltips to work in XHTML documents embedded in XUL documents,
the parent XUL document needs to have a <tooltip> element which can be
used to display the title.

In the devtools, a tooltip element with id "aHTMLTooltip" is usually created
for this. For the memory profiler, the embedding XUL document is toolbox.xul.
This commit adds a tooltip element with id aHTMLTooltip.
2016-01-24 17:36:25 +01:00
Julian Descottes
afd21ded77 Bug 1224201 - mem. profiler : reduce font-size & add column min-width (16ch);r=vporof
Goal of this commit is to ensure we can display at least 12 number digits +
4 percent chars in the memory table columns whatever the viewport size.
With a viewport width of 800px, we still have 200px usable for the last col
in census view

Some items of the memory table are already using 90% font size.
This commit applies this font-size to the whole memory table.
Also added a 16ch min-width to the non-flex columns
2016-01-24 18:26:54 +01:00
Shivang Nagaria
5378843ac1 Bug 768469 - [gcli] implement a "mdn" command. r=pbrosset 2016-01-23 02:59:00 +01:00
Mike Conley
ed8b97bc5e Bug 1233497 - Remove some more CPOW yields from Tasks in devtools tests. r=jryans 2016-01-11 10:08:38 -05:00
Mike Conley
fd9e0817fa Bug 1233497 - Don't yield or resolve CPOWs from Tasks or Promises in devtools tests. r=jryans 2016-01-07 13:40:41 -05:00
Mike Conley
005a054df5 Bug 1233497 - Avoid unsafe CPOWs in devtools tests. r=jryans 2016-01-07 11:54:18 -05:00
J. Ryan Stinnett
4257e187b4 Bug 1242584 - import-globals-from should carry over to tests. r=tromey 2016-01-26 17:08:33 -06:00
Wes Kocher
c3acc03e57 Backed out 2 changesets (bug 1013219) for apparently making test_ocsp_stapling_expired.js frequently time out
Backed out changeset a97c7103effe (bug 1013219)
Backed out changeset a877772255f6 (bug 1013219)
2016-01-26 10:51:24 -08:00
Gijs Kruitbosch
39288ebc9d Bug 1138737 - improve naming of sharedGlobal list of exceptions, r=jsantell 2016-01-26 12:25:31 +00:00
James Long
2cc4f15883 Bug 1239018 - add file watching and hot reloading for devtools files r=jryans 2016-01-26 11:29:32 -05:00
Gabriel Luong
88f5f860ed Bug 1238133 - Part 8: Select the default inspector sidebar tab on open and record the tool opened r=bgrins 2016-01-26 11:17:48 -05:00
Gabriel Luong
2e8a757385 Bug 1238133 - Part 7: Update test methods for opening the inspector sidebar panels r=bgrins 2016-01-26 11:17:48 -05:00
Gabriel Luong
9b96d312be Bug 1238133 - Part 6: Make the layout view live inside the inspector panel frame r=bgrins 2016-01-26 11:17:48 -05:00
Gabriel Luong
16d70723ee Bug 1238133 - Part 5: Make the font inspector live inside the inspector panel frame r=bgrins 2016-01-26 11:17:48 -05:00
Gabriel Luong
30350cf8e3 Bug 1238133 - Part 4: Make the computed view live inside the inspector panel frame r=bgrins 2016-01-26 11:17:48 -05:00
Gabriel Luong
a63dcaa610 Bug 1238133 - Part 3: Make the rule view live inside the inspector panel frame r=bgrins 2016-01-26 11:17:47 -05:00
Alexandre Poirot
cea6561650 Bug 1238939 - Fix reentrance loop with active requests during client close. r=jryans 2016-01-26 03:23:47 -08:00
Alexandre Poirot
29690bdd07 Bug 1238939 - Fix NetMonitorController race on disconnect. r=vporof 2016-01-26 03:23:47 -08:00
Alexandre Poirot
58ced92293 Bug 1242567 - Cleanup OptionsPanel.open by using Task.async. r=bgrins 2016-01-26 03:23:47 -08:00
Patrick Brosset
35eb2d7cb8 Bug 1242689 - Fix eslint errors in devtools/client/*.js and un-ignore the files; r=tromey 2016-01-26 10:53:45 +01:00
Patrick Brosset
0dcc222163 Bug 1242570 - Fix unhandled promise rejections in markupview tests; r=bgrins 2016-01-25 21:22:27 +01:00
Patrick Brosset
df9ad38165 Bug 1241527 - 5 - Use ruleview-changed event to fix remaining pending requests in tests; r=gl 2016-01-25 16:22:07 +01:00
Gabriel Luong
09f29bac62 Bug 1242201 - Part 1: Make one instance of markup.css r=bgrins 2016-01-25 23:09:57 -05:00
Phil Ringnalda
910b02ccc4 Back out changeset 3380feadf35b (bug 1242201) for being the wrong patch
CLOSED TREE
2016-01-25 19:54:12 -08:00
Gabriel Luong
29d7e04f09 Bug 1242201 - Part 1: Make one instance of markup.css r=bgrins 2016-01-25 22:32:42 -05:00
Brian Grinstead
3a2e81ccc9 Bug 1016024 - Increase time limit for the log to finish in webconsole test to give extra space for linux debug runs;r=me
This test isn't actually meant to test the performance of logging, just that the timestamps are sensible.
2016-01-25 18:37:46 -08:00
J. Ryan Stinnett
f96e93a43c Bug 1239437 - Browser mochitests for responsive.html. r=pbrosset 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett
9790e6dd92 Bug 1239437 - xpcshell tests for responsive.html. r=pbrosset 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett
b288e3d26a Bug 1239437 - Allow run_test to be unused in xpcshell tests. r=pbrosset 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett
da21a04746 Bug 1239437 - Stir in React and Redux. r=pbrosset,jlongster 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett
23d8d18289 Bug 1239437 - Hide iframe border. r=pbrosset 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett
d3d80dcc37 Bug 1239437 - Add a basic viewport frame. r=pbrosset 2016-01-25 19:44:08 -06:00
J. Ryan Stinnett
555e6c8195 Bug 1239437 - Delegate to empty, new responsive UI tool if enabled. r=pbrosset 2016-01-25 19:44:08 -06:00
James Long
85b15a21a0 Bug 1239060 - add exports hook in loader r=zer0 2016-01-25 20:23:04 -05:00
Brian Grinstead
50ce69640f Bug 1242716 - Get rid of CPOW usage in browser_webconsole_bug_585237_line_limit.js;r=linclark 2016-01-25 16:07:51 -08:00
Hugo Arregui
4e019057e5 Bug 1225063 - add option (devtools.markup.collapseAttributes) to enable/disable attribute collapsing from settings panel;r=bgrins 2016-01-25 16:02:31 -08:00
Gabriel Luong
7783640aea Bug 1242278 - Eslint cleanup of Inspector markup view r=pbro 2016-01-25 15:00:04 -05:00
Alexandre Poirot
23718f065f Backed out 3 changesets (bug 1003860) for dt6//browser_storage_basic.js failure on win7-debug
Backed out changeset 824ccce70bcf (bug 1003860)
Backed out changeset d1d1dbec6725 (bug 1003860)
Backed out changeset a4fe93d921ad (bug 1003860)
2016-01-25 11:56:07 -08:00
Gabriel Luong
1f24481944 Bug 1242309 - Upgrade to CodeMirror 5.11.0 r=bgrins 2016-01-25 14:46:22 -05:00
Lin Clark
80c528b711 Bug 1241956 - Use standard license boilerplate in webconsole js files. r=bgrins 2016-01-25 11:19:58 -08:00
Lin Clark
7b8330c780 Bug 1241956 - Use standard license boilerplate in webconsole test files. r=bgrins 2016-01-25 11:19:39 -08:00
Tom Tromey
5c9d0b3b55 Bug 1013219 - set line number of return instruction; r=efaust,fitzgen,ejpbruel 2016-01-25 12:17:01 -07:00
Tom Tromey
7c4e941f79 Bug 1013219 - set the line number of the terminating retrval; r=jimb,ejpbruel,fitzgen 2016-01-25 12:17:01 -07:00
Alexandre Poirot
d25d08eb8b Bug 1239287 - Wait for attachTab request during Options panel initialization. r=jryans 2016-01-25 06:06:48 -08:00
Alexandre Poirot
08a8d884b3 Bug 1239287 - Promisify DebugerClient.attach* requests. r=jryans 2016-01-25 06:06:48 -08:00
Alexandre Poirot
d74353c1be Bug 1003860 - Various tweaks to the storage inspector. r=mratcliffe 2016-01-25 06:06:48 -08:00
Alexandre Poirot
4eb147fb7a Bug 1003860 - Service worker cache for storage actor. r=mratcliffe 2016-01-25 06:06:48 -08:00
Alexandre Poirot
d8a7edb911 Bug 1003860 - Simplify storage setup tasks in storage inspector tests. r=mratcliffe 2016-01-25 06:06:47 -08:00
Alexandre Poirot
f400881b46 Bug 1235780 - Remove preprocessing from floating scrollbar css. r=jryans 2016-01-25 06:06:47 -08:00
Alexandre Poirot
9b3ee4e2ab Bug 1232931: Wait for service worker registration before attaching a toolbox to it. r=janx 2016-01-25 06:06:47 -08:00
Patrick Brosset
eedadd4c40 Bug 1241527 - 4 - Use ruleview-changed event to avoid pending requests in browser_rules_multiple* tests; r=gl 2016-01-22 16:52:51 +01:00
Patrick Brosset
f8faeb37e4 Bug 1241527 - 3 - Fix typo in hideTooltipAndWaitForRuleviewChanged; r=gl 2016-01-22 16:35:22 +01:00
Patrick Brosset
2785860d4c Bug 1241527 - 2 - Use ruleview-changed event to avoid pending requests when browser_rules_search-filter* tests end; r=gl 2016-01-22 16:30:22 +01:00
Shlomi Fish
36361c11b7 Bug 1205353 - Wrong result for string.replace with backslash-dollar (/\$/) inside JS debugger. r=vporof 2015-12-11 06:01:00 +00:00
Phil Ringnalda
d7618989ba Merge m-c to m-i 2016-01-23 18:18:48 -08:00
Jan Odvarko
141702c8db Bug 1241884 - Introduce new requestHeaders field for promiseXHR. r=jryans 2016-01-22 15:24:21 +01:00
Julian Descottes
31c94d5946 Bug 1240344 - Fix filter propname used when creating toolbar. r=fitzgen
This commit fixes the prop name used when creating the Toolbar component
from app.js : Toolbar expects fitlerString, app was providing filter.

Extended browser_memory_filter_01.js to check the filter value is preserved
after switching views.
2016-01-22 12:23:44 +01:00
Lin Clark
6a7c81cd16 Bug 1235374 - Change BreakpointActor to protocol.js. r=jryans 2016-01-22 15:52:00 -05:00
Lin Clark
fdb33247c7 Bug 1234287 - Refactor webconsole netlogging tests. r=bgrins 2016-01-22 16:44:45 -08:00
Tom Tromey
23cd180d68 Bug 1224289 - add eslint rule to reject Cu.importGlobalProperties; r=mikeratcliffe 2016-01-22 13:58:31 -07:00
Jordan Santell
9811f3937d Bug 1226319 - part 2 - move the common localized strings from the heap view into the frame component itself. Also make the frame component configurable to optionally display the function name and host, and handle scenarios where the column does not exist -- all in preparation for the JIT optimizations view. r=fitzgen 2016-01-22 12:47:03 -08:00
Brian Grinstead
9fd09e6924 Bug 1241735 - Convert browser_webconsole_bug_614793_jsterm_scroll to be more e10s friendly;r=linclark 2016-01-22 10:09:39 -08:00
Julian Descottes
adbe000b45 Bug 1239673 - memorytable: set tree-node-odd from JS. r=vporof
Only visible table rows are rendered, therefore we
cannot rely on :nth-child(2) to create background stripes.

This commit adds the source index to the treeNode props.
Using this index, the treeNode can add a "tree-node-odd"
className to its element.

In css, tree-node-odd is then used to add the alternate
background color to a row,
2016-01-19 01:44:44 +01:00
Victor Porof
4455cf9ea8 Bug 1226267 - Emit CallWatcher call events, r=jsantell 2016-01-22 15:26:03 +01:00
Patrick Brosset
e476a417dd Bug 1241527 - 1 - Fix some unhandled rejected promises in colorpicker, cubicbezier and cssfilter ruleview tests; r=gl 2016-01-21 17:35:04 +01:00
Nick Fitzgerald
7fb3b5f976 Bug 1235458 - Move a bunch of utilities from DevToolsUtils to ThreadSafeDevToolsUtils. r=jsantell 2016-01-21 12:07:17 -08:00
Nick Fitzgerald
fc62beb4ce Bug 1219584 - Test that we show the allocations recording hint at the correct times. r=jsantell 2016-01-21 22:15:39 -05:00
Jordan Santell
ea865b34f3 Bug 1240981 - Make performance tools use BrowserLoader. r=fitzgen 2016-01-21 15:04:05 -08:00
Brian Grinstead
90b9674522 Bug 1237368 - Set inline style width to console output node so output scrolls faster;r=vporof 2016-01-21 14:33:54 -08:00
Tom Tromey
2ab62f3fe8 Bug 1241437 - remove workaround from StyleSheetEditor.jsm; r=pbrosset 2016-01-21 14:30:58 -07:00
Patrick Brosset
8fbd12a804 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.
2016-01-21 13:19:58 +01:00
Carsten "Tomcat" Book
0cfb6c0b29 Merge mozilla-central to fx-team 2016-01-21 12:30:07 +01:00
Carsten "Tomcat" Book
10b9203d86 Backed out changeset 22d80ccb4626 (bug 1003860) for test failures in browser_storage_dynamic_windows.js 2016-01-21 12:25:44 +01:00
Carsten "Tomcat" Book
acc0178869 Backed out changeset 8d93e84979b5 (bug 1003860) 2016-01-21 12:25:21 +01:00
Carsten "Tomcat" Book
3277a3b23d Backed out changeset 8737105685f1 (bug 1003860) 2016-01-21 12:25:20 +01:00
Carsten "Tomcat" Book
a5bf3d24f5 Backed out changeset 91ba81f7207e (bug 1030318) for making browser_profiler_tree-abstract-02.js failing permanent on e10s 2016-01-21 12:15:27 +01:00
Carsten "Tomcat" Book
d6d7f5602f merge mozilla-inbound to mozilla-central a=merge 2016-01-21 11:49:16 +01:00
Nick Fitzgerald
35eb40b14e Bug 1241221 - Part 1: Fix incorrect reporting of "moreChildrenAvailable". r=jdescottes
The condition checked when reporting whether there were `moreChildrenAvailable`
when constructing the initial DominatorTreeNode tree from a DominatorTree was
backwards. This commit fixes the condition and adds a test that fails without
the condition fix.
2016-01-20 23:29:46 -05:00
Nick Fitzgerald
ece63db599 Bug 1241221 - Part 0: Test retained size of nodes in dominmator trees. r=sfink
This adds a new test for dominator trees computed from heap snapshots, to make
sure that a node's retained size matches the following:

    retainedSize(node) = shallowSize(node) + sum(retainedSize(c) for c in children(node))

This test did not find the bug described in bug 1241221, but seems like a
valuable test to have anyways.
2016-01-20 13:08:00 -05:00
Nick Fitzgerald
ed6bfb3104 Bug 1233551 - Do not mark the allocations profiling as experimental. r=jsantell
This commit unmarks the allocation stack sampling as experimental, allowing it
to be visible by default, and no longer restricted to Nightly only.
2016-01-20 15:41:00 -05:00
James Long
130ed55394 Bug 1238881 - force the devtools version of React to always generate HTML elements r=Honza 2016-01-20 13:00:30 -05:00
J. Ryan Stinnett
3ecdab4aa7 Bug 1224751 - Use the window's console in BrowserLoader. r=jlongster 2016-01-20 12:34:44 -06:00
Julian Descottes
141b608cd9 Bug 1198326 - Prevent event propagation on click events of the inplace editor;r=bgrins 2016-01-20 01:49:50 +01:00
Patrick Brosset
1388b24c63 Bug 1240813 - Fixed the unhandled promise rejections in browser_rules_colorpicker-* tests; r=ochameau 2016-01-20 15:58:24 +01:00
Carsten "Tomcat" Book
79359c90a2 Merge mozilla-central to fx-team 2016-01-20 15:37:48 +01:00
Carsten "Tomcat" Book
03bfc91ef3 merge mozilla-inbound to mozilla-central a=merge 2016-01-20 15:34:34 +01:00
Victor Porof
66a0cfac5a Bug 1169035 - AbstractCanvasGraph.prototype._getRelativeEventCoordinates causes very costly layouts, r=jsantell 2016-01-20 14:16:27 +01:00
Victor Porof
aeb76806d9 Bug 1226245 - Make CallWatcher generic, r=jsantell 2016-01-20 14:11:14 +01:00
Julian Descottes
9da048d452 Bug 1214177 - Restore pointer-events:normal in layout editor inputs. r=pbro 2016-01-20 01:31:52 +01:00
Brian Grinstead
ed33dc63ba Bug 1240860 - Escape attribute name before passing into querySelector;r=tromey 2016-01-19 15:30:46 -08:00
Matt Brubeck
9cc6f747ff Bug 1240876 - Don't wait for load to enable "Copy as cURL" command [r=vporof] 2016-01-19 15:12:47 -08:00
Patrick Brosset
a46c93e49a Bug 1181837 - 8 - Include inspector's head.js in markup view to remove duplication; r=bgrins 2016-01-20 09:42:16 +01:00
Patrick Brosset
d98e0edcb7 Bug 1181837 - 7 - Include inspector's head.js in font inspector to remove duplication; r=bgrins 2016-01-14 16:10:40 +01:00
Patrick Brosset
9b6ebd4e60 Bug 1181837 - 6 - Include inspector's head.js in rule and computed view tests to remove duplication; r=bgrins 2016-01-20 09:17:11 +01:00
James Long
adc59ba2b0 Bug 1224765 - add production version of React for devtools and use it in release modes r=fitzgen 2016-01-19 16:55:06 -05:00
Tom Tromey
dd5f93cfb8 Bug 1240063 - remove balanced-listener rule from devtools .eslintrc; r=pbro 2016-01-19 10:43:08 -07:00
Nick Fitzgerald
68051f145d Bug 1239495 - Label the GC roots in the dominator tree. r=jdescottes
Before this patch, we used the underlying root list's C++ type as the label of
the GC roots node in the dominator tree. This patch changes that label to "GC
Roots", which does not require knowing our implementation of heap snapshots to
understand.
2016-01-19 16:29:00 +01:00