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

Unified Diff: third_party/WebKit/Source/devtools/front_end/audits2_worker/lighthouse/lighthouse-background.js

Issue 2861053003: DevTools: [lighthouse] Implement performance metrics filmstrip (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:
Download patch
Index: third_party/WebKit/Source/devtools/front_end/audits2_worker/lighthouse/lighthouse-background.js
diff --git a/third_party/WebKit/Source/devtools/front_end/audits2_worker/lighthouse/lighthouse-background.js b/third_party/WebKit/Source/devtools/front_end/audits2_worker/lighthouse/lighthouse-background.js
index cd5b7b99ebe255eac79c6946cf7d5d376ad1362c..060d17ce602b5b847904124df69e9d343900b996 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits2_worker/lighthouse/lighthouse-background.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits2_worker/lighthouse/lighthouse-background.js
@@ -17080,7 +17080,8 @@ function updateBadgeUI(optUrl) {
*/
function filterOutArtifacts(result) {
// strip them out, as the networkRecords artifact has circular structures
- result.artifacts = undefined;
+ var traces = result.artifacts.traces;
+ result.artifacts = {traces};
}
/**

Powered by Google App Engine
This is Rietveld 408576698