Fix isSafari to check if window exists before trying to get window.navigator.userAgent (#6185)
Fix isSafari to check if window exists before trying to get window.navigator.userAgent (#6185)


grommet/grommet,grommet/grommet,grommet/grommet