blob: 58e003b3c2017504871fc380c8aff565d5c105a2 [file] [log] [blame]
<!--
* weinre is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2010, 2011 IBM Corporation
-->
<html>
<head>
<meta name="viewport" content="user-scalable=no, width=device-width, height=device-height">
<title>weinre demo</title>
<link rel="stylesheet" href="weinre-demo.css">
<script>try {window.WeinreServerId = location.hash.split("#")[1]} catch(e) {window.WeinreServerId = "anonymous"}</script>
<script src="/target/target-script.js"></script>
<script src="weinre-demo.js"></script>
</head>
<body onload="onLoad()">
<input id="button-start-stuff" type="button" value="start stuff">
<h1>this is a green h1</h1>
<h1 class="blue">this is a blue h1</h1>
<h1 style="color:red">this is a red h1</h1>
<p>Some text, <i>some italic text</i>, and <b>some bold text</b>.
<hr>
<p>test exceptions in callbacks:
<div style="margin-left:1em">
<input id="button-error-DOM-event" type="button" value="DOM addEventHandler">
<br><input id="button-error-window-event" type="button" value="window addEventHandler">
<br><input id="button-error-XHR-event" type="button" value="XHR addEventHandler">
<br><input id="button-error-setTimeout" type="button" value="setTimeout()">
<br><input id="button-error-setInterval" type="button" value="setInterval()">
</div>
<hr>
<p><input id="button-clear-output" type="button" value="clear output">
<div id="output"></div>
</body>
</html>