Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-log-toString-object.html
blob9986894c7bd103e88fdbb5d14644f999c23ca98e
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
7 console.log({toString:{}});
9 function test()
11 InspectorTest.reloadPage(function() {
12 InspectorTest.dumpConsoleMessages();
13 InspectorTest.completeTest();
14 });
16 </script>
17 </head>
18 <body onload="runTest()">
19 <p>
20 Tests that passing an object which throws on string conversion into console.log won't crash
21 inspected Page. The test passes if it doesn't crash.
22 <a href="https://bugs.webkit.org/show_bug.cgi?id=57557">Bug 57557</a>
23 </p>
24 </body>
25 </html>