1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Resolve inconsistency between browsers (#15800)

Resolve an inconsistency between Chrome and Firefox with how the
contentscript runs in an iframe.

This should have no user-facing impact, it's just meant as a safeguard
in case something unintentionally gets included in the contentscript.
This commit is contained in:
Mark Stacey 2022-09-12 17:05:41 -04:00 committed by GitHub
parent 7aa2a8a983
commit ea947ed1a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{
"content_security_policy": "frame-ancestors 'none'",
"externally_connectable": {
"matches": ["https://metamask.io/*"],
"ids": ["*"]

View File

@ -1,4 +1,7 @@
{
"content_security_policy": {
"extension_pages": "default-src 'self'; frame-ancestors 'none'"
},
"externally_connectable": {
"matches": ["https://metamask.io/*"],
"ids": ["*"]