2011-04-14 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Apr 2011 15:15:12 +0000 (15:15 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Apr 2011 15:15:12 +0000 (15:15 +0000)
        Unreviewed test fix for r83849.

        It was flaky.

        * http/tests/inspector-enabled/database-open.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83857 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/inspector-enabled/database-open.html

index d55d9d0bc6f9bda193cf5733b2d6e8eb12750dee..0261aa83e22fce8f990f094450e9d2bd5dea678c 100644 (file)
@@ -1,3 +1,11 @@
+2011-04-14  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Unreviewed test fix for r83849.
+
+        It was flaky.
+
+        * http/tests/inspector-enabled/database-open.html:
+
 2011-04-14  Adam Roben  <aroben@apple.com>
 
         Add new Windows expected results after r83820
index 60668af22e3a9129afe357c9cbc0a0a272e4d9fc..83ce386fc48f5cbba9bd293aff0fee60e33ea390 100644 (file)
@@ -18,13 +18,17 @@ function onload()
 
 function test()
 {
-    var databases = WebInspector.panels.resources._databases;
-    for (var i = 0; i < databases.length; ++i) {
-        InspectorTest.addResult("Name: " + databases[i].name);
-        InspectorTest.addResult("Version: " + databases[i].version);
-        InspectorTest.addResult("Domain: " + databases[i].domain);
+    function run()
+    {
+        var databases = WebInspector.panels.resources._databases;
+        for (var i = 0; i < databases.length; ++i) {
+            InspectorTest.addResult("Name: " + databases[i].name);
+            InspectorTest.addResult("Version: " + databases[i].version);
+            InspectorTest.addResult("Domain: " + databases[i].domain);
+        }
+        InspectorTest.completeTest();
     }
-    InspectorTest.completeTest();
+    InspectorBackend.runAfterPendingDispatches(run);
 }
 
 </script>