Commit Graph

247 Commits

Author SHA1 Message Date
Sami Jaktholm
89c37cf234 Bug 942899 - Populate the debugger listener tab even if a listener doesn't have an associated Debugger.Script object. r=vporof 2015-06-20 16:02:00 +03:00
Eddy Bruël
a14aa140c1 Bug 1171967 - Implement WorkerTarget;r=jlong 2015-06-30 22:56:26 +02:00
Eddy Bruël
a41a5e057c Bug 1171967 - Emit newSource events on ThreadClient instead of DebuggerClient;r=pbrosset 2015-06-22 15:17:12 +02:00
Eddy Bruël
24a1e12d22 Bug 1169343 - Implement DebuggerView.Workers;r=jlong 2015-06-19 13:51:37 +02:00
Eddy Bruël
ca8b8dc854 Bug 1008380 - Can't remove a breakpoint after it slides to a new line;r=jlong 2015-06-04 12:02:35 +02:00
Ryan VanderMeulen
b94fc3aafd Backed out changeset a4c0703e9a10 (bug 1008380) for browser_dbg_breakpoints-actual-location.js failures. 2015-06-03 13:34:46 -04:00
Eddy Bruël
ae6bcc9e1c Bug 1008380 - Can't remove a breakpoint after it slides to a new line;r=jlong 2015-06-03 17:35:59 +02:00
Patrick Brosset
d5e8c5e2b6 Bug 1167957 - Remove spidermonkey specific JS from debugger 2015-05-25 09:17:26 +02:00
Phil Ringnalda
fdf3b1f75b 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
Patrick Brosset
aeacd02e03 Bug 1167957 - Remove spidermonkey specific JS from debugger 2015-05-25 09:17:26 +02:00
James Long
b73c2e196a Bug 1131756 - properly display anonymous sources when they are needed in the debugger r=ejpbruel 2015-05-13 18:18:48 -04:00
Brian Grinstead
6fc21991d3 Bug 1157946 - Early return if aResponse.sources is undefined;r=fitzgen
This happens quite often during the damp devtools talos test, when
the toolbox is closed immediately after a page is reloaded
2015-04-25 10:11:16 -07:00
Mike Taylor
c2a6860ff5 Bug 848502 - Add a context menu to the debugger sources panel. r=vporof 2015-04-03 09:13:00 -04:00
Zimon Dai
135a8e85a2 Bug 1135435 - Add UI for breakpoint condition throws. r=fitzgen 2015-03-06 11:41:54 +08:00
Panos Astithas
c8a8556310 Never interleave requests to get the page event listeners and avoid redundant requests for definition sites (bug 1106692). r=jlongster 2015-03-12 10:09:35 +02:00
Alexandre Poirot
bebe410bdc Bug 1059308 - Add Target.isTabActor to tell if the remote tab actor supports attach/detach requests. r=jryans 2015-02-26 03:55:00 +01:00
Boris Zbarsky
25dee35220 Bug 1107443 part 1. Stop defining non-configurable properties on the window in devtools. r=jimb 2015-01-23 09:54:14 -05:00
Jim Blandy
cc14b80dc2 Bug 967234: Don't block self-hosted code in the devtool client code; Debugger takes care of this. r=ejpbruel 2014-12-23 16:47:52 -08:00
James Long
edda82574b Bug 905700 - use Debugger.Source in the debugger backend and reference source actors instead of URLs in the frontend r=fitzgen 2014-11-25 15:02:39 -08:00
Alexandre Poirot
9c99f9824d Bug 1094203 - Enable tools if related actor is available. r=jryans 2014-11-12 04:57:00 +01:00
James Long
46f58d16b2 Bug 1093349 - Add prettyPrinting and blackBoxing traits and hide buttons in debugger conditionally. r=past, a=me 2014-11-05 10:16:00 -05:00
Jakub Jurovych
497f5add2e Bug 1052220 - Show traces' hit counts. r=fitzgen 2014-08-26 18:25:00 +02:00
Jakub Jurovych
9e2b7582f4 Bug 949762 - Tracer should respect black boxing. r=fitzgen 2014-08-14 18:02:00 -04:00
Panos Astithas
94067e1295 Properly handle bound functions in event listeners and objects with 'handleEvent' methods (bug 746622). r=vporof,mratcliffe 2014-06-12 17:18:09 +03:00
Panos Astithas
c19aa67f07 Properly handle terminated scripts in the debugger (bug 814683). r=fitzgen 2014-07-15 19:20:38 +03:00
Panos Astithas
ce567f98b9 Black box sources before deciding whether to stage them for later addition (bug 1038117). r=fitzgen 2014-07-14 18:30:28 +03:00
Panos Astithas
25b8256a4d Wait a turn of the event loop if CodeMirror isn't settled by the time breakpoints are being set (bug 1016310). r=vporof 2014-07-09 18:49:34 +03:00
Nick Fitzgerald
49a3e83568 Bug 1032379 - Automatically black box sources whose URL ends with '.min.js'. r=past 2014-07-03 09:44:00 -04:00
Panos Astithas
dce2293573 Avoid a race in CodeMirror initialization when setting breakpoints and don't let ESC stop navigation if the debugger is paused (bug 957174). r=vporof 2014-06-19 10:15:14 +03:00
Victor Porof
6a063b3e34 Bug 1034129 (relanded) - Event listeners should be clustered together by type in the events pane, r=past 2014-07-04 14:54:49 -04:00
Carsten "Tomcat" Book
6604a8f8ee Backed out changeset 0685c59d2e94 (bug 1034129) for dt test failures 2014-07-04 15:57:55 +02:00
Victor Porof
d410029a0b Bug 1034129 - Event listeners should be clustered together by type in the events pane, r=past 2014-07-04 08:19:38 -04:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brian Grinstead
027c1f0249 Bug 1018955: Get rid of pause/resume button flicker when setting breakpoint;r=fitzgen 2014-06-09 08:04:18 -05:00
Brian Grinstead
09c487b66e Bug 1018955 - Fix pause/resume button flicker when debugger first loads. r=fitzgen 2014-06-05 17:03:00 +02:00
Carsten "Tomcat" Book
8b846dba4e merge fx-team to mozilla-central 2014-05-21 13:57:43 +02:00
Wes Kocher
a6bd65cf07 Bug 991797 - convert most of the debugger frontend to use Task.jsm and fix discovered async errors r=victorporof 2014-05-20 15:55:39 -07:00
James Long
203bdc87e1 Bug 799077 - slide the breakpoint with a CSS transition when the server moves it r=past 2014-05-08 14:57:00 +02:00
Victor Porof
ffaaf21a54 Bug 1006589 - (relanded) Hovering an identifier will sometimes remove the highlighting of the line where the debugger is paused, r=rcampbell 2014-05-08 22:14:42 -04:00
James Long
4bc24b26eb Bug 995252 - Always remove a breakpoint and create a new one when setting the condition. r=past 2014-05-07 11:41:00 -04:00
Carsten "Tomcat" Book
ea64f8f5ef Backed out changeset df8bf3b71adb (bug 1006589) for frequent dt1 test failures 2014-05-08 09:26:29 +02:00
Victor Porof
b42dc70b17 Bug 1006589 - Hovering an identifier will sometimes remove the highlighting of the line where the debugger is paused, r=rcampbell 2014-05-07 09:38:17 -04:00
Victor Porof
e35550187d Bug 1006489 - Scopes in the debugger don't always reexpand after stepping, r=rcampbell 2014-05-07 09:38:16 -04:00
Shu-yu Guo
b869c9a73e Bug 717749 - Part 2: Hook up the debugger to the slow script debug service. (r=past) 2014-05-20 18:27:25 -07:00
Paolo Amadini
6d99e32a9f Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past 2014-04-22 20:55:01 +01:00
James Long
e04fcf02a9 Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp 2014-04-04 08:27:57 -04:00
Panos Astithas
3d6ccc60f1 Fix a typo in error reporting when attaching to the tracer (bug 989627). r=vporof 2014-04-03 16:59:46 +03:00
Dave Townsend
fb04fd3a86 Bug 986838: Add-on SDK modules should be listed after the add-on's own modules. r=fitzgen 2014-03-27 11:35:14 -07:00
Jordan Santell
13e58e7f00 Bug 911098 - Implement Addon Debugger UI, r=fitzgen,harthur,mossop
From 8af4148dc10f18bf67e39442ee93169cb66382d5 Mon Sep 17 00:00:00 2001
---
 browser/devtools/debugger/debugger-controller.js   |  36 ++++++-
 browser/devtools/debugger/debugger-panes.js        |  17 +++-
 browser/devtools/debugger/test/browser.ini         |   1 +
 .../debugger/test/browser_dbg_addon-sources.js     | 108 ++++++++++++++++++++
 browser/devtools/debugger/test/head.js             |  29 ++++++
 browser/devtools/framework/ToolboxProcess.jsm      |  31 ++++--
 .../devtools/framework/toolbox-process-window.js   |  18 +++-
 modules/libpref/src/init/all.js                    |   3 +
 .../en-US/chrome/mozapps/extensions/extensions.dtd |   1 +
 toolkit/mozapps/extensions/content/extensions.js   |  55 +++++++---
 toolkit/mozapps/extensions/content/extensions.xml  |  31 +++++-
 toolkit/mozapps/extensions/content/extensions.xul  |   6 ++
 .../mozapps/extensions/internal/XPIProvider.jsm    |   4 +
 .../extensions/internal/XPIProviderUtils.js        |   2 +-
 .../test/addons/test_jetpack/bootstrap.js          |  17 ++++
 .../test/addons/test_jetpack/harness-options.json  |   1 +
 .../test/addons/test_jetpack/install.rdf           |  28 ++++++
 .../extensions/test/browser/browser-common.ini     |   1 +
 .../test/browser/browser_debug_button.js           | 112 +++++++++++++++++++++
 toolkit/mozapps/extensions/test/browser/head.js    |   3 +
 .../extensions/test/xpcshell/test_isDebuggable.js  |  36 +++++++
 .../extensions/test/xpcshell/xpcshell-shared.ini   |   1 +
 22 files changed, 508 insertions(+), 33 deletions(-)
 create mode 100644 browser/devtools/debugger/test/browser_dbg_addon-sources.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/bootstrap.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/harness-options.json
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/install.rdf
 create mode 100644 toolkit/mozapps/extensions/test/browser/browser_debug_button.js
 create mode 100644 toolkit/mozapps/extensions/test/xpcshell/test_isDebuggable.js
* * *
Leak fix
2014-03-25 10:59:14 -07:00
Wes Kocher
d02d099208 Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00