Skip to content

Conversation

@connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Nov 10, 2022

Fixes #14498

report:

image

flow:
image

@connorjclark connorjclark requested a review from a team as a code owner November 10, 2022 00:25
@connorjclark connorjclark requested review from brendankenny and removed request for a team November 10, 2022 00:25
const screenEmulation = settings.screenEmulation.disabled ?
undefined :
// eslint-disable-next-line max-len
`${settings.screenEmulation.width}x${settings.screenEmulation.height}, DPR ${settings.screenEmulation.deviceScaleFactor}`;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Continuing our tradition of not properly localizing these strings.

`${Util.i18n.strings.runtimeSettingsBenchmark}: ${benchmarkIndex}` +
`\n${Util.i18n.strings.runtimeSettingsCPUThrottling}: ${envValues.cpuThrottling}` +
(axeVersion ? `\n${Util.i18n.strings.runtimeSettingsAxeVersion}: ${axeVersion}` : '')],
devicesTooltipTextLines.join('\n')],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor refactor for readability.

summary = cpuThrottling = networkThrottling = Util.i18n.strings.runtimeUnknown;
}

// TODO(paulirish): revise Runtime Settings strings: https://github.com/GoogleChrome/lighthouse/pull/11796
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dead task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include emulated screen dimensions and deviceScaleFactor in report meta block

4 participants