Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: remove deprecated flags check #14454

Merged
merged 1 commit into from
Oct 19, 2022
Merged

core: remove deprecated flags check #14454

merged 1 commit into from
Oct 19, 2022

Conversation

adamraine
Copy link
Member

@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
Member 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