Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / inspector / console-cd.html
1 <html>
2 <head>
3 <script src="console-test.js"></script>
4 <script src="inspector-test.js"></script>
5
6 <script>
7
8 function test()
9 {
10     InspectorTest.showConsolePanel();
11     InspectorTest.changeExecutionContext("myIFrame");
12     InspectorTest.evaluateInConsoleAndDump("foo", finish);
13     function finish()
14     {
15         InspectorTest.completeTest();
16     }
17 }
18
19 </script>
20 </head>
21
22 <body>
23 <p>
24 Tests that console evaluation can be performed in an iframe context.<a href="https://bugs.webkit.org/show_bug.cgi?id=19872">Bug 19872.</a>
25 </p>
26 <iframe name="myIFrame" src="http://localhost:8000/inspector/resources/console-cd-iframe.html" onload="runTest()"></iframe>
27
28 </body>
29 </html>