zalmoxisus/redux-devtools-extension

Chrome is deprecating navigator.userAgent

erikras opened this issue · 1 comments

Chrome 92.0.4515.107 (Official Build) beta (x86_64) is saying:

A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. In a future version of Chrome, the amount of information available in the User Agent string will be reduced.

To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

Note that for performance reasons, only the first access to one of the properties is shown.

It seems to be coming from redux-devtools-extension/src/browser/extension/chromeAPIMock.js:3-6.

Article linked to: User-Agent String Reduction

devtools

There's a lot of my JS libraries that have this warning. What are we suppose to do? is this urgent?