Commit Graph

23 Commits

Author SHA1 Message Date
J. Ryan Stinnett
0ec08eee8e Bug 1352157 - Avoid listTabs for global actors. r=ochameau
Adds a new `getRoot` request to the root actor which lists the global actors
only (leaving out the tabs).  This is a much better fit for callers who want to
access some global actor only, since it avoids visiting every tab, which could
be a very expensive operation.

MozReview-Commit-ID: 1lIAuaV7zoF
2017-04-06 23:00:22 -05:00
J. Ryan Stinnett
ca88cfaf4a Bug 1352157 - Improve root actor style with async / await. r=ochameau
MozReview-Commit-ID: 3UspkZ63auc
2017-04-06 22:25:34 -05:00
J. Ryan Stinnett
7dc78d9187 Bug 1353559 - Filter out exited browsers from tab list. r=ochameau
This adds higher level protection to ignore exited browser actors, so we don't
end up triggering methods like `form` on them, since they won't make much sense
anyway.

MozReview-Commit-ID: KgUCA04N2fY
2017-04-05 07:27:30 -05:00
Julian Descottes
32af45720c Bug 1341361 - reattach listChanged evts in root actor earlier to avoid missing updates;r=jryans
The root actor listens to list changes for tabs, addons, workers and service workers.
The event listener used for each of these lists was attached too late and could miss
updates. This was fixed earlier for tabs to fix an intermittent. This patch applies
the same change to addons workers and serviceworkers.

MozReview-Commit-ID: K4gKwK9U6Vh
2017-02-09 22:11:01 +01:00
J. Ryan Stinnett
45964c77ce Bug 1268134 - Add actor to target windows by ID. r=ochameau
MozReview-Commit-ID: EDwcd7j1yhH
2016-04-14 16:29:53 -05:00
Julian Descottes
beb236b4aa Bug 1304941 - reconnect onTabChanged listener before fetching the tablist;r=jryans
MozReview-Commit-ID: FZYDKH3F21O
2017-02-08 17:08:42 +01:00
Patrick Brosset
d045689e66 Bug 1323700 - Adding a copy full path option to the inspector menu; r=gl
MozReview-Commit-ID: IvRnek7e7Xq
2017-01-17 14:14:41 +01:00
Dalimil Hajek
b4e6cbd057 Bug 1322085 - Make devtools/server/actors/*.js eslint-clean. r=ntim 2017-01-16 12:51:00 -05:00
J. Ryan Stinnett
ca28966f00 Bug 1315391 - Rename all disconnect methods to destroy in actors. r=ochameau
Ever since protocol.js was added as a way to create DevTools actors, we've had
lots of confusion about the correct way to implement actor destruction.  If your
actor's _parent_ was the legacy kind, you had to use `disconnect`.  If it was
protocol.js, you had to use `destroy`.

There is no reason for this madness, which makes reasoning about destruction
quite hard.  Here we rename `disconnect` to `destroy` so there is only one name
for every destruction path.

MozReview-Commit-ID: C1Yw9NfUUR2
2016-11-11 18:24:58 -06:00
Alexandre Poirot
337a135aa3 Bug 1315044 - Cache ContentActor forms to prevent creating new one when calling RootActor.getProcess multiple times. r=jryans
MozReview-Commit-ID: 3YyShRXQhel
2016-11-04 08:05:15 -07:00
J. Ryan Stinnett
30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05: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
Jennifer Fong
bb0e5b8001 Bug 1270173 - Move protocol.js from devtools/server to devtools/shared. r=ejpbruel 2016-05-06 09:19:00 +02:00
Jan Keromnes
2eb1b62769 Bug 1241841 - Remove the RootActor's service worker registration listener on disconnect. r=ejpbruel 2016-02-15 08:11:00 +01:00
Alexandre Poirot
d96d7929d7 Bug 1225473 - Support Service workers in child process. r=janx 2015-12-03 06:42:34 -08:00
Alexandre Poirot
5d30de3145 Bug 1225477 - Support listening for processes creation. r=jryans 2015-12-03 06:42:34 -08:00
Eddy Bruel
6715ea2022 Bug 1218817 - Implement RootActor.listServiceWorkerRegistrations;r=janx 2015-11-30 06:00:31 +01:00
Victor Porof
6f06282523 Bug 1218078 - Show onload and DOMContentLoaded markers in the netmonitor's frontend, r=smaug, jsantell, tromey 2015-11-11 23:11:40 +01:00
Jordan Santell
1d02b69242 Bug 1201907 - Enable memory tool for use and add a trait indicating its availability. r=fitzgen 2015-10-28 16:21:10 -07:00
Wes Kocher
0d37d41c43 Backed out changeset 17ae7ed99b0b (bug 1201907) so I can cleanly back out another patch 2015-10-28 14:50:48 -07:00
Jordan Santell
0c28ea427d Bug 1201907 - Enable memory tool for use and add a trait indicating its availability. r=fitzgen 2015-10-28 14:10:21 -07:00
Jan Keromnes
7c26305af6 Bug 1196785 - Add rootActor.listWorkers() to list all registered workers. r=past p=ally 2015-09-28 03:58:00 +02: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