Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-api-on-call-frame.html
blob0b03206fd6b0d833758e8896470c0d4e5a04aea5
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 src="../../http/tests/inspector/debugger-test.js"></script>
6 <script>
8 window.inspect = "inspect";
9 var clear = "clear";
11 function testFunction()
13 var dir = "dir";
14 debugger;
17 var test = function()
19 InspectorTest.startDebuggerTest(step1);
21 function step1()
23 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
26 function step2()
28 InspectorTest.evaluateInConsole("dir + clear + inspect", step3);
31 function step3(result)
33 InspectorTest.addResult("Evaluated in console in the top frame context: dir + clear + inspect = " + result);
34 InspectorTest.evaluateInConsole("typeof $$", step4);
37 function step4(result)
39 InspectorTest.addResult("Evaluated in console in the top frame context: typeof $$ = " + result);
40 InspectorTest.completeDebuggerTest();
44 </script>
45 </head>
47 <body onload="runTest()">
48 <p>
49 Test that command line api does not mask values of scope variables while evaluating
50 on a call frame.
51 </p>
53 </body>
54 </html>