Project

General

Profile

Actions

Bug #83971

closed

Console show deprecation warning in chrome

Added by Frank Nägler about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2018-02-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #84086: Notification change for chrome is Important, not BreakingClosed2018-02-28

Actions
Actions

Also available in: Atom PDF