-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Replace usages of Object.keys()
#2054
base: main
Are you sure you want to change the base?
Conversation
Avoids `Object.keys()`, not available in Firefox 3.6 and earlier.
[ | ||
{ | ||
"name": "NordPass", | ||
"message": "NordPass performs polyfill-like transformations on navigator.credentials, affecting tests for the CredentialsContainer API.", | ||
"affectedTests": ["api.CredentialsContainer"], | ||
"chromeId": "eiaeiblijfjekdanodkjadfinkhbfgcd", | ||
"firefoxId": "0ff38d7a-db91-4a1a-a222-00f10d098b22", | ||
"safariId": "9F9F9D62-DE32-4B4F-88FD-63D448DACFDC" | ||
} | ||
} | ||
] |
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.
We need to retain keys in this file because the keys are reported in the test results. Can we revert this and use for key in dict
logic instead?
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.
Formal change request, see above.
Fixes #2053.
browser-extension.json
to array of objects.Object.keys()
usage with afor..in
loop.Before
After