blob: e61a5a5b01db9c8842b70dab65d3826b81fdf495 [file] [log] [blame]
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script>
function test()
{
InspectorTest.evaluateInConsole("Math.random", step1);
function step1()
{
InspectorTest.evaluateInConsole("document.appendChild", step2);
}
function step2()
{
InspectorTest.expandConsoleMessages(onExpanded);
}
function onExpanded()
{
InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();
}
}
</script>
</head>
<body onload="runTest()">
<p>Tests that console dumps native function without exception.</p>
</body>
</html>