Commit Graph

658 Commits

Author SHA1 Message Date
Phil Ringnalda
826e1727ab Merge f-t to m-c 2014-02-15 10:10:31 -08:00
Panos Astithas
ff03c716d6 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
a3ff9acf01 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
416512ec68 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
9cb1e54009 Backed out changeset 2b95fec2f1f5 (bug 970536) for mochitest-bc failures.
CLOSED TREE
2014-02-12 08:19:05 -05:00
Panos Astithas
5a09478eeb 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
f5d6e8ec2a Bug 919819 - Detect JS files from fetched content type. r=fitzgen 2014-02-11 15:35:11 -06:00
Panos Astithas
d65d1ad5e5 Keep populating the Events pane even in the presence of event listeners with no associated Debugger.Script (bug 942899). r=vporof 2014-02-06 18:33:26 +02:00
Hubert B Manilla
5cb9c4fdbb Bug 927673 - Fix forPage has no sources showing when debugger is loading. r=fitzgen 2014-02-06 10:04:13 -05:00
Kannan Vijayan
a835a67677 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
b2db1dbc89 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
b05c336ceb 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
b672dbbcdb Bug 952277 - DOMNodes can be highlighted and selected from the debugger [Australis]; r=past, vporof 2014-02-01 10:24:44 +01:00
Brian Grinstead
ab2281cea0 Bug 965985 - DevTools light theme button followup;r=vporof 2014-01-31 14:45:59 -06:00
Panos Astithas
b0aae39b08 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
1e207c40a2 Bug 944640 - Add a "Watch" button on the new inspect popup. r=vporof 2014-01-31 13:01:27 -05:00
Brian Grinstead
7f5e8980fb Bug 957117 - DevTools Themes: Use light theme for top tabbar and toolbars OVERRIDE HOOK;r=vporof 2014-01-30 14:42:15 -06:00
Victor Porof
9a5ec580a2 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
13ce9e2aa2 Bug 963932 - Refactor the output emitted by Parser.jsm to avoid too much useless nesting, r=past 2014-01-28 12:18:20 +02:00
Victor Porof
a859119703 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 2014-01-28 12:16:49 +02:00
Mahdi Dibaiee
784aa3fe5b Bug 911916 - Search set to identifier under cursor if no text selected. r=vp 2014-01-23 09:39:59 -05:00
Panos Astithas
8609912471 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
0f2968b470 Bug 960270 - Streamline Editor API. r=msucan 2014-01-17 12:58:45 -08:00
Brandon Benvie
7fd011e00b Bug 947612 - Fix VariablesView so that editableName._onCleanup is called. r=vp 2014-01-17 10:40:41 -08:00
Victor Porof
6c61825beb Bug 960237 - Re-enable browser_dbg_break-on-dom-05.js, r=past 2014-01-16 12:36:53 +02:00
Victor Porof
7cbab62525 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
Hubert B Manilla
1077a0ef02 Bug 913665 - Fix wrong entity. r=fitzgen 2014-01-14 09:49:08 -05:00
Alexey Novak
a1181528ea Bug 957634: Changed Tooltip's setTextContent function signature. Now Tooltip can contain a warning image 32x32 when isAlertTooltip passed = true; r=vp 2014-01-14 08:59:43 +02:00
Alexey Novak
3e8a98c0b4 Bug 947143 - Replaced debugger resumption order panel with an easier to maintain Tooltip.js instance; r=vporof 2014-01-09 10:11:54 +02:00
Victor Porof
beda0e466d Bug 957187 - The variable inspection popup never appears in the right place on Linux and Windows, r=past 2014-01-08 16:59:00 +02:00
Victor Porof
01224b2507 Bug 943883 - DevTools themes - theme sidemenuwidget, r=bgrins, australis 2014-01-07 11:58:07 +02:00
Victor Porof
b1071ddd25 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
Anton Kovalyov
d2232f79fd Bug 956943 - Replace Editor.extendSelection with CM version. r=vporof 2014-01-07 13:01:38 -08:00
Victor Porof
58d2e24191 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
7f46fe1d07 Bug 952817 - VariablesView.createHierarchy should always be called when the view is emptied, r=benvie 2014-01-07 10:03:17 +02:00
J. Ryan Stinnett
5bf5ca125c Bug 947710 - Stop evaling and catch errors in Manifest Editor. r=vporof 2014-01-06 11:14:21 -06:00
Ricardo Palomares
8e77d49c89 Bug 918017 - Add debugger accesskey entities and rename those that were named after ".key" but were accesskeys. r=fitzgen 2014-01-06 09:58:05 -05:00
Victor Porof
153db6bcb9 Bug 951633 - Fix assertion typos in browser_dbg_stack-02.js, r=past 2014-01-04 00:04:24 +02:00
Victor Porof
22e4d19c50 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
619a1259b8 Bug 951633 - Fix tests after the WidgetMethods API changes, r=past 2014-01-03 23:42:28 +02:00
Victor Porof
dbcc001303 Bug 951633 - Drop the <xul:menulist> support for WidgetMethods, r=past 2014-01-03 23:42:16 +02:00
Victor Porof
869e6781bc Bug 952767 - Variables view scopes should always be lazily populated, r=past 2014-01-03 23:41:28 +02:00
Victor Porof
c6a7097220 Bug 952734 - Sources with LabeledStatements makes ParserHelpers.getNodeLocation puke, r=past 2014-01-03 23:41:28 +02:00
Hubert B Manilla
e5a569a1a0 Bug 913665 - Detect minified files and pretty print them by default; r=fitzgen 2013-12-24 15:32:55 +01:00
Mihai Sucan
5f46502e0b Bug 843004 - Part 4: Tests for pretty output of objects; r=nfitzgerald 2013-12-19 23:07:54 +02:00
Victor Porof
b3828fe0f5 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
1b0b7ba9eb 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
7469dadbe5 Bug 951828 - Always select the variables tab when pausing, r=fitzgen 2013-12-19 13:41:46 +02:00
Nick Fitzgerald
e8e2dc1ead Bug 949908 - There should be only one way to start/stop tracing in the debugger; r=vporof 2013-12-18 15:50:36 -08:00
Nick Fitzgerald
3930bddb92 Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00