Remove TestXSSTitleBlock, update block XSS tests

Created on 26 February 2025, about 1 month ago

Problem/Motivation

TestXSSTitleBlock is used for old XSS tests. It only achieves the desired goal by not making the admin_label a translatable markup, something that is not possible with Attribute tests as that has a type and must be a TranslatableMarkup object.

There are also some related leftover category tests that test for a string that doens't exist anymore in core.

Steps to reproduce

Proposed resolution

Changes the test to instead test with a user-provided label for a regular block and removes the category test coverage.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

block.module

Created by

πŸ‡¨πŸ‡­Switzerland berdir Switzerland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024