| 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>{{title}}</title> | 11 <title>{{title}}</title> |
| 12 <script type="text/javascript" src="common.js"></script> | 12 <script type="text/javascript" src="common.js"></script> |
| 13 <script type="text/javascript" src="example.js"></script> | 13 <script type="text/javascript" src="example.js"></script> |
| 14 </head> | 14 </head> |
| 15 <body {{attrs}}> | 15 <body {{attrs}}> |
| 16 <h1>{{title}}</h1> | 16 <h1>{{title}}</h1> |
| 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> | 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
| 18 <p>The Get URL example demonstrates fetching an URL and then displaying its |
| 19 contents. Clicking the GetURL button will cause a geturl_success.html |
| 20 file to get loaded asynchronously, then displayed in a text box when the |
| 21 load completes.</p> |
| 18 <table border=5 cellpadding=5% summary="A title and a result log"> | 22 <table border=5 cellpadding=5% summary="A title and a result log"> |
| 19 <tr> | 23 <tr> |
| 20 <td valign=top><pre id='generalOutput' class='notrun'></pre></td> | 24 <td valign=top><pre id='generalOutput' class='notrun'></pre></td> |
| 21 </tr> | 25 </tr> |
| 22 </table> | 26 </table> |
| 23 <input id="button" type="button" value="Get URL"> | 27 <input id="button" type="button" value="Get URL"> |
| 24 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 28 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
| 25 See common.js.--> | 29 See common.js.--> |
| 26 <div id="listener"></div> | 30 <div id="listener"></div> |
| 27 </body> | 31 </body> |
| 28 </html> | 32 </html> |
| OLD | NEW |