diff --git a/lighthouse-core/lib/proto-preprocessor.js b/lighthouse-core/lib/proto-preprocessor.js index 7f5142b9563d..6b7e943b4288 100644 --- a/lighthouse-core/lib/proto-preprocessor.js +++ b/lighthouse-core/lib/proto-preprocessor.js @@ -29,10 +29,10 @@ function processForProto(lhr) { // 'ignore unknown fields' in the language of conversion. if (reportJson.configSettings) { // The settings that are in both proto and LHR - const {emulatedFormFactor, locale, onlyCategories} = reportJson.configSettings; + const {emulatedFormFactor, locale, onlyCategories, channel} = reportJson.configSettings; // @ts-ignore - intentionally only a subset of settings. - reportJson.configSettings = {emulatedFormFactor, locale, onlyCategories}; + reportJson.configSettings = {emulatedFormFactor, locale, onlyCategories, channel}; } // Remove runtimeError if it is NO_ERROR diff --git a/proto/sample_v2_round_trip.json b/proto/sample_v2_round_trip.json index b26c834e355e..a75d9660551c 100644 --- a/proto/sample_v2_round_trip.json +++ b/proto/sample_v2_round_trip.json @@ -3947,6 +3947,7 @@ } }, "configSettings": { + "channel": "cli", "emulatedFormFactor": "mobile", "locale": "en-US", "onlyCategories": null