This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Description Bug
Demo and steps to reproduce the issue
This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.
Demo URL (required) *: https://github.com/angular/material/pull/11390/files#diff-b71bb3e10759daf665e48e9bc558dc99R1324
Detailed Reproduction Steps
Update a project using CSP to the latest HEAD:
Load the project in a browser
Explain the expected behavior
Explain the current behavior
New CSP violations due to unsafe-inline for style-src.
Discuss the use-case or motivation for changing the existing behavior
Support existing apps using a CSP for security.
List the affected versions of AngularJS, Material, OS, and browsers
AngularJS: 1..8.0
AngularJS Material: v1.1.22-master-08313be
OS: all
Browsers: Chrome
Add anything else we should know
This was introduced in PR #11390 .
Related Chrome bug that can make the error a bit hard to understand:
https://bugs.chromium.org/p/chromium/issues/detail?id=546106
Reactions are currently unavailable
Bug
Demo and steps to reproduce the issue
This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.
Demo URL (required)*: https://github.com/angular/material/pull/11390/files#diff-b71bb3e10759daf665e48e9bc558dc99R1324
Detailed Reproduction Steps
HEAD:Or install via NPM with
npm install http://github.com/angular/bower-material#masterExplain the expected behavior
Explain the current behavior
unsafe-inlineforstyle-src.Discuss the use-case or motivation for changing the existing behavior
Support existing apps using a CSP for security.
List the affected versions of AngularJS, Material, OS, and browsers
Add anything else we should know
This was introduced in PR #11390.
Related Chrome bug that can make the error a bit hard to understand:
https://bugs.chromium.org/p/chromium/issues/detail?id=546106