Skip to content

Don't fail for undefined navigator - #612

Open
Ronald Kroon (ronaldkroon) wants to merge 1 commit into
microsoft:masterfrom
ronaldkroon:prevent-exception-for-undefined-navigator
Open

Don't fail for undefined navigator#612
Ronald Kroon (ronaldkroon) wants to merge 1 commit into
microsoft:masterfrom
ronaldkroon:prevent-exception-for-undefined-navigator

Conversation

@ronaldkroon

Copy link
Copy Markdown

The constructor of WebApi should not throw an exception trying to read window.navigator.userAgent when window.navigator is undefined.

The constructor of `WebApi` should not throw an exception trying to read `window.navigator.userAgent` when `window.navigator` is `undefined`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants