Sanyam Jain
Sanyam Jain

Reputation: 3025

Adding 'unsafe-eval' to existing chrome extension

I have an existing chrome extension in Chrome store which is being used by many people. Now I added alasql which uses eval function because of which I had to enable unsafe-eval in content_security_policy. I wanted to know will this affect existing users somehow ?

Last time I added geolocation permission in permissions and it disabled the extension for existing users. Users had to manually enable it.

Upvotes: 1

Views: 518

Answers (1)

Xan
Xan

Reputation: 77531

unsafe-eval does not result in user-visible warnings; as such, there will be no automated disabling of the extension upon update.

However, this is a big red flag for update review. It greatly increases likelihood that the new version will trigger manual review for your extension.

Upvotes: 1

Related Questions