blob: f6556c8d5769ff25fc30f4f204aaa644410bff52 [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script>console.log(239);</script>
<script>
function test()
{
InspectorTest.dumpConsoleMessages(undefined, undefined, simpleFormatter);
InspectorTest.completeTest();
function simpleFormatter(element, message)
{
return message.messageText + ":" + message.line + ":" + message.column;
}
}
</script>
</head>
<body onload="runTest()">
<p>
Tests that console message from inline script in xhtml document contains correct script position information.
</p>
</body>
</html>