blob: eaffdab3e5cab35dc6487a0c3839034a38860958 [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<title>{{title}}</title>
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="example.js"></script>
</head>
<body {{attrs}}>
<h1>{{title}}</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
<p>The URL Loader example demonstrates fetching an URL and then displaying its
contents. Clicking the Get URL button will cause a url_loader_success.html
file to get loaded asynchronously, then displayed in a text box when the
load completes.</p>
<table border=5 cellpadding=5% summary="A title and a result log">
<tr>
<td valign=top><pre id='output'></pre></td>
</tr>
</table>
<input id="button" type="button" value="Get URL">
<!-- The NaCl plugin will be embedded inside the element with id "listener".
See common.js.-->
<div id="listener"></div>
</body>
</html>