Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / console / console-eval-throw-undefined.html
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>
6 function test()
7 {
8     InspectorTest.evaluateInConsole("throw undefined", step1);
9
10     function step1()
11     {
12         InspectorTest.dumpConsoleMessages();
13         InspectorTest.completeTest();
14     }
15 }
16
17 </script>
18 </head>
19 <body onload="runTest()">
20 <p>
21 Tests that evaluating 'throw undefined' in the console won't crash the browser.
22 <a href="https://bugs.webkit.org/show_bug.cgi?id=59611">Bug 59611.</a>
23 </p>
24 </body>
25 </html>