-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forces apps implementing CSP to remove rules #4
Comments
It looks like it happens here https://github.com/wnr/element-resize-detector/blob/64fd69d6be269015fe36860491e067190e1a5f16/src/detection-strategy/scroll.js#L60 Would we need to ask |
Yes, let me raise an issue in that repo and reference it here for tracking this. |
Was an issue ever raised with |
@gtb104 nope, I tried the alternate approach but that didn't help either and I didn't get the time to get back to it. |
@sivakumar-kailasam I'm sorry, what was the "alternate approach"? |
element-resize-detector has two strategies as shown in https://github.com/wnr/element-resize-detector/blob/64fd69d6be269015fe36860491e067190e1a5f16/benchmark/install.js#L41. I tried using the object strategy without much luck. |
Element resize detector adds the following block to the page which forces apps implementing CSP to relax their rules for styles making their app vulnerable. Is this something that can be avoided? May be add this as a vendor stylesheet?
The text was updated successfully, but these errors were encountered: