Skip to content

Commit

Permalink
Bug 1749473 - fix of several rst warnings r=sylvestre
Browse files Browse the repository at this point in the history
  • Loading branch information
ogiorgis committed Jan 27, 2023
1 parent 5fa906d commit 5e881a8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ redirects:

fatal warnings:
- "WARNING: '([^']*)' reference target not found:((?!.rst).)*$"
max_num_warnings: 6610
max_num_warnings: 6605
17 changes: 8 additions & 9 deletions docs/performance/memory/leak_hunting_strategies_and_tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 2 additions & 4 deletions dom/docs/scriptSecurity/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
1 change: 1 addition & 0 deletions mobile/android/docs/geckoview/contributor/junit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e881a8

Please sign in to comment.