Commit Graph
41 Commits
Author SHA1 Message Date
yulia 7eba825d59 Bug 1559819 - rename threadClient to threadFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32848
2019-07-11 09:45:32 +00:00
Victor Porof 957bf9fc56 Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30928
2019-05-17 15:51:36 +00:00
Daniel Varga b0a1e1a510 Merge mozilla-central to mozilla-inbound. a=merge 2019-05-16 07:19:28 +03:00
Brian Hackett a3b3fd2d4f Bug 1543753 - Don't view sources that can't be loaded in the debugger, r=loganfsmyth. 2019-05-15 07:52:42 -10:00
Jason Laster 167b0d54bc Bug 1539468 - Preview can initially take awhile to populate. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D30952
2019-05-15 14:46:09 +00:00
Brian Hackett 08eb9946a6 Bug 1538781 - Use the right thread for console evaluations when paused in a worker thread's frame, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D27625
2019-04-15 13:27:53 -10:00
David Walsh d5de1c9ead Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 13:16:00 -04:00
Noemi Erli b90b1b551f Backed out changeset ca42d5764b08 (bug 1500987) for failures in browser_dbg_worker-console-04.js 2019-04-09 19:04:30 +03:00
David Walsh 2113d7d3da Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 10:31:11 -04:00
Andreea Pavel 37877174ea Backed out changeset 21e7aa527584 (bug 1500987) for debugger, clipboard and dt failures on a CLOSED TREE 2019-04-08 23:15:05 +03:00
David Walsh 8d7dc8f078 Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-08 15:10:44 -04:00
David Walsh 117216f48e Bug 1314057 - Remove old debugger assets. r=jdescottes 2018-10-22 17:19:00 -05:00
Alexandre Poirot 2df2d40777 Bug 1397020 - Remove useless calls to TabTarget.attach r=yulia
TabTarget.attach is being called from the toolbox, before opening the tools,
so we do not have to call it from panel's open functions, nor code that is opening
a toolbox right after.

MozReview-Commit-ID: 77TZFbvOaFt

Differential Revision: https://phabricator.services.mozilla.com/D6668
2018-09-26 21:11:51 +00:00
Alexandre Poirot cce577ae01 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D6161

MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 09:52:57 -07:00
Nicolas Chevobbe 1ba7f2c7b4 Bug 1491354 - Extends top-level await mapping from debugger to toolbox; r=bgrins,jlast.
This patch makes the parser-worker available at the toolbox level.
This way, the console does not have to rely on the debugger being
open to map top-level await expression.
In order to make the worker works in the toolbox, some changes
are required (passing a window object, checking inToolbox differently).

We take this as an opportunity to *not* display the async iife result,
a promise, in the console. This is made by checking if the input was
mapped, and if so, ignoring the result we get from the server.

A couple tests are added to ensure the basic usage works as expected.

This patch should be considered as a v0 for top-level await evaluation
as there are things that are not perfect here. Since we rely on console.log
the result are treated differently from other evaluation results:
- the style is different
- the result gets added to the log cache (when restarting the console,
the results will still be displayed, but not the commands).
- the results can be filtered, although evaluation results should not
- `$_` after a top-level await evaluation returns the Promise created
by the async iife, not the result that was displayed in the console.

All those should be addressed in Bug 1410820.

Differential Revision: https://phabricator.services.mozilla.com/D6038
2018-09-24 08:17:30 +00:00
Gurzau Raul a532c08398 Backed out 9 changesets (bug 1485676) for failing at damp inspector/cold-open.js on a CLOSED TREE
Backed out changeset 4de2e71debfe (bug 1485676)
Backed out changeset e63025150c7a (bug 1485676)
Backed out changeset f9ef30ae3f7f (bug 1485676)
Backed out changeset a83636fab16a (bug 1485676)
Backed out changeset b1fd24929e09 (bug 1485676)
Backed out changeset acb27b915742 (bug 1485676)
Backed out changeset ba2157632772 (bug 1485676)
Backed out changeset d1d6b9bc2372 (bug 1485676)
Backed out changeset d7646ea8640b (bug 1485676)
2018-09-22 19:42:04 +03:00
Alexandre Poirot ef7fa3ed18 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D6161

MozReview-Commit-ID: KmFi1LIUBga
2018-09-22 08:34:21 -07:00
arthur.iakab 12a839773f Backed out 9 changesets (bug 1485676)for perma failures in devtools/client/canvasdebugger/test/browser_canvas-actor-test-01.js CLOSED TREE
Backed out changeset 9f5ec2aa7109 (bug 1485676)
Backed out changeset 0d530c1316a4 (bug 1485676)
Backed out changeset 03278e6fe685 (bug 1485676)
Backed out changeset 275463260056 (bug 1485676)
Backed out changeset 4c5a956b33f7 (bug 1485676)
Backed out changeset d8fe80bb0e3c (bug 1485676)
Backed out changeset 56240996921f (bug 1485676)
Backed out changeset ec0a322f5cc9 (bug 1485676)
Backed out changeset f0f4f9407970 (bug 1485676)
2018-09-21 12:48:48 +03:00
Alexandre Poirot 7d9e6c4418 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Differential Revision: https://phabricator.services.mozilla.com/D6161
2018-09-21 08:08:11 +00:00
yulia 3fc3eddeb3 Bug 1382580 - remove old-event-emitter from old debugger; r=nchevobbe
MozReview-Commit-ID: G9DKt0kISg7
2018-05-03 12:49:06 +02:00
Logan Smyth 4b59354eff Bug 1450145 - Rewrite console expressions through the debugger panel when available; r=nchevobbe
MozReview-Commit-ID: FyB01tz1Ynr
2018-03-29 10:55:47 -07:00
Jason Laster d3fb5efc6c Bug 1431127 - Fix TypeError: panel._selectors.getPause. r=jdescottes 2018-01-18 10:51:00 -05:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Paolo Amadini 7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Julian Descottes 7c53208c1b Bug 1297113 - Convert useKeysWithSplitConsole to use key-shorcut.js;r=ochameau
MozReview-Commit-ID: 6pbjxNJaTcs
2016-09-16 14:32:26 +02:00
Julian Descottes d043ecf859 Bug 1297113 - Remove unused debugger shortcut keys;r=jlongster
MozReview-Commit-ID: 4V0zTqTtSts
2016-09-14 16:03:05 +02:00
Jason Laster 7310c9ce84 Bug 1295753 - Fix console interaction with new debugger r=jlongster 2016-09-06 09:34:50 -04:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
James Long a72194673b Bug 1132501 - attach the thread on toolbox open instead of waiting for the debugger to initialize r=bgrins 2016-01-06 14:47:24 -05:00
James Long d94fbef9bd Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00
Carsten "Tomcat" Book f3d45a4d77 Backed out changeset 258cff340229 (bug 1200798) for new intermittent test failures in browser_dbg_breakpoints-button-02.js 2015-11-30 12:45:12 +01:00
James Long 267225b263 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-29 14:40:51 -05:00
Phil Ringnalda 41c1de0d7d Back out 34c9087517ea (bug 1200798) for e10s bustage in browser_dbg_reload-same-script.js
CLOSED TREE
2015-11-25 21:39:05 -08:00
James Long bc08c20fd9 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-25 19:41:26 -05:00
Wes Kocher f5b1e5b89c Backed out changeset e8c43ec095e3 (bug 1132501) for Gu permafail CLOSED TREEx 2015-11-18 14:34:38 -08:00
James Long 681e947b8c Bug 1132501 - attach a debugging thread automatically when the toolbox opens r=jryans 2015-11-18 16:25:32 -05:00
Hallvord R. M. Steen a0451bb884 Bug 1183325 - Allow use of debugger shortcut keys when split console has focus;r=bgrins 2015-10-07 22:09:55 +02:00
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00