Add more checks to investigate SupervisedUserPrefStore crash at startup.
[chromium-blink-merge.git] / native_client_sdk / src / examples / api / network_monitor / index.html
blob0d1378d5b418026fc9cb4195c9204d308550c804
1 <!DOCTYPE html>
2 <html>
3 <!--
4 Copyright 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8 <head>
9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1">
11 <title>{{title}}</title>
12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script>
14 <style>
15 table {
16 border: 1px solid #888;
17 border-collapse: collapse;
20 thead {
21 border-bottom: 1px solid #888;
24 td, th {
25 border-left: 1px solid #888;
26 padding: 4px;
28 </style>
29 </head>
30 <body {{attrs}}>
31 <h1>{{title}}</h1>
32 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
33 <p>The network_monitor example demonstrates how to listen for changes to the
34 status of the network interfaces on this computer.<br> This API is normally
35 only available to packaged apps with 'network-state' socket permission,
36 but can be enabled for debugging purposes using the
37 <code>--allow-nacl-socket-api=&lt;hostname&gt;</code> command line
38 flag.<br>
39 </p>
41 <table>
42 <thead>
43 <tr>
44 <th>Index</th>
45 <th>Display Name</th>
46 <th>Name</th>
47 <th>Type</th>
48 <th>State</th>
49 <th>IP Addresses</th>
50 <th>MTU</th>
51 </tr>
52 </thead>
53 <tbody>
54 </tbody>
55 </table>
57 <pre id="log" style="font-weight: bold"></pre>
58 <div id="listener"></div>
59 </body>
60 </html>