Skip to content

Detecting rusdoc theme change fails with CSP #1387

Closed
@Nemo157

Description

@Nemo157

As mentioned in #1386 there is a CSP error from storage-change-detection.html having an inline script. This results in the header/footer not instantly updating when the theme in rustdoc changes, instead it updates after a page reload.

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”). storage-change-detection.html:11:1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions