forked from mirrors/gecko-dev
Bug 1802906 - Browser Console documentation: remove artifact r=devtools-reviewers,ochameau DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164968
This commit is contained in:
parent
2f3821521e
commit
ab6806623e
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ You can also start the Browser Console by launching Firefox from the command lin
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin -jsconsole</pre>
|
/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin -jsconsole
|
||||||
|
|
||||||
The Browser Console looks like this:
|
The Browser Console looks like this:
|
||||||
|
|
||||||
|
|
@ -83,7 +83,7 @@ One exported symbol from ``Console.sys.mjs`` is ``console``. Below is an example
|
||||||
.. code-block:: JavaScript
|
.. code-block:: JavaScript
|
||||||
|
|
||||||
const { console } = ChromeUtils.importESModule("resource://gre/modules/Console.sys.mjs");
|
const { console } = ChromeUtils.importESModule("resource://gre/modules/Console.sys.mjs");
|
||||||
console.log("Hello from Firefox code"); //output messages to the console</pre>
|
console.log("Hello from Firefox code"); //output messages to the console
|
||||||
|
|
||||||
Learn more:
|
Learn more:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue