| Index: docs/native_client_in_google_chrome.md
|
| diff --git a/docs/native_client_in_google_chrome.md b/docs/native_client_in_google_chrome.md
|
| index 68e22a522a057bcdf911491374a923fac35c3e78..8f3157073453ceb969ccb76f570446a6fa117365 100644
|
| --- a/docs/native_client_in_google_chrome.md
|
| +++ b/docs/native_client_in_google_chrome.md
|
| @@ -7,20 +7,17 @@ can do, [download the tarball](downloads.md) and install the plug-in. For
|
| details of what's different about the integrated version, see [Known issues]
|
| (NativeClientInGoogleChrome#Known_issues.md).
|
|
|
| -**Contents:**
|
| -
|
| # How to enable Native Client in Google Chrome
|
|
|
| -1. [Download Google Chrome](http://www.google.com/chrome), if you don't already
|
| - have it.
|
| -2. Subscribe to the [Dev channel]
|
| - (http://dev.chromium.org/getting-involved/dev-channel).
|
| -3. Launch Google Chrome from the command line, adding **--enable-nacl**. On Mac
|
| - and Linux, if you're using dev channel release 5.0.375.9 or 5.0.371.0,
|
| - respectively (or an earlier version), also add **--no-sandbox**. On Windows,
|
| - your command should look like this:
|
| +1. [Download Google Chrome](http://www.google.com/chrome), if you don't already
|
| + have it.
|
| +2. Subscribe to the [Dev channel](http://dev.chromium.org/getting-involved/dev-channel).
|
| +3. Launch Google Chrome from the command line, adding **--enable-nacl**. On Mac
|
| + and Linux, if you're using dev channel release 5.0.375.9 or 5.0.371.0,
|
| + respectively (or an earlier version), also add **--no-sandbox**. On Windows,
|
| + your command should look like this:
|
|
|
| -<blockquote><b><pre><code>chrome.exe --enable-nacl</code></pre></b></blockquote>
|
| + chrome.exe --enable-nacl
|
|
|
| **Warning:** We recommend running Google Chrome with the --no-sandbox or
|
| --enable-nacl flag **only** for testing Native Client and **not for regular web
|
| @@ -37,12 +34,9 @@ browsing**.
|
| right version of Python.)
|
| 2. [Start a local HTTP server]
|
| (http://nativeclient.googlecode.com/svn/trunk/src/native_client/documentation/getting_started.html#httpd),
|
| - if one isn't already running on your computer. <br /><br />
|
| + if one isn't already running on your computer.
|
| 2. In Google Chrome, view the Browser Test Page, using **localhost** for the
|
| - hostname. For example: <br /> <br /><a
|
| - href='http://localhost:5103/scons-out/nacl-x86-32/staging/examples.html'><a
|
| - href='http://localhost:5103/scons-out/nacl-x86-32/staging/examples.html'>http://localhost:5103/scons-out/nacl-x86-32/staging/examples.html</a></a><br
|
| - /><br />
|
| + hostname. For example: [http://localhost:5103/scons-out/nacl-x86-32/staging/examples.html](http://localhost:5103/scons-out/nacl-x86-32/staging/examples.html)
|
| 3. Click links to examples and tests to run them.
|
|
|
| When Google Chrome is launched with the **--enable-nacl** flag, the integrated
|
| @@ -51,33 +45,33 @@ Native Client plug-in (if installed) is used to run them.
|
|
|
| The following tests should work in the integrated version of Native Client:
|
|
|
| -* Tests that have no audio or graphics<br /> The results of these tests should
|
| - be the same as if you executed them in Google Chrome using the Native Client
|
| - plug-in.
|
| +* Tests that have no audio or graphics:
|
| + The results of these tests should be the same as if you executed them in
|
| + Google Chrome using the Native Client plug-in.
|
|
|
| -* Mandelbrot performance test<br /> This works because all drawing is from
|
| - JavaScript; Native Client is used only for calculations.
|
| +* Mandelbrot performance test:
|
| + This works because all drawing is from JavaScript; Native Client is used only
|
| + for calculations.
|
|
|
| The following examples don't currently work:
|
|
|
| -* Examples with graphics (except for the Mandelbrot performance test) <br
|
| - />This includes everything in the Examples column except the SRPC hello
|
| - world example.
|
| +* Examples with graphics (except for the Mandelbrot performance test):
|
| + This includes everything in the Examples column except the SRPC hello
|
| + world example.
|
|
|
| For details about what each example and test contains, see the [Examples and
|
| -Tests]
|
| -(http://nativeclient.googlecode.com/svn/trunk/src/native_client/documentation/examples.html)
|
| +Tests](http://nativeclient.googlecode.com/svn/trunk/src/native_client/documentation/examples.html)
|
| page and the README files in the source code.
|
|
|
| # Known issues
|
|
|
| -* Graphics and audio from native code don't work unless you're using the
|
| - proposed NPAPI improvements ([announcement]
|
| - (http://groups.google.com/group/native-client-announce/browse_thread/thread/3607403cbc165499),
|
| - [spec](https://wiki.mozilla.org/Plugins:PlatformIndependentNPAPI)). These
|
| - new 2D and 3D APIs provide access to video and audio.
|
| -* In some Dev-channel builds of Google Chrome, enabling Native Client requires
|
| - disabling the Google Chrome sandbox.
|
| +* Graphics and audio from native code don't work unless you're using the
|
| + proposed NPAPI improvements ([announcement]
|
| + (http://groups.google.com/group/native-client-announce/browse_thread/thread/3607403cbc165499),
|
| + [spec](https://wiki.mozilla.org/Plugins:PlatformIndependentNPAPI)). These
|
| + new 2D and 3D APIs provide access to video and audio.
|
| +* In some Dev-channel builds of Google Chrome, enabling Native Client requires
|
| + disabling the Google Chrome sandbox.
|
|
|
| # More information
|
|
|
|
|