Skip to content

Also detect ChromeOS as Linux - #248134

Closed
Anthony Stewart (a-stewart) wants to merge 1 commit into
microsoft:mainfrom
a-stewart:chromeos-in-platform
Closed

Anthony Stewart (a-stewart) wants to merge 1 commit into
microsoft:mainfrom
a-stewart:chromeos-in-platform

Conversation

@a-stewart

Copy link
Copy Markdown
Contributor

This also fixes #247766

Currently we detect Linux by searching the user agent string for Linux, but this does not match ChromeOS. This adds a secondary check for CrOS.

@a-stewart

Copy link
Copy Markdown
Contributor Author

Henning Dieterichs (@hediet) fyi

@bpasero

Copy link
Copy Markdown
Contributor

How do we know that this doesn't introduce a ton of bugs because we now treat it as Linux?

@bpasero Benjamin Pasero (bpasero) added the info-needed Issue requires more information from poster label May 6, 2025
@vs-code-engineering

Copy link
Copy Markdown
Contributor

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@a-stewart

Copy link
Copy Markdown
Contributor Author

How do we know that this doesn't introduce a ton of bugs because we now treat it as Linux?

Sorry for the delay - we are running this change on our fork and don't have any issues reported yet.

We'll run this for a bit and if there continues to be no reported issues I'll raise the PR again

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

Labels

info-needed Issue requires more information from poster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should ChromeOS be considered Linux (for fonts at least)?

4 participants