Bug 1749473 - fix of several rst warnings r=sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D167934
This commit is contained in:
ogiorgis 2023-01-27 13:41:10 +00:00
parent 5fa906d358
commit 5e881a80df
5 changed files with 14 additions and 16 deletions

View file

@ -110,4 +110,4 @@ redirects:
fatal warnings:
- "WARNING: '([^']*)' reference target not found:((?!.rst).)*$"
max_num_warnings: 6610
max_num_warnings: 6605

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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