1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-29 20:32:15 -05:00

Add CSP fallback to sandbox.html for non-chrome app runtimes

This commit is contained in:
Tankred Hase 2014-07-09 22:00:18 +02:00
parent 021510d936
commit 4e897d01ff

View File

@ -2,9 +2,11 @@
<html style="overflow: auto"> <html style="overflow: auto">
<head> <head>
<meta charset="utf-8"> <!-- CSP for sandbox is set in chrome manifest. This is a fallback in non chrome app runtimes. -->
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Security-Policy" content="default-src 'self'; object-src 'none'; style-src 'self' 'unsafe-inline'; img-src *">
<script src="sandbox.js"></script> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="sandbox.js"></script>
</head> </head>
<body></body> <body></body>