Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-eval-global.html
blob94fe2deed928c64a4fb802d757f9cab77308748b
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>
7 var foo = 'fooValue';
8 var bar = {
9 a: 'b'
12 function test()
14 InspectorTest.evaluateInConsole("foo", step1);
16 function step1()
18 InspectorTest.evaluateInConsole("bar", step2);
21 function step2()
23 InspectorTest.dumpConsoleMessages();
24 InspectorTest.completeTest();
28 </script>
29 </head>
31 <body onload="runTest()">
32 <p>
33 Tests that simple evaluations may be performed in the console on global object.
34 </p>
36 </body>
37 </html>