Commit Graph

795 Commits

Author SHA1 Message Date
Victor Porof
46560e5ce0 Bug 1006666 - Increase the timeout required to show the variables inspection popup, r=rcampbell 2014-05-07 09:38:17 -04:00
Victor Porof
8561753870 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
cf39db4063 Bug 1006489 - Scopes in the debugger don't always reexpand after stepping, r=rcampbell 2014-05-07 09:38:16 -04:00
Dão Gottwald
9155b33e7c Bug 805068 - Make browser chrome tests more self-contained by giving each test a new blank tab. r=ttaubert 2014-05-07 15:08:05 +02:00
Sankha Narayan Guria
8461a91b02 Bug 957513 - DecimalIntegerLiteral cannot be 0 directly followed by 8 or 9. r=jorendorff, r=vp 2014-01-30 02:38:57 +05:30
Gavin Sharp
c607f79fa9 Bug 896711: remove BrowserChromeTests.runWhenReady because it's being abused, r=dao/ttaubert/vporof 2013-07-27 17:32:40 -07:00
Ryan VanderMeulen
1f54f83606 Backed out changeset 2b48d8dcac21 (bug 995252) for linux debug mochitest-dt failures. 2014-05-01 17:05:34 -04:00
James Long
9da3063d4a Bug 995252 - Conditional breakpoints are always hit. r=past 2014-04-30 11:42:00 -04:00
Jordan Santell
6c4a98ba39 Bug 991762 - Hide picker tool when debugging addons. r=jryans 2014-04-30 10:48:00 -04:00
Dave Townsend
832c3d2cac Bug 993029: Create an add-on console actor that will be displayed in the console tab of the add-on debugger. r=msucan, r=Unfocused, r=past 2014-05-01 08:36:01 -07:00
Eddy Bruel
c7b00e949d Bug 859372 - Refactor script.js; r=past 2014-04-29 17:52:44 +02:00
Ryan VanderMeulen
00ecb40a6c Bug 986166 - Disable browser_dbg_variables-view-edit-click.js on Windows and OSX opt for frequent failures. r=vp 2014-04-27 15:07:18 -04:00
Wes Kocher
7f118a8fee Backed out 7 changesets (bug 942756) for Gi bustage
Backed out changeset 87b1be303630 (bug 942756)
Backed out changeset eb385c85d88b (bug 942756)
Backed out changeset d234447173a8 (bug 942756)
Backed out changeset f7b85c252914 (bug 942756)
Backed out changeset 4e540736b330 (bug 942756)
Backed out changeset 824aec2863f5 (bug 942756)
Backed out changeset 43feed75916e (bug 942756)
2014-04-24 14:30:44 -07:00
Dave Townsend
001dd9410a Bug 990074: Sources linked via the optionsURL in install.rdf do not show up in addon debugger. r=fitzgen 2014-04-24 14:16:46 -07:00
Nick Fitzgerald
f00687fc4c Bug 999854 - Rewrite browser_dbg_pretty-print-on-paused.js to use Task.spawn. r=vporof 2014-04-24 13:09:00 -04:00
Dave Townsend
57c83226c5 Backing out bug 990074 as we have to backout bug 990685 2014-04-24 13:04:40 -07:00
Paul Rouget
cb55744223 Bug 942756 - Unify debugger server startup: devtools and browser code. r=ochameau 2014-04-18 10:45:00 -04:00
Paolo Amadini
60d8bb5bf9 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
Heather Arthur
b6f37f1c1c Bug 993162 - Make default indent size 2 spaces. r=jwalker 2014-04-20 22:28:00 +02:00
Dave Townsend
cec7d5b156 Bug 997315: Verify that multiple calls to listTabs doesn't prematurely disconnect actors. r=panos 2014-04-18 08:20:49 -07:00
Dave Townsend
341d4bc93b Bug 990074: Sources linked via the optionsURL in install.rdf do not show up in addon debugger. r=fitzgen 2014-04-16 14:14:50 -07:00
Ryan VanderMeulen
5ccec8d240 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Paolo Amadini
5b838a54f7 Bug 995170 - Convert legacy uses of promise.js in devtools where this doesn't result in test failures. r=jwalker 2014-04-14 14:15:43 +01:00
Joe Walker
ffa9c6e99c Bug 984365 - Refactor and split out BuiltinCommands.jsm; r=mratcliffe,robcee,panos
BuiltinCommands.jsm was huge to avoid slowing things down by having many
modules loading.

To avoid splitting it up from slowing things down we want to delay loading
commands. Create [add|remove]ItemsByModule to allow us to lazily add modules,
and convert all command modules to use this.

Then break up BuiltinCommands into a set of files, for each command, and do
some refactoring to use JS files rather than JSMs and use "use strict".

--HG--
rename : browser/devtools/commandline/Commands.jsm => browser/devtools/commandline/commands-index.js
rename : browser/devtools/debugger/CmdDebugger.jsm => browser/devtools/debugger/debugger-commands.js
rename : browser/devtools/inspector/CmdInspect.jsm => browser/devtools/inspector/inspector-commands.js
rename : browser/devtools/responsivedesign/CmdResize.jsm => browser/devtools/responsivedesign/resize-commands.js
rename : browser/devtools/scratchpad/CmdScratchpad.jsm => browser/devtools/scratchpad/scratchpad-commands.js
rename : browser/devtools/styleeditor/CmdEdit.jsm => browser/devtools/styleeditor/styleeditor-commands.js
rename : browser/devtools/tilt/CmdTilt.jsm => browser/devtools/tilt/tilt-commands.js
2014-04-13 07:47:27 +01:00
Dave Townsend
6674b49161 Bug 989374: Consolidate logic from browser_dbg_addon-* tests. r=fitzgen 2014-04-07 12:49:43 -07:00
Victor Porof
a57a16c5a5 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals. r=past 2014-04-02 19:38:07 -04:00
Jordan Santell
9ee1ae235e Bug 991347 - Hide the displaying of the canvas editor when debugging an addon target. r=vp 2014-04-02 16:28:18 -07:00
James Long
6f3e0f15dd Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp 2014-04-04 08:27:57 -04:00
Victor Porof
0ccd1d9833 Relanding bug 991392 as a backout of changeset a192ea8b6fce because it has no tests and can't cause browser-chrome bustage, r=me 2014-04-04 03:13:45 -04:00
Wes Kocher
c7b8ecece3 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
Wes Kocher
3e739a585d Backed out changeset d53cc3ad38ec (bug 991392) for pushing tests around, causing chunked browser-chrome bustage on a CLOSED TREE 2014-04-03 15:14:53 -07:00
Panos Astithas
6e036f89a6 Bug 991112 - Disable RDP logging for faster tests. r=vporof
--HG--
extra : rebase_source : 4a5b5b8001a7a9e1bf0aae3ecd6bb600b6d15154
2014-04-03 18:22:49 +03:00
Panos Astithas
8942fcf8d9 Fix a typo in error reporting when attaching to the tracer (bug 989627). r=vporof
--HG--
extra : rebase_source : 59547f9b8f21bc4205b358701d1c9aa900049e81
2014-04-03 16:59:46 +03:00
Victor Porof
5e8820f861 Bug 991392 - Make the separator between the watch expressions and variables view visible in the debugger, r=past 2014-04-03 11:22:23 -04:00
Victor Porof
8241f278a7 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals, r=past 2014-04-03 11:22:23 -04:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Dave Townsend
6e7b87c915 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
Phil Ringnalda
b9b8a97985 Back out 43663582cfdb (bug 987404) because it looks like it disabled things even without e10s being defined 2014-03-30 23:18:57 -07:00
Mark Hammond
555f838434 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Phil Ringnalda
124708defb Merge f-t to m-c 2014-03-30 16:31:41 -07:00
Ehsan Akhgari
4304bc7ea2 Bug 986286 - Double the test timeout 2014-03-30 09:51:02 -04:00
Ehsan Akhgari
812ed9e5f4 Bug 987700 - Double the test timeout 2014-03-30 09:44:29 -04:00
Victor Porof
feb9eeed9d Bug 917226 - Build a canvas inspection tool, r=rcampbell, jryans 2014-03-29 13:01:37 -04:00
Jordan Santell
1d63ae7ec1 Bug 987890 - Hide unused tools when using addon debugger. r=jryans 2014-03-27 12:32:00 +01:00
Wes Kocher
a7bdfae4f6 Merge fx-team to m-c 2014-03-27 20:07:56 -07:00
Ed Morley
449379d2cc Backed out changeset 894e40121370 (bug 917226) for browser-chrome failures; DONTBUILD since fixing commit message
CLOSED TREE
2014-03-27 19:09:29 +00:00
Ed Morley
df264302e9 Backed out changeset 7b9fab28c591 (bug 917226) for incorrect commit message generated by qbackout; DONTBUILD 2014-03-27 19:07:31 +00:00
Victor Porof
8c86a85427 Bug 917226 - Build a canvas inspection tool, r=rcampbell
--HG--
extra : rebase_source : 466745d61633e1e56f7fd1f2e680952c52cdf0a4
2014-03-27 18:57:16 +00:00
Dave Townsend
7ad941322a 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
Dave Townsend
abee89a8c8 Bug 986853: Add-on Debugger title is always 'Debugger - (null)'. r=past 2014-03-27 10:29:03 -07:00
John Shih
585ab9e785 Bug 960426 - Part 6: Fix conflict in browser_dpg_variables-view-filter-03.js. r=past 2014-03-27 15:26:47 +08:00
Victor Porof
3bebfcdd8a Backed out changeset 882b91ce5a9f, as a relanding of Bug 917226, r=me 2014-03-27 12:24:00 -04:00
Ed Morley
a9d17b7cb7 Backed out changeset 894e40121370 (bug 917226) for mochitest-chrome failures 2014-03-27 16:11:59 +00:00
Dave Townsend
5dcb75658d Bug 986639: Use the __URI__ property of component and module globals to detect which add-on they come from (missed review comments). r=fitzgen 2014-03-27 09:02:39 -07:00
Dave Townsend
d633915be4 Bug 986639: Use the __URI__ property of component and module globals to detect which add-on they come from. r=fitzgen 2014-03-26 16:04:20 -07:00
Dave Townsend
fec0c9e2da Bug 986108: Make all restartless add-ons debuggable. r=Unfocused, r=fitzgen 2014-03-26 16:03:57 -07:00
Jordan Santell
ac741bf517 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
Victor Porof
238e8b812c Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 10:21:37 -04:00
Wes Kocher
53863d5dcd Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00
Jordan Santell
2236d55a6a Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
Dave Townsend
5bcd79ed16 Bug 987368: DebuggerView doesn't destroy its editor properly. r=fitzgen 2014-03-24 14:30:09 -07:00
Brandon Benvie
6ca6258cd1 Bug 970172 - Prevent VariablesView Variables from handling clicks while editing. r=vporof 2014-02-12 15:33:59 -08:00
Hubert B Manilla
4f5fb7e1f5 Bug 962857 - Fix for debugger mistakenly detecting .jsm files are minified. r=fitzgen 2014-03-17 10:43:19 -04:00
Nick Fitzgerald
9cdf2a2c0f Bug 981258 - Set the breakpoints in browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js before executng the IIFE so that the IIFE's Debugger.Script can't be GC'd before the breakpoints are set; r=past 2014-03-15 18:48:55 -07:00
Phil Ringnalda
8127109275 Merge m-c to f-t 2014-03-14 19:09:29 -07:00
Ed Morley
e24190b758 Bug 918507 - Disable browser_dbg_chrome-create.js on the remaining platforms, since it doesn't clean up after itself; CLOSED TREE 2014-03-14 16:54:20 +00:00
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
Stefan Alderson
38f2718b14 Bug 960905 - DevToolsUtils.reportException is misused in Tracer.prototype. r=fitzgen 2014-03-03 10:33:58 -05:00
Tim Taubert
6388df5b15 Bug 978541 - Use delegating yield for debugger-controller.js r=past 2014-03-02 10:34:05 +01:00
J. Ryan Stinnett
280881cba3 Bug 965157 - Remove standalone chrome debugger code paths. r=vporof 2014-02-26 22:33:35 -06: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
Nick Fitzgerald
9eb3a415ce Bug 974159 - debugger-controller.js should use ES6 iterators instead of old style iterators; r=past 2014-02-26 19:57:46 -08:00
J. Ryan Stinnett
ca83343b85 Bug 976679 - Move event-emitter to toolkit. r=paul
--HG--
rename : browser/devtools/shared/event-emitter.js => toolkit/devtools/event-emitter.js
rename : browser/devtools/shared/test/browser_eventemitter_basic.js => toolkit/devtools/tests/mochitest/test_eventemitter_basic.html
2014-02-25 22:22:05 -06: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
Panos Astithas
9f3ed06d23 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
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