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

26 lines
654 B
HTML
Raw Normal View History

<!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.exception()
console.assert()
console.clear()
console.dirxml()
console.profile()
console.profileEnd()
console.count()
console.table()
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>