blob: fcd304dec191167ea2a914094f732ac07b7ea874 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function runTests()
{
if (window.layoutTestController)
layoutTestController.dumpAsText();
console.log("console.log() called.");
console.info("console.info() called.");
console.warn("console.warn() called.");
console.error("console.error() called.");
}
</script>
</head>
<body onload="runTests();">
<p>Tests window.console functions. To make sure this test passed you must check the console for the following 4 messages:</p>
<ul>
<li>console.log() called.</li>
<li>console.info() called.</li>
<li>console.warn() called.</li>
<li>console.error() called.</li>
</ul>
</body>
</html>