Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / styles / styles-commit-editing.html
index 7fbce55..a25909c 100644 (file)
@@ -6,7 +6,6 @@
 
 function test()
 {
-    WebInspector.inspectorView.showPanel("elements");
 
     var treeElement;
     var treeOutline;
@@ -30,7 +29,7 @@ function test()
 
             // Update incrementally, do not commit.
             treeElement.valueElement.textContent = "rgb(/*";
-            InspectorTest.addSniffer(WebInspector.StylePropertyTreeElement.prototype, "styleTextAppliedForTest", next);
+            InspectorTest.waitForStyleApplied(next);
             treeElement.kickFreeFlowStyleEditForTest();
         },
 
@@ -65,8 +64,7 @@ function test()
                 return;
             }
 
-            InspectorTest.selectNodeWithId("other");
-            InspectorTest.runAfterPendingDispatches(next);
+            InspectorTest.selectNodeWithId("other", next);
         },
 
         function testNodeStyles(next)