Title: [122437] trunk/LayoutTests
Revision
122437
Author
[email protected]
Date
2012-07-12 03:04:31 -0700 (Thu, 12 Jul 2012)

Log Message

Layout Test inspector/timeline/timeline-dom-content-loaded-event.html is failing
https://bugs.webkit.org/show_bug.cgi?id=90984

Reviewed by Vsevolod Vlasov.

- remove test flakiness by only outputting result when page completed reload;

* inspector/timeline/timeline-dom-content-loaded-event-expected.txt:
* inspector/timeline/timeline-dom-content-loaded-event.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (122436 => 122437)


--- trunk/LayoutTests/ChangeLog	2012-07-12 10:02:54 UTC (rev 122436)
+++ trunk/LayoutTests/ChangeLog	2012-07-12 10:04:31 UTC (rev 122437)
@@ -1,3 +1,15 @@
+2012-07-11  Andrey Kosyakov  <[email protected]>
+
+        Layout Test inspector/timeline/timeline-dom-content-loaded-event.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=90984
+
+        Reviewed by Vsevolod Vlasov.
+
+        - remove test flakiness by only outputting result when page completed reload;
+
+        * inspector/timeline/timeline-dom-content-loaded-event-expected.txt:
+        * inspector/timeline/timeline-dom-content-loaded-event.html:
+
 2012-07-12  Vsevolod Vlasov  <[email protected]>
 
         REGRESSION(r122327): It made http/tests/inspector/network/network-request-revision-content.html fail on Lion, Qt

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


--- trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt	2012-07-12 10:02:54 UTC (rev 122436)
+++ trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt	2012-07-12 10:04:31 UTC (rev 122437)
@@ -1,5 +1,6 @@
 Tests the DOM content loaded event.
 
+Page reloaded.
 MarkDOMContent Properties:
 {
     startTime : <number>
@@ -11,5 +12,4 @@
     totalHeapSize : <number>
     counters : <object>
 }
-Page reloaded.
 

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


--- trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html	2012-07-12 10:02:54 UTC (rev 122436)
+++ trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html	2012-07-12 10:04:31 UTC (rev 122437)
@@ -14,14 +14,15 @@
 
     function contentEvent()
     {
-        InspectorTest.printTimelineRecords("MarkDOMContent");
         InspectorTest.stopTimeline(finish);
     }
 
     function finish()
     {
-        if (++finishCalled === 2)
-            InspectorTest.completeTest();
+        if (++finishCalled < 2)
+            return;
+        InspectorTest.printTimelineRecords("MarkDOMContent");
+        InspectorTest.completeTest();
     }
 }
 

Modified: trunk/LayoutTests/platform/chromium/TestExpectations (122436 => 122437)


--- trunk/LayoutTests/platform/chromium/TestExpectations	2012-07-12 10:02:54 UTC (rev 122436)
+++ trunk/LayoutTests/platform/chromium/TestExpectations	2012-07-12 10:04:31 UTC (rev 122437)
@@ -3744,9 +3744,5 @@
 BUGWK90980 LINUX MAC DEBUG : fast/forms/textarea/textarea-state-restore.html = PASS TIMEOUT
 BUGWK90980 WIN : fast/forms/textarea/textarea-state-restore.html = PASS TIMEOUT
 
-// Started failing after r122312
-BUGWK91041 LINUX WIN : inspector/timeline/timeline-dom-content-loaded-event.html = TEXT
-BUGWK91041 MAC : inspector/timeline/timeline-dom-content-loaded-event.html = TIMEOUT
-
 // Started crashing after r122359
 BUGWK91047 DEBUG : html5lib/runner.html = CRASH
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to