blob: fd970cb324ccdac759183b715293e7c2b3bfa406 [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("foo().", step1);
function step1()
{
InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames();
InspectorTest.completeTest();
}
}
</script>
</head>
<body onload="runTest()">
<p>
Tests that evaluating an expression with a syntax error in the console won't crash the browser.
<a href="https://bugs.webkit.org/show_bug.cgi?id=61194">Bug 61194.</a>
</p>
</body>
</html>