Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / styles / commit-selector-mark-matching.html
index c38393e..de7d592 100644 (file)
@@ -6,7 +6,6 @@
 
 function test()
 {
-    WebInspector.inspectorView.showPanel("elements");
     var nodeId;
     var stylesPane;
 
@@ -39,8 +38,8 @@ function test()
             section.startEditingSelector();
             var selectorElement = section._selectorElement;
             selectorElement.textContent = "#inspected, a, hr";
+            InspectorTest.waitForSelectorCommitted(callback);
             selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
-            InspectorTest.runAfterPendingDispatches(callback);
 
             function callback()
             {