Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: timelapse
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (25 sloc) 0.499 kb
<html>
<head>
<script src="../http/tests/inspector/inspector-test.js"></script>
<script>
function sum(a, b)
{
return a + b;
}
function test()
{
function callback(result)
{
InspectorTest.addResult("2 + 2 = " + result.description);
InspectorTest.completeTest();
}
InspectorTest.evaluateInPage("sum(2, 2)", callback);
}
</script>
</head>
<body onload="runTest()">
<p>
This tests that layout test can evaluate scripts in the inspected page.
</p>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.