-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Labels
Description
I'm opening this not only for reporting, but also to document what I am seeing. I will update this until I've uncovered everything.
c911970 has broken a number of tests and thus functionality:
- Browser should be Safari on Mac
- Browser should be Safari on iPad
- Browser should be Safari on iPhone
- Browser name should be Android
- There are three more broken tests right now, but they are not directly related to this, and are out of scope for the issue at hand.
Through manual testing, I've found browser.safari is returning undefined, and browser.name is returning "version" with some UAs.
The script changes in that commit, however, were only applied to the script in the test/src folder. These issues do not reproduce with the script under dist/.
I am partly to blame here, as some of the changes made were mine (see the le717-safari-version branch and #35).
TODO
- Make
browser.safariwork again - Research what UAs are breaking
browser.nameand fix that - Ensure Wrong version number on Safari #35 is still fixed
- Code review (Fix regressions in plugin #49)
Reactions are currently unavailable