InspectorTest.enableCanvasAgent(step1);
function step1()
{
- InspectorTest.evaluateInConsole("createCanvasContext()", step2);
+ InspectorTest.evaluateInPage("createCanvasContext()", step2);
}
function step2()
{
InspectorTest.assertTrue(!error && !!id, "Unexpected error: " + error);
InspectorTest.addResult("\nStarted capturing.");
traceLogId = id;
- InspectorTest.evaluateInConsole("doCanvasCalls()", didCanvasCalls);
+ InspectorTest.evaluateInPage("doCanvasCalls()", didCanvasCalls);
}
function didCanvasCalls()
{