-
Notifications
You must be signed in to change notification settings - Fork 104
fix(contexts): Normalize browser and os names with missing versions #4957
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
Conversation
|
Looks like there is still some test and code that need to be modified for the CI to pass. |
| "build": "23456", | ||
| "raw_description": "Microsoft Windows 10.1.23456" | ||
| } | ||
| "###); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While not strictly related to the changes in this PR. It's weird that one of these gets parsed as Windows 11 and another with the full version number in the "os" context. Worth having a look.
Related to:
- Improve reporting of os information for Windows #4492
- OS
raw_descriptiondoes not get parsed: Windows 10 #1264
Or is it because we have a whitelist somewhere? I vaguely remember there being some code checking specific versions
| assert_eq!(None, os.build.value()); | ||
| assert_json_context!(os, @r###" | ||
| { | ||
| "os": "Nintendo OS", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
To me this looks like it's only the Prospero test cases |
84ca36c to
36dc0dd
Compare
Fixes: #4956