Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / styles / edit-name-with-trimmed-value.html
index 0d94822..57c3e7e 100644 (file)
@@ -6,7 +6,6 @@
 
 function test()
 {
-    WebInspector.inspectorView.showPanel("elements");
     InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
 
     function step1()
@@ -18,7 +17,7 @@ function test()
         treeElement.startEditing(treeElement.nameElement);
         treeElement.nameElement.textContent = "background-image";
         treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
-        InspectorTest.addSniffer(WebInspector.StylePropertyTreeElement.prototype, "styleTextAppliedForTest", step2);
+        InspectorTest.waitForStyleApplied(step2);
     }
 
     function step2()