blob: dfa8e65f9ff8bb4026e38330b4bc778ee07b296d [file] [log] [blame]
<html>
<head>
<script src="../../inspector/inspector-test.js"></script>
<script src="../../inspector/console-test.js"></script>
<script>
console.log({toString:{}});
function test() {
TestRunner.reloadPage(function() {
ConsoleTestRunner.dumpConsoleMessages();
TestRunner.completeTest();
});
}
</script>
</head>
<body onload="runTest()">
<p>
Tests that passing an object which throws on string conversion into console.log won't crash
inspected Page. The test passes if it doesn't crash.
<a href="https://bugs.webkit.org/show_bug.cgi?id=57557">Bug 57557</a>
</p>
</body>
</html>