Title: [95415] trunk/LayoutTests
Revision
95415
Author
[email protected]
Date
2011-09-19 08:15:49 -0700 (Mon, 19 Sep 2011)

Log Message

Unreviewed fix for flaky tests.

* inspector/timeline/timeline-dom-content-loaded-event-expected.txt:
* inspector/timeline/timeline-dom-content-loaded-event.html:
* inspector/timeline/timeline-load-event-expected.txt:
* inspector/timeline/timeline-load-event.html:
* platform/qt/Skipped:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (95414 => 95415)


--- trunk/LayoutTests/ChangeLog	2011-09-19 14:45:37 UTC (rev 95414)
+++ trunk/LayoutTests/ChangeLog	2011-09-19 15:15:49 UTC (rev 95415)
@@ -1,3 +1,13 @@
+2011-09-19  Ilya Tikhonovsky  <[email protected]>
+
+        Unreviewed fix for flaky tests.
+
+        * inspector/timeline/timeline-dom-content-loaded-event-expected.txt:
+        * inspector/timeline/timeline-dom-content-loaded-event.html:
+        * inspector/timeline/timeline-load-event-expected.txt:
+        * inspector/timeline/timeline-load-event.html:
+        * platform/qt/Skipped:
+
 2011-09-19  Zsolt FehĂ©r  <[email protected]>
 
         Unreviewed Qt gardening.

Modified: trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt (95414 => 95415)


--- trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt	2011-09-19 14:45:37 UTC (rev 95414)
+++ trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt	2011-09-19 15:15:49 UTC (rev 95415)
@@ -9,4 +9,5 @@
     usedHeapSize : <number>
     totalHeapSize : <number>
 }
+Page reloaded.
 

Modified: trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html (95414 => 95415)


--- trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html	2011-09-19 14:45:37 UTC (rev 95414)
+++ trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html	2011-09-19 15:15:49 UTC (rev 95415)
@@ -7,14 +7,22 @@
 function test()
 {
     WebInspector.showPanel("timeline");
+    finishCalled = 0;
 
-    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(); });
-    InspectorTest.waitForRecordType("MarkDOMContent", finish);
-    function finish()
+    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
+    InspectorTest.waitForRecordType("MarkDOMContent", contentEvent);
+
+    function contentEvent()
     {
         InspectorTest.printTimelineRecords("MarkDOMContent");
-        InspectorTest.completeTest();
+        InspectorTest.stopTimeline(finish);
     }
+
+    function finish()
+    {
+        if (++finishCalled === 2)
+            InspectorTest.completeTest();
+    }
 }
 
 </script>

Modified: trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt (95414 => 95415)


--- trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt	2011-09-19 14:45:37 UTC (rev 95414)
+++ trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt	2011-09-19 15:15:49 UTC (rev 95415)
@@ -9,4 +9,5 @@
     usedHeapSize : <number>
     totalHeapSize : <number>
 }
+Page reloaded.
 

Modified: trunk/LayoutTests/inspector/timeline/timeline-load-event.html (95414 => 95415)


--- trunk/LayoutTests/inspector/timeline/timeline-load-event.html	2011-09-19 14:45:37 UTC (rev 95414)
+++ trunk/LayoutTests/inspector/timeline/timeline-load-event.html	2011-09-19 15:15:49 UTC (rev 95415)
@@ -7,14 +7,22 @@
 function test()
 {
     WebInspector.showPanel("timeline");
+    finishCalled = 0;
 
-    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(); });
-    InspectorTest.waitForRecordType("MarkLoad", finish);
-    function finish()
+    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
+    InspectorTest.waitForRecordType("MarkLoad", contentEvent);
+
+    function contentEvent()
     {
         InspectorTest.printTimelineRecords("MarkLoad");
-        InspectorTest.completeTest();
+        InspectorTest.stopTimeline(finish);
     }
+
+    function finish()
+    {
+        if (++finishCalled === 2)
+            InspectorTest.completeTest();
+    }
 }
 
 </script>

Modified: trunk/LayoutTests/platform/qt/Skipped (95414 => 95415)


--- trunk/LayoutTests/platform/qt/Skipped	2011-09-19 14:45:37 UTC (rev 95414)
+++ trunk/LayoutTests/platform/qt/Skipped	2011-09-19 15:15:49 UTC (rev 95415)
@@ -2434,8 +2434,3 @@
 # Fails on non-Chromium bots
 # https://bugs.webkit.org/show_bug.cgi?id=68278
 http/tests/history/back-with-fragment-change.php
-
-# Tests failed after r95410
-# https://bugs.webkit.org/show_bug.cgi?id=68360
-inspector/timeline/timeline-dom-content-loaded-event.html
-inspector/timeline/timeline-load-event.html
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to