function test()
{
- WebInspector.inspectorView.showPanel("elements");
InspectorTest.nodeWithId("inspected", step1);
var backendCallCount = 0;
var nodeId;
- setTimeout(InspectorTest.completeTest.bind(InspectorTest), 3000);
- function onBackendCall(domain, method)
+ function onBackendCall(domain, method, params)
{
- if (method === "CSS.getComputedStyleForNode")
+ if (method === "CSS.getComputedStyleForNode" && params.nodeId === nodeId)
++backendCallCount;
}