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

Add Haiku to OS detection logic. #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

waddlesplash
Copy link

It must go before Linux because otherwise the "X11" check will misdetect Linux here.

Right now, Haiku's native WebKit is detected as Safari since that's what the user-agent most specifically contains. It would probably make more sense to list the AppleWebKit version (the WebPositive/ version has not changed in years.) But at least we get the OS correct now.

It must go before Linux because otherwise the "X11" check will
misdetect Linux here.

Right now, Haiku's native WebKit is detected as Safari since
that's what the user-agent most specifically contains. It
would probably make more sense to list the AppleWebKit version
(the WebPositive/ version has not changed in years.) But at least
we get the OS correct now.
@waddlesplash
Copy link
Author

The two added user-agent strings are real user-agents from WebPositive (HaikuWebKit) and Falkon (QtWebEngine) running on a recent Haiku x86_64 install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant