Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-native-function.html
blob70f932b91209c7c205c1cca51f990b1bd09935eb
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("Math.random", step1);
10 function step1(current, total)
12 InspectorTest.expandConsoleMessages(onExpanded);
15 function onExpanded()
17 InspectorTest.dumpConsoleMessages();
18 InspectorTest.completeTest();
21 </script>
22 </head>
23 <body onload="runTest()">
24 <p>Tests that console dumps native function without exception.</p>
25 </body>
26 </html>