no bug - doc: fix some typos r=marco

Differential Revision: https://phabricator.services.mozilla.com/D171688
This commit is contained in:
Sylvestre Ledru 2023-03-06 11:53:54 +00:00
parent 454f3f2ec5
commit f616c106ea
5 changed files with 6 additions and 6 deletions

View file

@ -199,7 +199,7 @@ reformat:
::
// clang-format off
my code which should not be reformated
my code which should not be reformatted
// clang-format on
You can find an `example of code not

View file

@ -95,7 +95,7 @@ interface, you need to do the following:
instance by the compiler via one of that class's non-explicit
constructors.)
If many instances of `MyInterface` are expected to be created
quicky, the return value of `GetParentObject` should itself inherit
quickly, the return value of `GetParentObject` should itself inherit
from `nsWrapperCache` for optimal performance. Returning null from
`GetParentObject` is allowed in situations in which it's OK to
associate the resulting object with a random global object for
@ -205,7 +205,7 @@ will require these method declarations:
``` cpp
class MyClass
{
void DoSomething(int32_t aNumber);
void DoSomething(int32_t a number);
double DoSomething(MyClass* aOtherInstance);
already_AddRefed<MyInterface> DoSomethingElse(Optional<int32_t> aMaybeNumber,

View file

@ -107,7 +107,7 @@ Manifest entries are used for features in which an extension specifies
some static information that is used when an extension is installed or
when it starts up (i.e., before it has the chance to run any code to use
a Javascript API).
An API may handle a manifest key and implement Javscript functionality,
An API may handle a manifest key and implement Javascript functionality,
see the
`browser action <https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/browserAction>`_
API for an example.

View file

@ -35,7 +35,7 @@ this command will generates a `.webdil` file named `dom/webidl/ExtensionRuntime.
one that ends ``mach python`` own command line options.
* If a webidl file with the same name already exist, the python script will ask confirmation and
offer to print a diff of the changes (or just continue without changin the existing webidl file
offer to print a diff of the changes (or just continue without changing the existing webidl file
if the content is exactly the same):
.. code-block::

View file

@ -55,6 +55,6 @@ For that reason, these events can only be handled by extension APIs that
are built into the browser. Or, in other words, these events cannot be
handled by APIs that are implemented in WebExtension experiments. If the
implementation of an API relies on these events for correctness, the API
must be built into the browser and not delievered via an experiment.
must be built into the browser and not delivered via an experiment.
.. Should we even document onStartup()? I think no...