Title: [96719] trunk/LayoutTests
- Revision
- 96719
- Author
- [email protected]
- Date
- 2011-10-05 10:19:55 -0700 (Wed, 05 Oct 2011)
Log Message
Unreviewed. Reduce test flakyness.
There was a race between Inspector's internal page reloaded message and load event.
* inspector/timeline/timeline-load-event-expected.txt:
* inspector/timeline/timeline-load-event.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (96718 => 96719)
--- trunk/LayoutTests/ChangeLog 2011-10-05 17:05:29 UTC (rev 96718)
+++ trunk/LayoutTests/ChangeLog 2011-10-05 17:19:55 UTC (rev 96719)
@@ -1,3 +1,11 @@
+2011-10-05 Ilya Tikhonovsky <[email protected]>
+
+ Unreviewed. Reduce test flakyness.
+ There was a race between Inspector's internal page reloaded message and load event.
+
+ * inspector/timeline/timeline-load-event-expected.txt:
+ * inspector/timeline/timeline-load-event.html:
+
2011-10-05 David Hyatt <[email protected]>
https://bugs.webkit.org/show_bug.cgi?id=68731
Modified: trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt (96718 => 96719)
--- trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt 2011-10-05 17:05:29 UTC (rev 96718)
+++ trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt 2011-10-05 17:19:55 UTC (rev 96719)
@@ -1,5 +1,6 @@
Tests the load event.
+Page reloaded.
MarkLoad Properties:
{
startTime : <number>
@@ -9,5 +10,4 @@
usedHeapSize : <number>
totalHeapSize : <number>
}
-Page reloaded.
Modified: trunk/LayoutTests/inspector/timeline/timeline-load-event.html (96718 => 96719)
--- trunk/LayoutTests/inspector/timeline/timeline-load-event.html 2011-10-05 17:05:29 UTC (rev 96718)
+++ trunk/LayoutTests/inspector/timeline/timeline-load-event.html 2011-10-05 17:19:55 UTC (rev 96719)
@@ -14,14 +14,15 @@
function contentEvent()
{
- InspectorTest.printTimelineRecords("MarkLoad");
InspectorTest.stopTimeline(finish);
}
function finish()
{
- if (++finishCalled === 2)
+ if (++finishCalled === 2) {
+ InspectorTest.printTimelineRecords("MarkLoad");
InspectorTest.completeTest();
+ }
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes