function test()
{
var i = 0;
- function selectNode()
+ function dump()
{
- InspectorTest.selectNodeWithId('circle', evaluate);
- }
- function evaluate(node)
- {
- InspectorTest.dumpInspectorHighlightShape(node, i == 0 ? scroll: InspectorTest.completeTest.bind(InspectorTest));
+ InspectorTest.dumpInspectorHighlightJSON("circle", i == 0 ? scroll : InspectorTest.completeTest.bind(InspectorTest));
}
function scroll()
{
window.scrollTo(0, 100);
++i;
- selectNode();
+ dump();
}
- selectNode();
+ dump();
}
</script>