3 <script src=
"../http/tests/inspector/inspector-test.js"></script>
13 function callback(result
)
15 InspectorTest
.addResult("2 + 2 = " + result
.description
);
16 InspectorTest
.completeTest();
18 InspectorTest
.evaluateInPage("sum(2, 2)", callback
);
24 <body onload=
"runTest()">
26 This tests that layout test can evaluate scripts in the inspected page.