-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Noticed while working on #90, the user agent for Edge is
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.0.0 Safari/537.36 Edg/100.0.0.0'
but platform.js is looking for "Edge".
Lines 82 to 83 in e3a8916
| // Whether the browser is Microsoft Edge | |
| edge: !!ua.match( /Edge\// ), |
Replacing with "Edg" fixes it. There are two usages of platform.edge in the project, both are platform workarounds in scenery. Maybe they probably aren't necessary anymore if the platform.edge checks haven't been working.
@jonathanolson do you have a recommendation for how to proceed?
Metadata
Metadata
Assignees
Labels
No labels