Skip to content

Should remove allow-downloads-without-user-activation for iframes #27587

Closed
matrix-org/matrix-react-sdk
#12633
@MarcWadai

Description

@MarcWadai

Steps to reproduce

  1. Where are you starting? What can you see?
    An error from a user appearedon the console while downloading a file

image

linked to this issue tchapgouv/tchap-web-v4#1029

  1. What do you click?
    Download a file

  2. More steps…

Outcome

What did you expect?

No error to appear on the console

What happened instead?

The error above appeared. On element code, the directive allow-downloads-without-user-activation on the iframe seems to be used next to allow-downloads. According to the documentation mdn/content#33409, it seems that this directive has been removed and shouldn't be used.

Operating system

Mac OS

Browser information

Chrome 126

URL for webapp

No response

Application version

1.11.67

Homeserver

No response

Will you send logs?

Yes

Metadata

Metadata

Assignees

Labels

A-File-DownloadO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions