зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1446809 - Remove some b2g leftover in the devtools doc r=jdescottes
MozReview-Commit-ID: L6CYiizDSwF --HG-- extra : rebase_source : 4d155273a90291b382281eb2d4e8cedde5d26b6c
This commit is contained in:
Родитель
762a078307
Коммит
147b8aaffd
|
@ -4,9 +4,9 @@
|
|||
|
||||
Tab actors are the most common types of actors. That's the type of actors you will most probably be adding.
|
||||
|
||||
Tab actors target a document, this could be a tab in Firefox, an app on B2G or a remote document in Firefox for Android/Safari/Chrome for Android (via Valence).
|
||||
Tab actors target a document, this could be a tab in Firefox or a remote document in Firefox for Android/Safari/Chrome for Android (via Valence).
|
||||
|
||||
Global actors however are for the rest, for things not related to any particular document but instead for things global to the whole Firefox/B2G/Chrome/Safari intance the toolbox is connected to (e.g. the preference actor).
|
||||
Global actors however are for the rest, for things not related to any particular document but instead for things global to the whole Firefox/Chrome/Safari intance the toolbox is connected to (e.g. the preference actor).
|
||||
|
||||
## The DebuggerServer.registerModule function
|
||||
|
||||
|
@ -38,4 +38,4 @@ If you are adding a new actor from an add-on, you should call `DebuggerServer.re
|
|||
|
||||
The `DebuggerServer` loads and creates all of the actors lazily to keep the initial memory usage down (which is extremely important on lower end devices).
|
||||
|
||||
It becomes especially important when debugging apps on b2g or pages with e10s when there are more than one process, because that's when we need to spawn a `DebuggerServer` per process (it may not be immediately obvious that the server in the main process is mostly only here for piping messages to the actors in the child process).
|
||||
It becomes especially important when debugging pages with e10s when there are more than one process, because that's when we need to spawn a `DebuggerServer` per process (it may not be immediately obvious that the server in the main process is mostly only here for piping messages to the actors in the child process).
|
||||
|
|
Загрузка…
Ссылка в новой задаче