mirror of
https://github.com/bitwarden/browser
synced 2024-12-24 00:54:30 +01:00
dont remove CSP on browser dist (#4651)
This commit is contained in:
parent
6df37dd715
commit
28746ed4a6
@ -59,7 +59,6 @@ function dist(browserName, manifest) {
|
||||
|
||||
function distFirefox() {
|
||||
return dist("firefox", (manifest) => {
|
||||
delete manifest.content_security_policy;
|
||||
delete manifest.storage;
|
||||
return manifest;
|
||||
});
|
||||
@ -68,7 +67,6 @@ function distFirefox() {
|
||||
function distOpera() {
|
||||
return dist("opera", (manifest) => {
|
||||
delete manifest.applications;
|
||||
delete manifest.content_security_policy;
|
||||
return manifest;
|
||||
});
|
||||
}
|
||||
@ -76,7 +74,6 @@ function distOpera() {
|
||||
function distChrome() {
|
||||
return dist("chrome", (manifest) => {
|
||||
delete manifest.applications;
|
||||
delete manifest.content_security_policy;
|
||||
delete manifest.sidebar_action;
|
||||
delete manifest.commands._execute_sidebar_action;
|
||||
return manifest;
|
||||
@ -86,7 +83,6 @@ function distChrome() {
|
||||
function distEdge() {
|
||||
return dist("edge", (manifest) => {
|
||||
delete manifest.applications;
|
||||
delete manifest.content_security_policy;
|
||||
delete manifest.sidebar_action;
|
||||
delete manifest.commands._execute_sidebar_action;
|
||||
return manifest;
|
||||
|
@ -65,7 +65,7 @@
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"optional_permissions": ["nativeMessaging"],
|
||||
"content_security_policy": "script-src 'self' 'unsafe-eval' 'wasm-unsafe-eval'; object-src 'self'",
|
||||
"content_security_policy": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'",
|
||||
"commands": {
|
||||
"_execute_browser_action": {
|
||||
"suggested_key": {
|
||||
|
Loading…
Reference in New Issue
Block a user