Issue Bug Closed

#83971Console show deprecation warning in chrome

Frank Nägler 02/20/18, 10:40 updated 10/02/18, 10:52

Description

[Deprecation] The Notification API may no longer be used from insecure origins. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

The LoginRefresh.js contains this code:

if (typeof Notification !== 'undefined' && Notification.permission !== 'granted') {
      Notification.requestPermission();
}

this code should only be executed on SSL protected sides to prevent the deprecation warning

Reviews 3