forked from mirrors/gecko-dev
Bug 1749473 - fix of several rst warnings r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D167934
This commit is contained in:
parent
5fa906d358
commit
5e881a80df
5 changed files with 14 additions and 16 deletions
|
|
@ -110,4 +110,4 @@ redirects:
|
|||
|
||||
fatal warnings:
|
||||
- "WARNING: '([^']*)' reference target not found:((?!.rst).)*$"
|
||||
max_num_warnings: 6610
|
||||
max_num_warnings: 6605
|
||||
|
|
|
|||
|
|
@ -45,15 +45,14 @@ small and easy to identify using GC-based leak detection.)
|
|||
|
||||
## What leak tools do we have?
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ --------------------------------------------------------------------- ---------------------- -------------------------------------------------------
|
||||
Tool Finds Platforms Requires
|
||||
Leak tools for large object graphs
|
||||
[Leak Gauge](leak_gauge.md) Windows, documents, and docshells only All platforms Any build
|
||||
[GC and CC logs](gc_and_cc_logs.md) JS objects, DOM objects, many other kinds of objects All platforms Any build
|
||||
Leak tools for medium-size object graphs
|
||||
[BloatView](bloatview.md), [refcount tracing and balancing](refcount_tracing_and_balancing.md) Objects that implement `nsISupports` or use `MOZ_COUNT_{CTOR,DTOR}` All tier 1 platforms Debug build (or build opt with `--enable-logrefcnt`)
|
||||
Leak tools for debugging memory growth that is cleaned up on shutdown
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ --------------------------------------------------------------------- ---------------------- -------------------------------------------------------
|
||||
| Tool | Finds | Platforms | Requires |
|
||||
|------------------------------------------|------------------------------------------------------|---------------------|--------------|
|
||||
| Leak tools for large object graphs | | | |
|
||||
| [Leak Gauge](leak_gauge.md) | Windows, documents, and docshells only | All platforms | Any build |
|
||||
| [GC and CC logs](gc_and_cc_logs.md) | JS objects, DOM objects, many other kinds of objects | All platforms | Any build |
|
||||
| Leak tools for medium-size object graphs | | | |
|
||||
| [BloatView](bloatview.md), [refcount tracing and balancing](refcount_tracing_and_balancing.md) | Objects that implement `nsISupports` or use `MOZ_COUNT_{CTOR,DTOR}` | All tier 1 platforms | Debug build (or build opt with `--enable-logrefcnt`)|
|
||||
| Leak tools for debugging memory growth that is cleaned up on shutdown | | |
|
||||
|
||||
## Common leak patterns
|
||||
|
||||
|
|
|
|||
|
|
@ -228,10 +228,8 @@ Security principals
|
|||
|
||||
.. container::
|
||||
|
||||
There are four types of security principal: the system principal,
|
||||
content principals, expanded principals, and the null principal.
|
||||
|
||||
.. container::
|
||||
There are four types of security principal: the system principal,
|
||||
content principals, expanded principals, and the null principal.
|
||||
|
||||
.. _System_principal:
|
||||
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@ to match the object passed into the ``delegate*`` calls to the proxy delegates.
|
|||
For example, when calling
|
||||
|
||||
.. code:: java
|
||||
|
||||
sessionRule.delegateUntilTestEnd(object : NavigationDelegate, ProgressDelegate {})
|
||||
|
||||
``GeckoSessionTestRule`` will know to redirect all ``NavigationDelegate`` and
|
||||
|
|
|
|||
|
|
@ -151,14 +151,14 @@ following:
|
|||
|
||||
.. code:: shell
|
||||
|
||||
adb shell am set-debug-app -w --persistent org.mozilla.geckoview_example
|
||||
adb shell am set-debug-app -w --persistent org.mozilla.geckoview_example
|
||||
|
||||
The above command works with child processes too, e.g. to make the GPU
|
||||
process wait for a debugger, run:
|
||||
|
||||
.. code:: shell
|
||||
|
||||
adb shell am set-debug-app -w --persistent org.mozilla.geckoview_example:gpu
|
||||
adb shell am set-debug-app -w --persistent org.mozilla.geckoview_example:gpu
|
||||
|
||||
|
||||
Attaching a Java debugger to a waiting child process
|
||||
|
|
|
|||
Loading…
Reference in a new issue