Add ewk_view_fullscreen_exit to exit fullscreen mode
[framework/web/webkit-efl.git] / LayoutTests / inspector / evaluate-in-page.html
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script>
5
6 function sum(a, b)
7 {
8     return a + b;
9 }
10
11 function test()
12 {
13     function callback(result)
14     {
15         InspectorTest.addResult("2 + 2 = " + result.description);
16         InspectorTest.completeTest();
17     }
18     InspectorTest.evaluateInPage("sum(2, 2)", callback);
19 }
20
21 </script>
22 </head>
23
24 <body onload="runTest()">
25 <p>
26 This tests that layout test can evaluate scripts in the inspected page.
27 </p>
28
29 </body>
30 </html>