Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / highlight-css-shapes-outside-scroll.html
index 929c7a5..ea59ea4 100644 (file)
 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>