summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/inspector/console/console-eval-throw-undefined.html
blob: 5360e3b315d53e1f32a8a69b1e097e074a9a198f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<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("throw undefined", step1);

    function step1()
    {
        InspectorTest.dumpConsoleMessages();
        InspectorTest.completeTest();
    }
}

</script>
</head>
<body onload="runTest()">
<p>
Tests that evaluating 'throw undefined' in the console won't crash the browser.
<a href="https://bugs.webkit.org/show_bug.cgi?id=59611">Bug 59611.</a>
</p>
</body>
</html>