| <script src="../../http/tests/inspector/inspector-test.js"></script> |
| <script src="../../http/tests/inspector/console-test.js"></script> |
| alert({toString: function() { throw "Exception in toString()."; }}); |
| InspectorTest.reloadPage(function() { |
| InspectorTest.dumpConsoleMessages(); |
| InspectorTest.completeTest(); |
| <body onload="runTest()"> |
| Test that browser won't crash if inspector is opened for a page that fails to convert |
| alert() argument to string. The test passes if it doesn't crash. |
| <a href="https://bugs.webkit.org/show_bug.cgi?id=60541">Bug 60541</a> |