gecko/toolkit/components/console/hudservice/tests/browser/test-console.html
David Dahl be0ed04ab5 Bug 587734: enable the lazy console API added in bug 568629, and hook it up to the Web Console, r=gavin, a=blocking
--HG--
extra : rebase_source : 6006c9be7e1a91748d09397b0ea08a94c0f3968e
2010-11-16 16:34:53 -05:00

23 lines
650 B
HTML

<!DOCTYPE HTML>
<html dir="ltr" xml:lang="en-US" lang="en-US"><head>
<title>Console test</title>
<script type="text/javascript">
function test() {
var str = "Dolske Digs Bacon, Now and Forevermore."
for (var i=0; i < 5; i++) {
console.log(str);
}
}
console.info("INLINE SCRIPT:");
test();
console.warn("I'm warning you, he will eat up all yr bacon.");
console.error("Error Message");
</script>
</head>
<body>
<h1 id="header">Heads Up Display Demo</h1>
<button onclick="test();">Log stuff about Dolske</button>
<div id="myDiv"></div>
</body>
</html>