blob: 36a757d2c941e58d49af5d45be7ef2b358a8a398 [file] [log] [blame]
<html>
<head>
<script src="inspector-test.js"></script>
<script>
function doit()
{
function callback(result)
{
output("2 + 2 = " + result);
notifyDone();
}
evaluateInWebInspector("frontend_sum(2, 2)", callback);
}
// Frontend functions.
function frontend_sum(a, b)
{
return a + b;
}
</script>
</head>
<body onload="onload()">
<p>
This tests that layout test can evaluate scripts in the web inspector context.
</p>
</body>
</html>