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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js

Issue 2900613002: Support DevTools for off-main-thread-fetch (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
index bcdfdf2c5d8a11014343b7aeb8648e527ff462c7..39b04e442de288655411b1cab0f96364bd0ddc43 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
@@ -1008,7 +1008,7 @@ TimelineModel.TimelineModel = class {
var types = TimelineModel.TimelineModel.RecordType;
var resourceTypes = new Set(
[types.ResourceSendRequest, types.ResourceReceiveResponse, types.ResourceReceivedData, types.ResourceFinish]);
- var events = this.mainThreadEvents();
+ var events = this.inspectedTargetEvents();
for (var i = 0; i < events.length; ++i) {
var e = events[i];
if (!resourceTypes.has(e.name))

Powered by Google App Engine
This is Rietveld 408576698