Commit Graph

1268 Commits

Author SHA1 Message Date
Wes Kocher
24663f3a36 Backed out changeset 3b17489c9d98 (bug 1248600) for ESLint failures
--HG--
rename : devtools/client/devtools-startup.js => devtools/client/devtools-clhandler.js
rename : devtools/client/devtools-startup.manifest => devtools/client/devtools-clhandler.manifest
extra : commitid : AmNYlqOEWAb
2016-02-22 09:27:04 -08:00
Julian Descottes
849ebd468a Bug 1249585 - Rename about:debugging components s/Component//g. r=janx
MozReview-Commit-ID: KETabxbUXhE

--HG--
rename : devtools/client/aboutdebugging/components/addons.js => devtools/client/aboutdebugging/components/addons-tab.js
rename : devtools/client/aboutdebugging/components/workers.js => devtools/client/aboutdebugging/components/workers-tab.js
extra : rebase_source : 7d7a79167161e507084f540b0cf119f1dd28718e
2016-02-21 22:59:12 +01:00
Julian Descottes
9efe5908ba Bug 1245029 - aboutdebugging full react refactor part2;r=janx,ochameau
MozReview-Commit-ID: 64V5vGn2889

--HG--
rename : devtools/client/aboutdebugging/aboutdebugging.js => devtools/client/aboutdebugging/components/aboutdebugging.js
rename : devtools/client/aboutdebugging/aboutdebugging.js => devtools/client/aboutdebugging/initializer.js
extra : rebase_source : a5431fe3d7826105a3808b92a66b4f1486fb3d77
extra : source : 2418d089253ddc4e79bed1d19911a490665fc5e6
2016-02-18 19:49:59 +01:00
Julian Descottes
ed31367b39 Bug 1245029 - aboutdebugging full react refactor part1;r=janx,ochameau
React refactor part1 : refactor addons and workers panels as react components

MozReview-Commit-ID: GYabZqMyX4L

--HG--
extra : rebase_source : 8fbb99705f99d1a58c81161811006cb6cee17a7e
2016-02-04 21:58:02 +01:00
Alexandre Poirot
fb5133261e Bug 1248600 - Remove registerBrowserWindow/forgetBrowserWindow calls from /browser/. r=jryans
--HG--
rename : devtools/client/devtools-clhandler.js => devtools/client/devtools-startup.js
rename : devtools/client/devtools-clhandler.manifest => devtools/client/devtools-startup.manifest
2016-02-22 06:57:15 -08:00
Patrick Brosset
ce1b99b254 Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.

This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.

Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js

Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.

MozReview-Commit-ID: 5bFHxxrwxhL

--HG--
extra : rebase_source : cb30c7e47605f59674f2344dba10af814172333d
2016-02-22 10:02:54 +01:00
Patrick Brosset
c0736a1812 Bug 1249719 - Use promise.all instead of Promise.all to release player fronts; r=ochameau
MozReview-Commit-ID: 8VywPGlYaJd

--HG--
extra : rebase_source : b831e3e7e4ed2205aca319fcd9b01663a0fef046
extra : histedit_source : fb8270d89b8fc3080b5eed0f76f6cc23ce737176
2016-02-22 09:42:28 +01:00
Phil Ringnalda
48e13f4614 Merge m-c to f-t 2016-02-21 19:55:36 -08:00
Brian Grinstead
ce61856a4f Bug 1248301 - Do not cause a horizontal scrollbar to appear in the console when it overflows vertically;r=vporof
MozReview-Commit-ID: DpHEycUVcTs
2016-02-21 18:39:53 -08:00
Brian Grinstead
9f6af5f205 Bug 1249715 - Split jsterm into different file than webconsole.js;r=linclark
MozReview-Commit-ID: GM1Y5NKXyir

--HG--
rename : devtools/client/webconsole/webconsole.js => devtools/client/webconsole/jsterm.js
2016-02-21 18:39:34 -08:00
Andreas Tolfsen
4c4d432d3a Bug 1245153 - Use EventUtils.js from mochikit; r=pbrosset
testing/marionette/EventUtils.js has been converted to a JS module in
testing/marionette/event.js and its API has changed.  It was originally
a copy of testing/mochitest/tests/SimpleTest/EventUtils.js, and it should
be fine to use the original instead.

MozReview-Commit-ID: Exi9d5rEeOz

--HG--
extra : histedit_source : 999974c56edeecb1313d2b1050c8911473c02292
extra : rebase_source : 77656e161e67423cd44d2071e4118e824cc64363
extra : commitid : 5SGljZj56xm
extra : source : 18d54b8d4ae8348d62070b57574858f0824474ad
extra : amend_source : 968c4d6c4959f5ba502b846294aabe40296d6541
2016-02-05 14:14:15 +00:00
Brian Grinstead
d363cb45e3 Bug 1249714 - Use jsterm.focus instead of inputNode.focus;r=linclark
MozReview-Commit-ID: 7LOW7S5rX5Y
2016-02-19 14:49:42 -08:00
Julian Descottes
b924602928 Bug 1245996 - inspector: fix xul scrollbars stealing focus;r=pbro
Apply -moz-user-focus: normal; only on direct descendants of inspector
tabpanels and not on tabpanels themselves. Avoids XUL scrollbars
from stealing the focus when clicked.

Test added, run only on windows and linux

MozReview-Commit-ID: KnZpJDxfzj2

--HG--
extra : transplant_source : %21%97%CC%13%9F%A9i%07%B7%26%01%D7%08%3B%2B%9Bq%D5%3A%5B
2016-02-05 10:33:17 +01:00
Helen V. Holmes
5491ef7eea Bug 1242709 - refresh the light theme, r=bgrins 2016-02-18 17:37:00 +01:00
Julian Descottes
04d7ec73f0 Bug 1241732 - split browser_projecteditor_rename_file in 2 tests; r=bgrins
--HG--
rename : devtools/client/projecteditor/test/browser_projecteditor_rename_file.js => devtools/client/projecteditor/test/browser_projecteditor_rename_file_01.js
2016-02-15 01:01:55 +01:00
Nicolas Chevobbe
78b415b4d4 Bug 1248381 - Inspector panel should display properly capitalized node name; r=miker
MozReview-Commit-ID: ESlN5Qp9xHj

--HG--
extra : rebase_source : ada7eaf79c95866367474faba6955898b639ca94
2016-02-17 18:25:59 +01:00
Patrick Brosset
25793ecb39 Bug 1245654 - Make the inspector shortcut start the pick mode again; r=bgrins
MozReview-Commit-ID: 9qImivhKhKf

--HG--
extra : rebase_source : c65c314c0195205a062c6d7260a6e001044eea0b
extra : histedit_source : ddad40ea60d5abdbd81c4f3286a2d300de588572%2Ccd82c42337de918b928be10ad26a94b910613bf1
2016-02-18 17:52:33 +01:00
Tanner Parker
70e90d7ad0 Bug 1210420 - Use correct background color for the network devtools panel. r=ntim
MozReview-Commit-ID: BZdY1EebYRS
2016-02-17 15:37:00 +01:00
Carsten "Tomcat" Book
fb6357bbdd Backed out changeset b4a09e08d866 (bug 1242628) for test failures in test_List_01.html 2016-02-18 13:58:45 +01:00
Greg Tatum
4c42c3c84c Bug 1242628 - Add ability to remove a single snapshot from the list -r=fitzgen 2016-02-17 06:19:00 +01:00
Julian Descottes
c00b5402db Bug 1237885 - fix add-rules_01 intermittent by splitting in two tests;r=gl
Intermittent test add-rules_01 has been split in two test. The original test
was checking trying to create a set of rules first using the "add rule" button
and then using the context menu.

add-rules_01 only tests using the "add rule" button now. The context-menu tests
have been moved to add-rules_05. Both tests are well under 45 seconds on Linux
debug.
2016-02-12 12:35:51 +01:00
Alexandre Poirot
af46cfaaf9 Bug 1249049 - Fix gDevTools is undefined exception when debugging workers. r=ejpbruel 2016-02-18 02:30:12 -08:00
Michael Ratcliffe
1ee39b0945 Bug 1248563 - eslint cleanup of storage inspector code r=pbrosset
--HG--
extra : rebase_source : f9acfe711678f232e60beb2452a69218484dc013
extra : amend_source : 6ff3261de332d8123b1bce6fcf8f75e04321a95a
2016-02-16 16:12:55 +00:00
Gabriel Luong
5192b095d2 Bug 1243598 - Make sure the inspector sidebar overflows correctly r=bgrins 2016-02-17 11:13:01 -05:00
Eddy Bruel
e47fd356ef Bug 1247192 - Replace all usage of Services in TabSources with URL;r=fitzgen,jryans 2016-02-17 14:33:45 +01:00
J. Ryan Stinnett
f9a0284fd2 Bug 1240494 - Expand JSON Viewer paths to all shared. r=Honza
MozReview-Commit-ID: G0lCxW3JX6f
2016-02-17 07:00:09 -06:00
J. Ryan Stinnett
7db57df8eb Bug 1240494 - AMD support for DevTools loaders. r=jwalker,Honza
MozReview-Commit-ID: 7IemsaijHNc
2016-02-17 07:00:09 -06:00
Alexandre Poirot
6dbab57938 Bug 1245615 - Just clear hostVsStores map as some async code may still use them. r=mratcliffe 2016-02-17 04:28:05 -08:00
Nick Fitzgerald
11ae76df3b Bug 1248829 - Fix number of characters reserved in memory table's cells; r=jsantell 2016-02-16 17:32:00 +01:00
Nick Fitzgerald
2d9d0a66d0 Bug 1248085 - Compute shortest paths in the HeapAnalysesWorker; r=jimb 2016-02-12 15:23:00 +01:00
AJ Kerrigan
e23e94e333 Bug 1246188 - Make webconsole.js ESLint-clean. r=lclark 2016-02-13 00:56:12 -05:00
Brian Grinstead
887548abab Bug 1247962 - Get rid of CPOW in browser_webconsole_live_filtering_on_search_strings.js;r=linclark
MozReview-Commit-ID: EyBMJ3dqZSW
2016-02-16 17:30:12 -08:00
Lin Clark
06ca447288 Bug 1245667 - Use standard license boilerplate in framework js files. r=bgrins
MozReview-Commit-ID: 31xbv6rirPg

--HG--
extra : rebase_source : 1afbc68083aa0bdf6b7a674c39a0ac3e839756d6
2016-02-16 16:14:53 -08:00
Brian Grinstead
ad34c237e8 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Lin Clark
0365aa63c5 Bug 1241707 - [e10s] Web Console should restore focus to proper place when closed. r=jryans,r=bgrins
MozReview-Commit-ID: JlcJPGygm5F
2016-02-16 14:37:45 -08:00
Nick Fitzgerald
82a2a6c955 Bug 1247658 - Expose a method to JS for find the shortest retaining paths of some nodes in a heap snapshot; r=bz r=jimb
This commit adds the `computeShortestPaths` method to the `HeapSnapshot` webidl
interface. It implements this new method on the
`mozilla::devtools::HeapSnapshot` class.

--HG--
extra : rebase_source : 1772547b7093afd35918602b15cc52b8e07fc646
2016-02-11 14:32:00 +01:00
Julian Descottes
9f2c1134db Bug 1243695 - ensure caret is visible in ruleview prop editor;r=miker
--HG--
extra : rebase_source : c937e24c0814314149c5f5b0763cb4ca459660d1
2016-02-12 01:43:44 +01:00
Julian Descottes
8a5bb348c4 Bug 1243131 - memory tool: select snapshot using ACCEL+{UP/DOWN};r=fitzgen
Adds a keydown listener on the memory panel window. Select previous/next snapshot
when user presses UP/DOWN with the accelKey modifier (metaKey on OSX, ctrlKey on
windows).

Keydown events with modifiers are no longer listened to by the tree node elements.

Updated tree node test.
Added new mochitest to test the new keyboard navigation on the census view. )
2016-02-12 11:03:34 +01:00
Julian Descottes
05d335ab9c Bug 1224877 - fix animation_timeline_pause_button intermittent;r=pbro 2016-02-15 00:42:56 +01:00
Alexandre Poirot
ef0a1dd2a1 Bug 1241050 - Ensure reloading the developer toolbar when using the reload addon. r=jwalker 2016-02-16 07:23:57 -08:00
Alexandre Poirot
1f8b8fe58c Bug 1241050 - Cleanup developer-toolbar imports. r=jwalker 2016-02-16 07:23:57 -08:00
Alexandre Poirot
03af4376f7 Bug 1241050 - Convert DeveloperToolbar.jsm to commonjs module. r=jwalker
--HG--
rename : devtools/client/shared/DeveloperToolbar.jsm => devtools/client/shared/developer-toolbar.js
2016-02-16 07:23:56 -08:00
Alexandre Poirot
b02c5b4832 Bug 1247270 - Ensure reloading every devtools-related documents when hitting the reload shortcut. r=jryans 2016-02-16 07:23:56 -08:00
Alexandre Poirot
251624825f Bug 1246692 - Test that the browser toolbox has a working console. r=jryans 2016-02-16 07:23:56 -08:00
J. Ryan Stinnett
0e31ff0cab Backout f5bd25c789b6 "Bug 1245121 - Enable JSON Viewer on RELEASE_BUILD" for Talos regressions. 2016-02-16 09:15:06 -06:00
Carsten "Tomcat" Book
cef001abd6 merge mozilla-inbound to mozilla-central a=merge 2016-02-16 11:51:26 +01:00
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Brian Grinstead
94e67fdaab Bug 1243959 - e10s fixes for browser_webconsole_autocomplete_in_debugger_stackframe.js;r=linclark
MozReview-Commit-ID: 8IY8jPgRxPL
2016-02-15 13:51:51 -08:00
Brian Grinstead
18699ac303 Bug 1243962 - e10s fixes for browser_console_variables_view_while_debugging_and_inspecting.js;r=linclark
MozReview-Commit-ID: JZfJMB9b4r9
2016-02-15 13:51:51 -08:00
Brian Grinstead
e99b0be581 Bug 1243968 - e10s fixes for browser_console_variables_view_while_debugging.js;r=linclark
MozReview-Commit-ID: B2a0GUCdfIl
2016-02-15 13:51:51 -08:00