Commit Graph
79 Commits
Author SHA1 Message Date
Nicolas Chevobbe 9c973e7566 Bug 1390768 - Insert tab and new line chars in Frame component; r=Honza.
This will allow the "copy message" context menu
entry to work as expected for console messages
with a stacktrace (exception, error message, console.trace, …)

Differential Revision: https://phabricator.services.mozilla.com/D11602
2018-11-12 15:41:32 +00:00
David Walsh b8230f02a3 Bug 1504867 - Update to debugger release 100 r=loganfsmyth 2018-11-08 15:43:45 -05:00
Jason Laster eb809932b6 Bug 1503975 - Update Debugger Frontend v99. r=dwalsh 2018-11-02 10:47:52 -04:00
Jason Laster ea92a2c1e6 Bug 1503278i - Update Debugger Frontend v98. r=dwalsh 2018-10-30 10:37:00 +02:00
David Walsh 0808e46a33 Bug 1502494 - Update Debugger Frontend to v97 r=jdescottes 2018-10-26 14:56:21 -05:00
David Walsh f0b4d68107 Bug 1502224 - Update debugger frontend v96 r=jdescottes
Test Plan: https://treeherder.mozilla.org/#/jobs?repo=try&revision=59f88434009d15d88731f658a1f0b177dbf2d008

Tags: #secure-revision

Bug #: 1502224

Differential Revision: https://phabricator.services.mozilla.com/D9936
2018-10-26 13:55:04 -05:00
David Walsh 55357be732 Bug 1501379 - Update debugger frontend v95. r=jdescottes 2018-10-23 13:06:03 -05:00
David Walsh 363210ade7 Bug 1500998 - Update debugger frontend v94 r=jdescottes 2018-10-22 16:00:28 -05:00
Alexandre Poirot cc0948cd92 Bug 1499333 - Rename all "worker client" to "worker target front". r=jdescottes
MozReview-Commit-ID: 30eOjbkYyvg

Differential Revision: https://phabricator.services.mozilla.com/D9006
2018-10-18 07:21:02 +00:00
Alexandre Poirot 120935cab4 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

Differential Revision: https://phabricator.services.mozilla.com/D8066
2018-10-15 08:36:12 +00:00
Alexandre Poirot 73e6f4f534 Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

Differential Revision: https://phabricator.services.mozilla.com/D7459
2018-10-15 08:36:10 +00:00
Brindusan Cristian dac48fe630 Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot eca444119b Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

Differential Revision: https://phabricator.services.mozilla.com/D8066
2018-10-11 15:46:30 +00:00
Alexandre Poirot db250517f9 Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

Differential Revision: https://phabricator.services.mozilla.com/D7459
2018-10-11 15:46:28 +00:00
Alexandre Poirot 302f1e922b Bug 1461714 - Land debugger's main module sources r=jlast
MozReview-Commit-ID: DXYRD1hWarA

Depends on D1741

Differential Revision: https://phabricator.services.mozilla.com/D7622
2018-10-05 08:31:55 +00:00
Jason Laster a17b2c177d Revert "Backed out changeset 8566206da1bf (bug 1496401) for devtools failures at test/mochitest/browser_jsterm_await.js"
This reverts commit c639cc0b0a613949bd3e9c275c35e6adf5a8c38f.
2018-10-04 16:35:45 -04:00
Gurzau Raul ea317bceb4 Backed out changeset 8566206da1bf (bug 1496401) for devtools failures at test/mochitest/browser_jsterm_await.js 2018-10-04 21:44:05 +03:00
Jason Laster 5308033a75 Bug 1496401 - Update Debugger Frontend v93. r=dwalsh 2018-10-04 05:47:00 +03:00
Jason Laster 8dc3caf170 Bug 1495727 - Update Debugger Frontend v92. r=dwalsh 2018-10-02 14:36:00 -04:00
Jason Laster c7704bc18a Bug 1495547 - Update Debugger Frontend v91. r=dwalsh 2018-10-02 10:48:32 -04:00
Jason Laster e39cccdee9 Bug 1494464 - Update Debugger Frontend v90. r=dwalsh 2018-10-01 16:41:32 -04:00
Jason Laster 7d999d369f Bug 1491471 - Move the OI store to the console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D5911
2018-09-27 20:09:51 +00:00
Michael Ratcliffe 81596860ae Bug 1491879 - Fix telemetry support for multiple tabs / windows r=nchevobbe
- Various telemetry methods now need an object to be passed in in order to keep them seperate e.g. if the inspector is opened in tab 1 a timer is started. If an inspector is opened in tab 2 the same timer is restarted. Closing tab 2 would then erase the timing event invalidating the timer in tab 1.
- We no longer need to preface telemetry calls with category "devtools.main" because this is the only category we will be using.
- There are some changes to `devtools/client/debugger/new/dist/vendors.js` and `devtools/client/debugger/new/src/utils/telemetry.js` that need to be ported to the debugger at the same time as landing this.

Differential Revision: https://phabricator.services.mozilla.com/D6137
2018-09-25 12:57:13 +00:00
Jason Laster 55fd8ddc7a Bug 1493151 - Update Debugger Frontend v89. r=dwalsh 2018-09-25 17:46:05 -04: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
Jason Laster f7bf14199b Bug 1491983 - Update Debugger Frontend v88. r=dwalsh 2018-09-18 17:57:03 -04:00
Jason Laster 83bd3809ec Bug 1488917 - Update Debugger Frontend v87. r=dwalsh 2018-09-06 13:03:09 -04:00
Jason Laster 80aa7111e8 Bug 1485752 - Update Debugger Frontend v86. r=dwalsh 2018-08-23 12:59:00 +03:00
Jason Laster 6210998104 Bug 1485471 - Update Debugger Frontend v85. r=dwalsh 2018-08-23 09:22:55 -04:00
Gurzau Raul c79fba29ac Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-23 15:31:37 +03:00
Csoregi Natalia f4d1d312cd Backed out changeset 933160fab822 (bug 1485471) for browser_browser_toolbox_debugger.js failures. a=backout 2018-08-23 15:16:14 +03:00
Alexandre Poirot 453be37998 Bug 1222047 - Manage device and preference fronts via client.mainRoot.getFront. r=yulia
Summary: Depends On D3317

Tags: #secure-revision

Bug #: 1222047

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

MozReview-Commit-ID: 3jaFZbXVLuw
2018-08-23 03:51:40 -07:00
Jason Laster 0fa05cf533 Bug 1485471 - Update Debugger Frontend v85. r=dwalsh 2018-08-22 13:17:00 +03:00
Jason Laster 5321f80310 Bug 1484972 - Update Debugger Frontend v84. r=dwalsh 2018-08-21 20:36:00 +03:00
Jason Laster 74c0bcef29 Bug 1483877 - Update Debugger Frontend v83. r=dwalsh 2018-08-17 07:28:00 -04:00
Jason Laster 3786956841 Bug 1483646 - Update Debugger Frontend v82. r=dwalsh 2018-08-15 17:06:34 -04:00
Jason Laster 49df28dafc Bug 1482406 - Update Debugger Frontend v81. r=dwalsh 2018-08-10 23:30:16 -04:00
Jason Laster 6697ca5cbd Bug 1481628 - Update Debugger Frontend v80. r=dwalsh 2018-08-09 16:13:23 -04:00
dvarga 1fb6f476d6 Backed out changeset 22e7df1eb55c (bug 1481628) failure at browser/base/content/test/static/browser_parsable_script.js on a CLOSE TREE 2018-08-08 22:10:45 +03:00
Jason Laster c2e5f97194 Bug 1481628 - Update Debugger Frontend v80. r=dwalsh 2018-08-08 07:45:00 +03:00
Jason Laster 40103754b3 Bug 1481320 - Update Debugger Frontend v79. r=dwalsh
This reverts commit 76e05705338bb79a7cd9882f69804b580a0167e3.
2018-08-07 16:48:01 -04:00
Cosmin Sabou 646220b146 Backed out changeset af0490295274 (bug 1481320) for causing devtools failures on browser_dbg-breakpoints-actions.js 2018-08-07 18:26:43 +03:00
Jason Laster f412ab42dd Bug 1481320 - Update Debugger Frontend v79. r=dwalsh 2018-08-07 09:57:55 -04:00
Jason Laster c4c5b0e3aa Bug 1480838 - Update Debugger Frontend v78. r=dwalsh 2018-08-03 18:33:37 -04:00
Jason Laster 377c518cf6 Bug 1479812 - Update Debugger Frontend v77. r=dwalsh 2018-08-02 11:10:48 -04:00
Tiberius Oros 17715b927d Backed out changeset 6e508c907238 (bug 1479812) for browser_dbg-sourcemapped-breakpoint-console.js failures on a CLOSED TREE 2018-08-02 01:59:35 +03:00
Jason Laster 54591512c5 Bug 1479812 - Update Debugger Frontend v77. r=dwalsh 2018-08-01 17:25:39 -04:00
Jason Laster 46b6ea0f80 Bug 1479116 - Update Debugger Frontend v76. r=dwalsh
MozReview-Commit-ID: AvrEObOYdeN
2018-07-30 14:31:47 -04:00
Jason Laster a2dc1fc6d2 Bug 1478429 - Update Debugger Frontend v75. r=dwalsh 2018-07-25 18:47:25 -04:00
Jason Laster af9f89984d Bug 1478060 - Update Debugger Frontend v74. r=dwalsh
MozReview-Commit-ID: Fxjd6LoO2X9
2018-07-24 17:05:37 -04:00