Commit Graph

133 Commits

Author SHA1 Message Date
Zimon Dai
135a8e85a2 Bug 1135435 - Add UI for breakpoint condition throws. r=fitzgen 2015-03-06 11:41:54 +08:00
Panos Astithas
9f9fcffa8d Use the correct l10n keys for the event listeners pane (bug 1101196). r=vporof 2015-03-09 17:50:30 +02:00
Zimon Dai
4d3b11b7e2 Bug 983469 - Pause on breakpoint condition exception. r=fitzgen 2015-02-09 21:43:17 +08:00
James Long
e777957397 Bug 1124106 - Don't show unnamed eval sources in the debugger. r=ejpbruel 2015-02-19 13:59:00 -05:00
Tooru Fujisawa
b8c3142fd1 Bug 1069416 - Part 6: Remove JS_HAS_SYMBOLS from devtools. r=fitzgen 2015-01-28 13:06:38 +09:00
James Long
1770bd710a Bug 1111771 - move all unnamed eval sources in the debugger to the bottom of the source listing. r=fitzgen 2015-01-08 15:11:00 +01:00
James Long
8b2cf8ac62 Bug 1107541 - Display eval sources with a sourceURL pragma correctly in the debugger. r=fitzgen 2014-12-09 15:00:00 -05:00
Phil Ringnalda
d9baec0b64 Back out eb203c9db11d (bug 1107541) for e10s dt bustage
CLOSED TREE
2014-12-08 20:24:52 -08:00
James Long
659b1f0a47 Bug 1107541 - display eval scripts with a sourceURL pragma correctly in the debugger r=fitzgen 2014-12-08 15:49:34 -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
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
Jason Orendorff
bcc9db0b2c Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp. 2014-07-01 21:01:21 -05:00
Jakub Jurovych
9e2b7582f4 Bug 949762 - Tracer should respect black boxing. r=fitzgen 2014-08-14 18:02:00 -04: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
a91c7de7b1 Replace mouseenter/leave events with mouseover/out in devtools for performance (bug 971203). r=vporof,pbrosset 2014-07-09 17:47:53 +03:00
Piyush Waradpande
39a80a5d28 Bug 967156 - Adding class 'black-boxed' to blackboxed source after reload. r=fitzgen 2014-07-08 10:41:00 +02: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
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
99b4194c7f Bug 986151 - Fix line number of breakpoints when added from context menu. r=past 2014-05-15 14:51:00 +02:00
Victor Porof
9daad98063 Bug 1008395 - Fix failing tests caused by unintended stringification in the test suite, r=me 2014-05-10 13:20:50 -04:00
Victor Porof
2bcd5d0898 Bug 1008356 - The close button on watch expressions acts weirdly, r=bgrins 2014-05-09 16:19:58 -04: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
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
5edaae3490 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals. r=past 2014-04-02 19:38:07 -04:00
James Long
e04fcf02a9 Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp 2014-04-04 08:27:57 -04:00
Wes Kocher
35550b38f4 Backed out changeset a17657a71b01 (bug 991376) for pushing tests around, causing chunked browser-chrome bustage on a CLOSED TREE 2014-04-03 15:15:26 -07:00
Victor Porof
9cc30a6a40 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals, r=past 2014-04-03 11:22:23 -04:00
Dave Townsend
4a18e10fad Bug 986755: Add-on debugger should use the XPI hierarchy to group sources. r=fitzgen, r=ochameau 2014-03-31 10:19:15 -07: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
Jordan Santell
817da65e8e Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
Hubert B Manilla
cdfbd307ce Bug 962857 - Fix for debugger mistakenly detecting .jsm files are minified. r=fitzgen 2014-03-17 10:43:19 -04:00
Robin Ricard
a83ad36b25 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
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
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
b672dbbcdb Bug 952277 - DOMNodes can be highlighted and selected from the debugger [Australis]; r=past, vporof 2014-02-01 10:24:44 +01: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
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
6c61825beb Bug 960237 - Re-enable browser_dbg_break-on-dom-05.js, r=past 2014-01-16 12:36:53 +02: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
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
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
J. Ryan Stinnett
5bf5ca125c Bug 947710 - Stop evaling and catch errors in Manifest Editor. r=vporof 2014-01-06 11:14:21 -06:00
Victor Porof
dbcc001303 Bug 951633 - Drop the <xul:menulist> support for WidgetMethods, r=past 2014-01-03 23:42:16 +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
Nick Fitzgerald
3930bddb92 Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00