Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: LayoutTests/inspector/timeline/timeline-receive-response-event.html

Issue 361463002: Unflaky inspector/timeline/timeline-receive-response-event.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/timeline/timeline-receive-response-event.html
diff --git a/LayoutTests/inspector/timeline/timeline-receive-response-event.html b/LayoutTests/inspector/timeline/timeline-receive-response-event.html
index df8d85b792d3893042fe2b736a896588a8323685..a55c3fdf3b24f1d10f526c346f5a3a2ee8467bba 100644
--- a/LayoutTests/inspector/timeline/timeline-receive-response-event.html
+++ b/LayoutTests/inspector/timeline/timeline-receive-response-event.html
@@ -41,12 +41,12 @@ function test()
var record = presentationRecord.record();
prefix = prefix || "";
// Here and below: pretend coalesced record are just not there, as coalescation is time dependent and, hence, not stable.
- if (!presentationRecord.coalesced() && record.type() !== "GCEvent")
- InspectorTest.addResult(prefix + record.type());
- // Ignore stray paint & rendering events for better stability.
var categoryName = WebInspector.panels.timeline._uiUtils.categoryForRecord(record).name;
if (categoryName !== "loading" && categoryName !== "scripting")
return;
+ if (!presentationRecord.coalesced() && record.type() !== "GCEvent")
+ InspectorTest.addResult(prefix + record.type());
+ // Ignore stray paint & rendering events for better stability.
if (presentationRecord.presentationChildren()) {
var childPrefix = prefix + (presentationRecord.coalesced() ? "" : " ");
for (var i = 0; i < presentationRecord.presentationChildren().length; ++i)

Powered by Google App Engine
This is Rietveld 408576698