Bug 1943936 - codespell 2.4.0: typo fixes r=linter-reviewers,profiler-reviewers,canaltinova,ahal
Differential Revision: https://phabricator.services.mozilla.com/D235601
This commit is contained in:
@@ -191,7 +191,7 @@ We use a few tricks and optimizations to help improve the perceived performance
|
||||
|
||||
2. When a tab hasn’t ever been seen before, and is still in the process of loading (right now, dubiously checked by looking for the “busy” attribute on the ``<xul:tab>``) we show a blank content area until its layers are finally ready. The idea here is to shift perceived lag from the async tab switcher to the network by showing the blank space instead of the tab switch spinner.
|
||||
|
||||
3. “Warming” is a nascent optimization that will allow us to pre-emptively render and cache the layers for tabs that we think the user is likely to switch to soon. After a timeout (``browser.tabs.remote.warmup.unloadDelayMs``), “warmed” tabs that aren’t switched to have their layers unloaded and cleared from the cache.
|
||||
3. “Warming” is a nascent optimization that will allow us to preemptively render and cache the layers for tabs that we think the user is likely to switch to soon. After a timeout (``browser.tabs.remote.warmup.unloadDelayMs``), “warmed” tabs that aren’t switched to have their layers unloaded and cleared from the cache.
|
||||
|
||||
4. On platforms that support ``occlusionstatechange`` events (as of this writing, only macOS) and ``sizemodechange`` events (Windows, macOS and Linux), we stop rendering the layers for the currently selected tab when the window is minimized or fully occluded by another window.
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ browser.urlbar.searchTips.test.ignoreShowLimits (boolean, default: false)
|
||||
This is useful for testing purposes.
|
||||
|
||||
browser.urlbar.speculativeConnect.enabled (boolean, default: true)
|
||||
Speculative connections allow to resolve domains pre-emptively when the user
|
||||
Speculative connections allow to resolve domains preemptively when the user
|
||||
is likely to pick a result from the Address Bar. This allows for faster
|
||||
navigation.
|
||||
|
||||
|
||||
@@ -101,8 +101,8 @@ Prefixes
|
||||
|
||||
|
||||
|
||||
Other advices
|
||||
~~~~~~~~~~~~~
|
||||
Other advice
|
||||
~~~~~~~~~~~~
|
||||
|
||||
- Do not compare ``x == true`` or ``x == false``. Use ``(x)`` or
|
||||
``(!x)`` instead. ``x == true``, is certainly different from if
|
||||
|
||||
@@ -53,8 +53,8 @@ Makefile/moz.build practices
|
||||
architecture rather than ``CONFIG['OS_TEST'] {=armv7}`` (re: bug 886689).
|
||||
|
||||
|
||||
Other advices
|
||||
~~~~~~~~~~~~~
|
||||
Other advice
|
||||
~~~~~~~~~~~~
|
||||
|
||||
- Install the
|
||||
`mozext <https://hg.mozilla.org/hgcustom/version-control-tools/file/default/hgext/mozext>`__
|
||||
|
||||
@@ -4,7 +4,7 @@ Ignorefile Lint
|
||||
Ignorefile lint is a linter for ``.gitignore`` and ``.hgignore`` files,
|
||||
to verify those files have equivalent entries.
|
||||
|
||||
Each pattern is roughly compared, ignoring punctuations, to absorb the
|
||||
Each pattern is roughly compared, ignoring punctuation, to absorb the
|
||||
syntax difference.
|
||||
|
||||
Run Locally
|
||||
|
||||
@@ -320,7 +320,7 @@ IPDLUnitTest
|
||||
|
||||
:primary protocol: varies
|
||||
|
||||
This test-only process type is intended for use when writing IPDL unit tests. However, it is currently broken, due to these tests having never been run in CI. The type may be removed or re-used when these unit tests are fixed.
|
||||
This test-only process type is intended for use when writing IPDL unit tests. However, it is currently broken, due to these tests having never been run in CI. The type may be removed or reused when these unit tests are fixed.
|
||||
|
||||
.. _utility-process:
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ def doLint(results, path1, config):
|
||||
patterns2 = parseFile(results, path2, config)
|
||||
|
||||
# Comparison for each line is done via IgnorePattern.__eq__, which
|
||||
# ignores punctuations.
|
||||
# ignores punctuation.
|
||||
if patterns1 == patterns2:
|
||||
return
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ Released chunk
|
||||
|
||||
Recycled chunk
|
||||
This is a chunk that was previously written into, and full. When memory limits occur,
|
||||
rather than freeing the memory, it is re-used as the next chunk.
|
||||
rather than freeing the memory, it is reused as the next chunk.
|
||||
|
||||
.. _ProfileChunkedBuffer: https://searchfox.org/mozilla-central/search?q=ProfileChunkedBuffer&path=&case=true®exp=false
|
||||
.. _ProfileChunkManager: https://searchfox.org/mozilla-central/search?q=ProfileBufferChunkManager.h&path=&case=true®exp=false
|
||||
|
||||
Reference in New Issue
Block a user