Index: LayoutTests/inspector/tracing/timeline-receive-response-event.html |
diff --git a/LayoutTests/inspector/tracing/timeline-receive-response-event.html b/LayoutTests/inspector/tracing/timeline-receive-response-event.html |
index e824b27e03bebda21abf30891ae462f313d1ca37..746fee1cae523c3f88389c601abb00d9dc48c99c 100644 |
--- a/LayoutTests/inspector/tracing/timeline-receive-response-event.html |
+++ b/LayoutTests/inspector/tracing/timeline-receive-response-event.html |
@@ -26,6 +26,7 @@ function test() |
function finish() |
{ |
+ var typesToDump = new Set(["ResourceSendRequest", "ResourceReceiveResponse", "ResourceReceivedData", "ResourceFinish", "EventDispatch", "FunctionCall"]); |
yurys
2015/09/21 18:49:32
Can we reference constants from TimelineModel.js i
|
function dumpFormattedRecord(presentationRecord, prefix) |
{ |
var record = presentationRecord.record(); |
@@ -37,8 +38,7 @@ function test() |
var childPrefix = prefix; |
// Here and below: pretend coalesced record are just not there, as coalescation is time dependent and, hence, not stable. |
// Filter out InjectedScript function call because they happen out of sync. |
- if (!presentationRecord.coalesced() |
- && record.type() !== "GCEvent" |
+ if (!presentationRecord.coalesced() && typesToDump.has(record.type()) |
&& (record.type() !== "FunctionCall" || record.traceEvent().args["data"].scriptName)) { |
InspectorTest.addResult(prefix + record.type()); |
childPrefix = childPrefix + " "; |