Commit Graph

550 Commits

Author SHA1 Message Date
Nick Fitzgerald
378300a8de Bug 981258 - Replace 'waitForSourceShown' with 'ensureSourceIs' to fix intermittent browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js; r=past 2014-03-14 10:15:43 -07:00
Michael Ratcliffe
dabaac4db5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Michael Ratcliffe
43388cd236 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Ryan VanderMeulen
991e5c8bc3 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
39a70a90a5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
Michael Ratcliffe
eb6c7c9e1d Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Panos Astithas
1b3001842f Increase the timeout for browser_dbg_chrome-create.js test to avoid test failures on Win 8.1 (bug 918507). r=me 2014-03-12 18:34:38 +02:00
Wes Kocher
4666486723 Backed out changeset f8f0091f945c (bug 918507) for pushing win8debug m-bc logs over the limit 2014-03-11 17:15:44 -07:00
Nick Fitzgerald
472c449ff9 Bug 981258 - Clean up breakpoints manually before finishing the browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js test; r=past 2014-03-11 09:42:49 -07:00
Panos Astithas
de5985045e Add more logging around browser toolbox process creation to diagnose an orange (bug 918507). r=vporof,rcampbell 2014-03-11 18:15:42 +02:00
Robin Ricard
5e2ecda10f Bug 965172 - Variables view hover popup appears while selecting text. r=fitzgen
Prevent the popup from appearing while selecting text.
If the mouse button is released, the popup can get back.
Added a new test case for this new behavior.
2014-03-11 08:07:11 -04:00
Jordan Santell
488eec2432 Bug 899052 - Implement Addon Thread Actor. r=fitzgen, r=shu 2014-03-07 00:09:14 -08:00
Nick Fitzgerald
ee055d552b Bug 978019 - Fix breakpoints after reload on immediately invoked function expressions; r=past 2014-03-07 11:06:28 -08:00
Eddy Bruel
15989ab51b Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
Hubert B Manilla
eddf69d219 Bug 943356 - Prettifing a source while paused will not switch away from it. r=fitzgen 2014-02-27 11:39:56 -05:00
Joe Walker
6fd91a613d Bug 933727 - Split gcli.jsm and use JS directly from gcli project; r=mratcliffe
* * *
Bug 933727 - Update Developer Toolbar to use promises and split out GCLI; r=mratcliffe
* * *
Bug 933727 - Update GCLI tests to use Task.spawn; r=mratcliffe
* * *
Bug 933727 - Update the Inspector to use split out GCLI; r=pbrosset
* * *
Bug 933727 - Update style editor to use split out GCLI; r=harth
* * *
Bug 933727 - Update Debugger to use split out GCLI; r=past
* * *
Bug 933727 - Update Profiler/Tilt/Scratchpad to use split out GCLI; r=valueof

--HG--
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref1.js
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref2.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli1.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli2.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion1.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion2.js
2013-09-03 12:20:27 +01:00
Phil Ringnalda
c422c4939c Merge f-t to m-c 2014-02-15 10:10:31 -08:00
Panos Astithas
0aa0c2add2 Use the wrapped global to decide if we are in an xpcshell environment or not (bug 901930). r=vporof 2014-02-15 10:57:26 +02:00
Masayuki Nakano
b3b19a9e2f Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Panos Astithas
ce061be925 The debugger shouldn't try to connect to the tracer actor if it is not present or if tracing is disabled (bug 970536). r=fitzgen 2014-02-13 09:18:36 +02:00
Ryan VanderMeulen
800eed0b68 Backed out changeset 2b95fec2f1f5 (bug 970536) for mochitest-bc failures.
CLOSED TREE
2014-02-12 08:19:05 -05:00
Panos Astithas
9327f8126c The debugger shouldn't try to connect to the tracer actor if it is not present or if tracing is disabled (bug 970536). r=fitzgen 2014-02-12 12:40:52 +02:00
J. Ryan Stinnett
f0e492f68a Bug 919819 - Detect JS files from fetched content type. r=fitzgen
--HG--
rename : browser/devtools/debugger/test/browser_dbg_pretty-print-01.js => browser/devtools/debugger/test/browser_dbg_pretty-print-13.js
rename : browser/devtools/debugger/test/code_ugly.js => browser/devtools/debugger/test/code_ugly-8
rename : browser/devtools/debugger/test/doc_pretty-print.html => browser/devtools/debugger/test/doc_pretty-print-3.html
2014-02-11 15:35:11 -06:00
Hubert B Manilla
96f8a07d71 Bug 927673 - Fix forPage has no sources showing when debugger is loading. r=fitzgen 2014-02-06 10:04:13 -05:00
Kannan Vijayan
0a6aa551cf Bug 332176 - Change eval-ed scripts to have more descriptive filenames indicating the chain of evaluation, and give them absolute line numbers instead of the offset-from-lineno-of-eval-in-caller-script approach used currently. r=jimb 2014-02-04 16:23:20 -05:00
kushagra singh
7aefea5bcb Bug 962070 - Tooltips for sources contain the group URL instead of the file URL, r=vporof 2014-02-04 13:04:38 +02:00
Patrick Brosset
7697ab8795 Bug 952277 - DOMNodes can be highlighted and selected from the debugger - Debugger test; r=vporof 2014-02-01 10:24:47 +01:00
Patrick Brosset
7c890d7d69 Bug 952277 - DOMNodes can be highlighted and selected from the debugger [Australis]; r=past, vporof 2014-02-01 10:24:44 +01:00
Panos Astithas
80b665fc66 Teach auto-pretty-print tests to not rely on the default pref value (bug 962857). r=bustage in a CLOSED TREE 2014-01-31 20:56:17 +02:00
Lalit Khattar
6ff111d053 Bug 944640 - Add a "Watch" button on the new inspect popup. r=vporof 2014-01-31 13:01:27 -05:00
Victor Porof
72202b3af5 Bug 965171 - Opening a variables view popup will change the scroll position in the editor if a watch expression is present, r=past 2014-01-30 12:46:09 +02:00
Victor Porof
050911691b Bug 963919 - When triggering file filtering via a keyboard shortcut, don't automatically fill the searchbox with the identifier under the caret position, r=past
--HG--
rename : browser/devtools/debugger/test/browser_dbg_search-function.js => browser/devtools/debugger/test/browser_dbg_search-autofill-identifier.js
2014-01-28 12:16:49 +02:00
Mahdi Dibaiee
999142bd58 Bug 911916 - Search set to identifier under cursor if no text selected. r=vp 2014-01-23 09:39:59 -05:00
Panos Astithas
97a45e85f9 Make the debugger frontend cope with an already connected target (bug 933212); r=jryans,fitzgen
* Made the DebuggerClient, which is actually the RootActor front, not consider one of the attached child fronts as "active". Since a single DebuggerClient (or RootFront) is kept around for the App Manager's lifetime, it makes sense to move the notion of "active" tab to the toolbox's target. As each toolbox gets destroyed, the fronts should be detaching from their actors (if they are stateful) so that the app is no longer in a debugging state. Debugging a new app (or reconnecting to a previous one) will create new fronts anyway.
* Slightly refactored the TabClient, ThreadClient, SourceClient and TracerClient towards a protocol.js-based architecture, by adding parent-child references and lifecycle management. Now a tab-scoped thread actor for instance has the tab as its parent, while a global-scoped thread actor (chrome debugger) has the DebuggerCLient (RootFront) as its parent. This lets parents reference their children, so that caching in the target object can work. It also allowed me to move some methods from the DebuggerClient to the actual front that should be responsible, like reconfigureTab, reconfigureThread and attachThread. These methods now use DebuggerClient.requester, too.
* Added some error handling in the debugger client requester around "before" and "after" callbacks, which exposed some errors in tests that are now fixed.
* Fixed the state handling in the thread actor so that merely detaching from a thread doesn't put it in the exited state. This is the part that what was necessary for Firebug's use case.
* Properly loading tracer and webgl actors now on b2g.
2014-01-14 17:39:40 +02:00
Anton Kovalyov
c66cff2b44 Bug 960270 - Streamline Editor API. r=msucan 2014-01-17 12:58:45 -08:00
Brandon Benvie
b2b2644858 Bug 947612 - Fix VariablesView so that editableName._onCleanup is called. r=vp 2014-01-17 10:40:41 -08:00
Victor Porof
e2b64102d9 Bug 960237 - Re-enable browser_dbg_break-on-dom-05.js, r=past 2014-01-16 12:36:53 +02:00
Victor Porof
007f696e2e Bug 960237 - Link to this bug in debugger/test/browser.ini for re-enabling browser_dbg_break-on-dom-05.js, r=me 2014-01-15 23:09:18 +02:00
Victor Porof
b99b038bd5 Bug 885294 - Immediate script selection from debugger search box is really janky and loses selection if you don't find anything, r=past 2014-01-08 10:48:32 +02:00
Victor Porof
54ba9b8a7e Bug 951795 - Use WidgetMethod's empty text attribute instead of a deck in the tracer, r=fitzgen 2014-01-07 11:57:00 +02:00
Victor Porof
6ecc055a6c Bug 951633 - Fix assertion typos in browser_dbg_stack-02.js, r=past 2014-01-04 00:04:24 +02:00
Victor Porof
c361a1640b Bug 952767 - Yield waiting for the FETCHED_VARIABLES event and fix a few typos in browser_dbg_variables-view-override-01.js, r=past 2014-01-04 00:04:23 +02:00
Victor Porof
93067727a5 Bug 951633 - Fix tests after the WidgetMethods API changes, r=past 2014-01-03 23:42:28 +02:00
Victor Porof
51c2d7c78f Bug 952767 - Variables view scopes should always be lazily populated, r=past 2014-01-03 23:41:28 +02:00
Victor Porof
76db2bc33f Bug 952734 - Sources with LabeledStatements makes ParserHelpers.getNodeLocation puke, r=past 2014-01-03 23:41:28 +02:00
Hubert B Manilla
98892aa0be Bug 913665 - Detect minified files and pretty print them by default; r=fitzgen 2013-12-24 15:32:55 +01:00
Mihai Sucan
a2344897e5 Bug 843004 - Part 4: Tests for pretty output of objects; r=nfitzgerald
--HG--
rename : browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js => browser/devtools/webconsole/test/browser_webconsole_output_01.js
2013-12-19 23:07:54 +02:00
Victor Porof
9ee66ce6ea Bug 952421 - Disabling and re-enabling a breakpoint turns it into a conditional breakpoint with an undefined expression, r=past 2013-12-20 19:05:18 +02:00
Albert Juhe
65f21539c2 Bug 950667 - DevTools CSS - Use an attribute instead of .highlighted class for styling tabs like the paused debugger. r=bgrins 2013-12-20 11:40:21 -05:00
Victor Porof
e68a45903e Bug 951828 - Always select the variables tab when pausing, r=fitzgen 2013-12-19 13:41:46 +02:00
Nick Fitzgerald
00a923905f Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00
Victor Porof
d6f26d3a74 Bug 830344 - Part 2: Implement pagination when expanding objects with lots of properties, r=past 2013-12-18 19:01:38 +02:00
Victor Porof
ad354ac150 Bug 830344 - Part 1: Remove the lazy append mechanism in the variables view, r=past 2013-12-18 19:01:38 +02:00
Victor Porof
89e253f487 Bug 950656 - The separator string between the headers name and value isn't shown, r=past 2013-12-18 19:01:38 +02:00
Ryan VanderMeulen
de964b8420 Merge m-c to fx-team. 2013-12-13 16:18:16 -05:00
Victor Porof
d07eda99ee Bug 948893 - Hovering certain bounds in a HTML source while paused in the debugger can sometimes incorrectly show a variable inspection popup, r=past 2013-12-13 22:28:04 +02:00
Victor Porof
f2b23fbfe9 Bug 949968 - Intermittent TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_variables-view-override-02.js | Test timed out, r=me 2013-12-13 13:17:33 +02:00
Victor Porof
c021c97d96 Bug 758157 - Clearly indicate overridden variables, r=past 2013-12-12 19:38:12 +02:00
Victor Porof
1fe54670a8 Bug 949249 - Conditional breakpoint should be kept after to toggle breakpoint checkbox, r=past 2013-12-12 14:59:09 +02:00
Victor Porof
b7bec0e835 Bug 815280 - Add a enable/disable all breakpoints button to the sources toolbar, r=rcampbell
--HG--
rename : browser/themes/linux/devtools/blackBoxMessageEye.png => browser/themes/linux/devtools/debugger-blackboxMessageEye.png
rename : browser/themes/osx/devtools/blackBoxMessageEye.png => browser/themes/osx/devtools/debugger-blackboxMessageEye.png
rename : browser/themes/windows/devtools/blackBoxMessageEye.png => browser/themes/windows/devtools/debugger-blackboxMessageEye.png
2013-12-11 14:34:53 +02:00
Victor Porof
e53643de5b Bug 947952 - Rename "non-*" attributes in the Variables View to avoid double negation, r=paul 2013-12-09 18:58:55 +02:00
Shu-yu Guo
cd7b33e9b2 Bug 946641 - Part 2: Revert in Debugger frontend to balance event suppression/unsuppression. (r=past) 2013-12-06 19:31:09 -08:00
Victor Porof
9413655f38 Bug 895143 - Sources view groups should show the domain, r=past 2013-12-06 18:34:30 +02:00
Victor Porof
8d6cff55e3 Bug 905981 - Have a classic vertical display of stack frames persistently available in the debugger UI, r=rcampbell 2013-12-06 18:33:59 +02:00
Victor Porof
89978eb0cf Bug 945482 - Intermittent browser_dbg_variables-view-popup-08.js | Should have two frames. - Got 0, expected 2 | Test timed out | Found a tab after previous test timed out, r=me 2013-12-04 10:12:05 +02:00
Brandon Benvie
4a242405f7 Bug 808371 - Allow adding new properties to objects in the VariablesView. r=vp, r=jryans 2013-12-02 20:07:13 -08:00
Alexandre Poirot
c9259f5e7c Bug 931921 - Prevent creating multiple intances of global actors. r=past 2013-12-02 11:34:47 -05:00
Ryan VanderMeulen
da2075e3fb Backed out 2 changesets (bug 941012, bug 931921) for suspicion of breaking Mn on OSX. CLOSED TREE
Backed out changeset c50cca7d248a (bug 941012)
Backed out changeset eb8d750eabb3 (bug 931921)
2013-12-02 13:47:29 -05:00
J. Ryan Stinnett
8bdef3ce43 Bug 912057 - Replace Browser Debugger with Browser Toolbox. r=past
--HG--
rename : browser/devtools/debugger/DebuggerProcess.jsm => browser/devtools/framework/ToolboxProcess.jsm
2013-12-02 02:28:01 -06:00
Alexandre Poirot
1244ab513a Bug 931921 - Prevent creating multiple intances of global actors. r=past 2013-12-02 11:34:47 -05:00
Victor Porof
d6057ceb5c Bug 725235 - In the debugger, show a details bubble while hovering over a variable or property in the source editor, r=past,rcampbell 2013-11-29 16:47:52 +02:00
Ms2ger
fed07ff4d0 Bug 939271 - Part l: move mochitests to manifests in browser/devtools/debugger; r=mshal 2013-11-28 15:07:50 +01:00
Victor Porof
ecbf9da489 Bug 898199 - Reenable browser_dbg_event-listeners.js, in light of bug 941787 potentially fixing these sorts of problems, r=me 2013-11-27 09:45:32 +02:00
Ryan VanderMeulen
94ddc2e1d9 Merge m-c to inbound. 2013-11-21 11:37:10 -05:00
Shu-yu Guo
b7f46541c2 Bug 933882 - Force GC in Debugger mochitests for ASan. (r=past) 2013-11-20 22:50:28 -08:00
Panos Astithas
91bdb02839 Bug 917583 - part 3: fix the event-listeners test; r=fitzgen 2013-11-20 08:49:55 -08:00
Nick Fitzgerald
2dece6195d Bug 935788 - Fix Pretty Print button when attempting to prettify non-js files; r=vporof 2013-11-12 10:38:38 -08:00
Brandon Benvie
76c49c9951 Bug 862849 - Remove __iterator__ use from the devtools. r=vp 2013-11-07 13:23:55 -08:00
Alexandre Poirot
0b35a4888e Bug 934883 - Prevent closing all targets when receiving one tabDetached event. r=past 2013-11-07 09:14:40 -05:00
Wes Kocher
5e64c6d1a6 Backed out changeset 7dd13d06f132 (bug 862849) for breaking webconsole tests 2013-11-06 15:13:53 -08:00
Brandon Benvie
18e8ada818 Bug 862849 - Remove __iterator__ use from the devtools. r=vp 2013-10-17 16:05:14 -07:00
Nick Fitzgerald
4d9950e188 Bug 930141 - Replace escodegen with pretty-fast in the debugger and scratchpad pretty printing backend; r=gps,dcamp,past,benvie 2013-11-05 22:49:22 -08:00
Phil Ringnalda
e355c02a2b Back out 5b70e599577c (bug 930141) for test_loader_paths.html bustage 2013-11-05 22:19:28 -08:00
Nick Fitzgerald
6e50381edd Bug 930141 - Replace escodegen with pretty-fast in the debugger and scratchpad pretty printing backend; r=gps,dcamp,past,benvie 2013-11-05 20:24:17 -08:00
Brian Grinstead
5d085bf67b Bug 932880 - Fix remaining DevTools bc leaks. r=past 2013-11-01 19:55:13 -05:00
Panos Astithas
a9a0f8846f Bug 932880 - Small cleanups and fixes for browser_dbg_clean-exit-window.js. r=fitzgen 2013-11-01 20:09:50 +02:00
Victor Porof
974e75c85a Bug 929888 - Remove the editor context menu listeners from the debugger, r=anton 2013-10-24 11:48:42 +03:00
Panos Astithas
45d5081115 Make the debugger more resilient in the presence of a bogus source map (bug 906889). r=fitzgen 2013-10-24 11:47:10 +03:00
Nick Alexander
571dc2e39b Backed out changeset 69ebfb936442 (bug 862849) for bc orange on a CLOSED TREE.
--HG--
extra : amend_source : 0fbcba6a47f79369df9628f3ca1aa2ebf02a6efa
2013-10-23 13:19:58 -07:00
Brandon Benvie
d769f13cbc Bug 862849 - Remove __iterator__ use from the devtools. r=vp 2013-10-18 12:28:40 -07:00
Nick Fitzgerald
18deebe4ab Bug 917072 - Move black box eyeball into sources toolbar; r=vporof 2013-10-23 02:10:08 -07:00
Anton Kovalyov
8bd5814074 Bug 919709 - Make Debugger use CodeMirror. r=vporof 2013-10-22 13:53:53 -07:00
Gijs Kruitbosch
6574bca193 Bug 927605 - refactor keyboard shortcut code in devtools into a JSM, r=Unfocused,vporof
--HG--
rename : browser/devtools/shared/helpers.js => toolkit/modules/ShortcutUtils.jsm
2013-10-20 22:50:37 +02:00
Nick Fitzgerald
9940956347 Bug 916180 - Make pretty printing toggle-able; r=vporof 2013-10-22 00:04:46 -07:00
Jacob Clark
8b3df29479 Bug 928315 - Adding functionlity to allow Shift+Enter to search backwards in the debugger, r=vporof 2013-10-20 17:50:20 +03:00
Victor Porof
07b8c606bf Bug 927375 - Debugger UI should be responsive when docked to the side, r=fitzgen 2013-10-19 12:26:46 +03:00
Brandon Benvie
a4802a4a08 Bug 902539 - Make VariablesView ignore right clicks. r=vp 2013-10-14 14:40:05 -07:00
Brandon Benvie
bde6c497e0 Backout 55adba3eb627 bug 902539 for missing review comment. 2013-10-15 12:09:38 -07:00
Brandon Benvie
7f1e65fada Bug 902539 - Make VariablesView ignore right clicks. 2013-10-14 14:40:05 -07:00
Nick Fitzgerald
1a8915f20a Bug 921630 - Show progress indicator while pretty printing; r=vporof 2013-10-14 13:06:50 -07:00