Skip to content

Conversation

@adamraine
Copy link
Contributor

@adamraine adamraine requested a review from a team as a code owner October 19, 2022 00:00
@adamraine adamraine requested review from connorjclark and removed request for a team October 19, 2022 00:00

// @ts-expect-error Checking for removed flags
if (flags.emulatedFormFactor || flags.internalDisableDeviceScreenEmulation) {
throw new Error('Invalid emulation flag. Emulation configuration changed in LH 7.0. See https://github.com/GoogleChrome/lighthouse/blob/main/docs/emulation.md');
Copy link
Collaborator

Choose a reason for hiding this comment

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

@paulirish should we keep?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

FWIW there isn't an equivalent check in FR

@adamraine adamraine added the 10.0 label Oct 19, 2022
@adamraine adamraine merged commit 7149536 into main Oct 19, 2022
@adamraine adamraine deleted the rm-deprecated-flags branch October 19, 2022 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Removed old devtools emulation flag compat

3 participants