Project

General

Profile

Actions

Task #96002

closed

Epic #87417: Integrate proper Content Security Policy (CSP) handling

Task #87418: Refactor and remove usage of inline scripts in backend

Avoid inline JavaScript in backend update signals

Added by Oliver Hader over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
-
Start date:
2021-11-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

$this->pageRenderer->addJsFooterInlineCode('updateSignals', BackendUtility::getUpdateSignalCode());
top.document.dispatchEvent(new CustomEvent("typo3:pagetree:refresh"));

Currently failing CSP tests:

  • ext:impexp, import anything, will reload page tree
  • modify title of any page using FormEngine

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #96003: Avoid inline JavaScript in DispatchNotificationHookClosedOliver Hader2021-11-16

Actions
Related to TYPO3 Core - Task #96012: Avoid inline JavaScript in OpendocsToolbarItem::updateNumberOfOpenDocsHookClosed2021-11-17

Actions
Related to TYPO3 Core - Task #96136: Deprecate inline JavaScript in backend update signalsClosed2021-11-29

Actions
Actions

Also available in: Atom PDF