зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1268134 - Render ascii tree art literally. r=ochameau
MozReview-Commit-ID: FY12pPIpHe2 --HG-- extra : rebase_source : f5e0e05e56497e90fab9bb7979fecf915a09c743
This commit is contained in:
Родитель
649c21ef13
Коммит
24d384bd71
|
@ -7,7 +7,8 @@ once a parent is removed from the pool, its children are removed as well.
|
|||
|
||||
The overall hierarchy of actors looks like this:
|
||||
|
||||
RootActor: First one, automatically instantiated when we start connecting.
|
||||
```
|
||||
RootActor: First one, automatically instantiated when we start connecting.
|
||||
| Mostly meant to instantiate new actors.
|
||||
|
|
||||
|--> Global-scoped actors:
|
||||
|
@ -27,6 +28,7 @@ The overall hierarchy of actors looks like this:
|
|||
worker). Examples include the console and inspector actors.
|
||||
These actors may extend this hierarchy by having their
|
||||
own children, like LongStringActor, WalkerActor, etc.
|
||||
```
|
||||
|
||||
## RootActor
|
||||
|
||||
|
@ -36,7 +38,8 @@ All other actors have an `actorID` which is computed dynamically,
|
|||
so that you need to ask an existing actor to create an Actor
|
||||
and returns its `actorID`. That's the main role of RootActor.
|
||||
|
||||
RootActor (root.js)
|
||||
```
|
||||
RootActor (root.js)
|
||||
|
|
||||
|-- BrowserTabActor (webbrowser.js)
|
||||
| Targets tabs living in the parent or child process. Note that this is
|
||||
|
@ -78,6 +81,7 @@ and returns its `actorID`. That's the main role of RootActor.
|
|||
\-- BrowserAddonActor (addon.js)
|
||||
Targets the javascript of add-ons.
|
||||
Returned by "listAddons" request.
|
||||
```
|
||||
|
||||
## "TabActor"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче