OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- | 3 <!-- |
4 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 6 found in the LICENSE file. |
7 --> | 7 --> |
8 <head> | 8 <head> |
9 <meta http-equiv="Pragma" content="no-cache" /> | 9 <meta http-equiv="Pragma" content="no-cache" /> |
10 <meta http-equiv="Expires" content="-1" /> | 10 <meta http-equiv="Expires" content="-1" /> |
11 <title>Logging and Stack Trace</title> | 11 <title>Logging and Stack Trace</title> |
12 <script type="text/javascript"> | 12 <script type="text/javascript"> |
13 statusText = 'NO-STATUS'; | 13 statusText = 'NO-STATUS'; |
| 14 |
| 15 |
14 tick = ''; | 16 tick = ''; |
15 boomTime = null; | 17 boomTime = null; |
16 crashed = false; | 18 crashed = false; |
17 // Handle a message coming from the NaCl module. | 19 // Handle a message coming from the NaCl module. |
18 function handleMessage(message_event) { | 20 function handleMessage(message_event) { |
19 msg_type = message_event.data.substring(0,4) | 21 msg_type = message_event.data.substring(0,4) |
20 msg_data = message_event.data.substring(5, message_event.data.length) | 22 msg_data = message_event.data.substring(5, message_event.data.length) |
21 if (msg_type == 'POP:') { | 23 if (msg_type == 'POP:') { |
22 alert(message_event.data); | 24 alert(message_event.data); |
23 return | 25 return |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 <h2>Status: <code id="statusField">NO-STATUS</code></h2> | 145 <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
144 <form name="Logging"> | 146 <form name="Logging"> |
145 <h2>Log</h2> | 147 <h2>Log</h2> |
146 <textarea rows="10" cols="130" name="log" readonly="readonly"></textarea> | 148 <textarea rows="10" cols="130" name="log" readonly="readonly"></textarea> |
147 <br /> | 149 <br /> |
148 <h2>Stack Trace</h2> | 150 <h2>Stack Trace</h2> |
149 <textarea rows="10" cols="130" name="trace" readonly="readonly"></textarea> | 151 <textarea rows="10" cols="130" name="trace" readonly="readonly"></textarea> |
150 </form> | 152 </form> |
151 </body> | 153 </body> |
152 </html> | 154 </html> |
OLD | NEW |