gecko/browser/devtools/webconsole/test/test-console-extras.html

20 lines
498 B
HTML

<!DOCTYPE HTML>
<html dir="ltr" xml:lang="en-US" lang="en-US"><head>
<meta charset="utf-8">
<title>Console extended API test</title>
<script type="text/javascript">
function test() {
console.log("start");
console.clear()
console.dirxml()
console.log("end");
}
</script>
</head>
<body>
<h1 id="header">Heads Up Display Demo</h1>
<button onclick="test();">Test Extended API</button>
<div id="myDiv"></div>
</body>
</html>