Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-eval-syntax-error.html
blobfd970cb324ccdac759183b715293e7c2b3bfa406
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()
8 InspectorTest.evaluateInConsole("foo().", step1);
10 function step1()
12 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames();
13 InspectorTest.completeTest();
17 </script>
18 </head>
19 <body onload="runTest()">
20 <p>
21 Tests that evaluating an expression with a syntax error in the console won't crash the browser.
22 <a href="https://bugs.webkit.org/show_bug.cgi?id=61194">Bug 61194.</a>
23 </p>
24 </body>
25 </html>