Skip to content

Commit

Permalink
rm tmp code
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Mar 5, 2024
1 parent ab4c37a commit 5dd6c4d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions core/computed/page-dependency-graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@ class PageDependencyGraph {
// Calculates the URL artifact from the processed trace and DT log.
const URL = data.URL || await DocumentUrls.request(data, context);

const lanternRequests = [];
for (const record of networkRecords) {
// if (record.sessionTargetType === 'worker') continue;

lanternRequests.push(NetworkRequest.asLanternNetworkRequest(record));
}

const lanternRequests = networkRecords.map(NetworkRequest.asLanternNetworkRequest);
return LanternPageDependencyGraph.createGraph(processedTrace, lanternRequests, URL);
}
}
Expand Down

0 comments on commit 5dd6c4d

Please sign in to comment.