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