Commit Graph
114 Commits
Author SHA1 Message Date
Brian Hackett ecf2fecf25 Bug 1483319 Part 2 - Treat replayForcedPause as unsolicited, r=jimb. 2018-08-18 05:39:34 -10: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
Alexandre Poirot 14e115ac28 Bug 1222047 - Expose helper to easily instanciate global and target scoped fronts. r=yulia
Summary: Depends On D3314

Tags: #secure-revision

Bug #: 1222047

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

MozReview-Commit-ID: fqlHCkOtIB
2018-08-23 03:51:39 -07:00
Alexandre Poirot 2f92cbb0b2 Bug 1222047 - Cache root actor form on RootClient rather than Target object. r=yulia
Summary: Depends On D3314

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1222047

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

MozReview-Commit-ID: 9zqIeJWznsb
2018-08-23 03:51:39 -07:00
Brian Hackett 257a61bc93 Bug 1479058 Part 6 - ReplayDebugger and server/client changes to support time warps, r=jimb. 2018-08-02 23:30:19 +00:00
Brian Hackett 81cc07d17a Bug 1465488 Part 2 - Web Replay client side devtools changes, r=jlast. 2018-07-24 14:54:42 +00:00
Boris Zbarsky 3af9dccacb Bug 1476145 part 4. Stop using getInterface(nsIDOMWindowUtils) in devtools. r=bgrins 2018-07-24 19:47:41 -04:00
J. Ryan Stinnett f489c5464f Bug 1465637 - Rename tab-scoped actors to target-scoped actors. r=ochameau
The term "tab actor" was used ambiguously to mean either the "target actor
representing a tab" or "a child actor of the tab target actor" (such as the
console actor).  Here we rename the second case to "target-scoped actor".

Differential Revision: https://phabricator.services.mozilla.com/D1760
2018-06-26 13:27:57 +00:00
arthur.iakab c92ab366d1 Backed out changeset 88960670cf9f (bug 1465637) for failing talos damp tests on server/protocol.js: Error: Can't manage front without an actor ID on a CLOSED TREE 2018-06-25 21:56:27 +03:00
J. Ryan Stinnett f1a1ed11e7 Bug 1465637 - Rename tab-scoped actors to target-scoped actors. r=ochameau
The term "tab actor" was used ambiguously to mean either the "target actor
representing a tab" or "a child actor of the tab target actor" (such as the
console actor).  Here we rename the second case to "target-scoped actor".

Differential Revision: https://phabricator.services.mozilla.com/D1760
2018-06-25 17:53:40 +00:00
Alexandre Poirot ee08ebcd6e Bug 1466691 - Replace callback style in favor of promise for TabClient methods. r=jryans
MozReview-Commit-ID: 6Is4O8KQhgY
2018-06-05 01:50:40 -07:00
Alexandre Poirot f648e4792d Bug 1466691 - Remove useless attachTrace method. r=jryans
MozReview-Commit-ID: KHh57uwJnNI
2018-06-05 01:13:17 -07:00
Alexandre Poirot b7b7297b95 Bug 1466691 - Replace callback style in favor of promise for SourceClient methods. r=jryans
MozReview-Commit-ID: F78igLUlqn6
2018-06-05 01:09:43 -07:00
J. Ryan Stinnett 035161b7df Bug 1172897 - Rename BrowserAddonActor to AddonTargetActor. r=ochameau
MozReview-Commit-ID: 4iI6BQaleJS
2018-06-04 18:37:02 -05:00
J. Ryan Stinnett 8ac68bca20 Bug 1172897 - Rename ChildProcessActor to ContentProcessTargetActor. r=ochameau
MozReview-Commit-ID: 60kELwh0N3f
2018-06-04 17:30:06 -05:00
J. Ryan Stinnett d609a92077 Bug 1172897 - Rename ChromeActor to ParentProcessTargetActor. r=ochameau
MozReview-Commit-ID: JM17h5ArYub
2018-06-01 17:31:48 -05:00
J. Ryan Stinnett 520d226052 Bug 1172897 - Rename WindowActor to ChromeWindowTargetActor. r=ochameau
MozReview-Commit-ID: 8ZcDQTHEUkO
2018-06-01 17:09:55 -05:00
J. Ryan Stinnett 0cae81b452 Bug 1172897 - Rename WorkerActor to WorkerTargetActor. r=ochameau
MozReview-Commit-ID: 2Qakr1PHKNZ
2018-06-01 15:59:24 -05:00
J. Ryan Stinnett c6fd8c950e Bug 1172897 - Rename TabActor to BrowsingContextTargetActor. r=ochameau
MozReview-Commit-ID: LPTEx2h4F1o
2018-05-25 18:20:28 -05:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Belén Albeza 06c1724edc Bug 1450067 - Show last update timestamp for a sw. r=nchevobbe
MozReview-Commit-ID: rul88NKcHZ
2018-05-24 12:04:54 +02:00
Jason Laster 94e0f88809 Bug 1455750 - Provide method for server to skip pausing. r=jimb 2018-05-24 16:57:08 -04:00
Julian Descottes 86ca55fb78 Bug 1450073 - Update listAllWorkers try/catch to be resilient if listWorkers failed;r=ochameau
The issue with the previous approach is that calling listWorkers on other processes
can fail leading us to return an empty result set, while we could still return the
information coming from the main process workers.

MozReview-Commit-ID: 8KBpGQH3qYH
2018-04-27 21:41:10 +02:00
Mike Ratcliffe 183dbdcc6b Bug 1454103 - Correct display of local and sessionStorage in DevTools r=nchevobbe
Take into account node offsets in browser_webconsole_object_inspector_local_session_storage.js.

MozReview-Commit-ID: 73waFejjsF0
2018-04-14 00:29:59 +01:00
Julian Descottes 77cdcb1aa0 Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW
2018-04-20 16:27:15 +02:00
Ciure Andrei 7d0d7e8fbb Backed out 4 changesets (bug 1445197)for ESlint failure, on a CLOSED TREE a=backout
Backed out changeset 422bbd33b4e3 (bug 1445197)
Backed out changeset 086638cc851c (bug 1445197)
Backed out changeset 11f5214dc193 (bug 1445197)
Backed out changeset eae47509bc27 (bug 1445197)
2018-04-18 23:50:12 +03:00
Julian Descottes 73ad967535 Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW
2018-04-05 21:45:15 +02:00
Andreea Pavel 9f90c53976 Backed out 4 changesets (bug 1445197) for failing mochitest devtools on multiple files e.g. devtools/client/aboutdebugging/test/browser_service_workers.js on a CLOSED TREE
Backed out changeset 4b6f77cfd686 (bug 1445197)
Backed out changeset ba9ffea6d216 (bug 1445197)
Backed out changeset a0345830e1cf (bug 1445197)
Backed out changeset 3e9acd2c8bd3 (bug 1445197)
2018-04-18 20:19:34 +03:00
Julian Descottes 35c97e7776 Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW
2018-04-05 21:45:15 +02:00
Brindusan Cristian 92c33e66e9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-17 13:10:25 +03:00
Emilio Cobos Álvarez 74eefeed1a Bug 1452143: Hook the filters and enable error reporting on demand. r=nchevobbe
MozReview-Commit-ID: BDFmxWjbDgj
2018-04-17 11:24:23 +02:00
J. Ryan Stinnett 652fd12257 Bug 1453846 - Remove DevTools RDP events. r=Honza
A few years ago in bug 1126274, we added RDP events to the DevTools transport so
that the add-on RDP Inspector could display packets as they flow by.

The add-on no longer works as it is not a WebExtension.  Maybe someday we'll
revisit this, but for now this removes some dead code.

MozReview-Commit-ID: AvgQhYWwBUA
2018-04-13 12:57:48 -05:00
Nicolas Chevobbe 959e3db023 Bug 1450193 - Remove old-event-emitter usage from devtools/shared/client; r=jryans.
MozReview-Commit-ID: 42hBgG1IU2B
2018-03-30 08:49:22 +02:00
Jason Laster cd6df82c8a Bug 1447316 - The debugger should use pausePoints to decide where to stop. r=jimb
MozReview-Commit-ID: 4Sxz0VIKB3j
2018-03-22 18:32:36 -04:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Alexandre Poirot c693997506 Bug 1440320 - Convert Task.jsm to async/await in devtools/shared. r=jryans
MozReview-Commit-ID: IK8BzlYuOWm
2018-02-22 00:49:06 -08:00
Alexandre Poirot d8fcb140f2 Bug 1434374 - Remove useless Cu imports. r=jdescottes
MozReview-Commit-ID: FUeBcCrmHPL
2018-02-06 11:08:31 -08:00
Alexandre Poirot 0021aa3d94 Bug 1434374 - Always import deprecated-sync-promises as a module. r=jdescottes
MozReview-Commit-ID: B97O55CxD8T
2018-02-05 08:11:30 -08:00
Florian Quèze c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Alexandre Poirot 7b9e7e0b6c Bug 1432803 - Prevent using timeline actor to get DOMContentLoaded and load timings. r=Honza
MozReview-Commit-ID: Kkn36gDFTKN
2018-01-24 08:48:26 -08:00
Julian Descottes a46329cb93 Bug 1272774 - allow listTabs to return favicon data from PlacesUtils;r=ochameau
MozReview-Commit-ID: 8bkn3mG6YkL
2018-01-04 17:25:45 +01:00
Nicolas Chevobbe 42f9679a92 Bug 1430799 - Add a createObjectClient method to the DebuggerClient;r=jlast.
This is needed by the debugger in order to use the latest devtools-reps
package (0.19.0).
This function was already added in the devtools-connection package.

MozReview-Commit-ID: 3SVxq4Jbs16
2018-01-16 17:25:58 +01:00
Julian Descottes febb253d33 Bug 1151156 - remove unused b2g code in debugger-client onPacket;r=jryans
MozReview-Commit-ID: IWyGUCKCFAM
2017-12-13 17:56:14 -06:00
Alexandre Poirot 7e124db7a2 Bug 1405008 - Make WebIDE warn when connecting to old runtimes. r=jdescottes
MozReview-Commit-ID: KQc2b1ohksA
2017-10-02 22:40:32 +02:00
Nicolas Chevobbe fd8ff6dda8 Bug 1383711 - Make addOneTimeListener return a Promise; r=ochameau.
Switch some calls to addOneTimeListener from callback-style to Promise.

MozReview-Commit-ID: F9AlSvK0MAH
2017-11-06 08:40:39 +01:00
Nicolas Chevobbe 8519505b53 Bug 1403106 - Use absolute path to not have issues with webpack aliasing; r=Honza
MozReview-Commit-ID: 88NkFh8arI6
2017-10-04 13:29:08 +02:00
Nicolas Chevobbe fee723d060 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
Nicolas Chevobbe 9518aed487 Bug 1403895 - split main.js in mulitple files; r=ochameau.
This patch keeps the main.js file so  we don't have to change
consumer code that uses objects fom this file.

MozReview-Commit-ID: KhFoPPApE2L
2017-09-28 17:29:55 +02:00
Julian Descottes 2530599593 Bug 1391562 - use obj.on/off/emit rather than static methods from devtools event-emitter;r=zer0
MozReview-Commit-ID: I50W8zGB9d0
2017-08-18 17:05:04 +02:00
Nicolas Chevobbe 15554f90b2 Bug 1392614 - Add an onEnumSymbols function on the object actor. r=ochameau
This will enable lazy loading symbols for a grip if needed.
This patch introduce a new SymbolIteratorActor, which is similar
to PropertyIteratorActor but with a data structure that better
fits symbols, and how we already handle them, i.e. an `ownSymbols`
array property (and not an `ownProperties` object like PropertyIteratorActor).

We take this as an opportunity to add a test for enumSymbols, but also
for enumProperties that did not have server unit tests (it is only tested
in the frontend with the variable view, which might be deprecated at some
point).

MozReview-Commit-ID: IEIKA8zwH90
2017-08-22 12:07:48 +02:00