aboutsummaryrefslogtreecommitdiff
path: root/ui/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'ui/index.html')
-rw-r--r--ui/index.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/ui/index.html b/ui/index.html
index fae544da8..a5dbde040 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -2,12 +2,12 @@
<html lang="en-us">
<head>
<title>Perfetto UI</title>
+ <!-- See b/149573396 for CSP rationale. -->
+ <!-- TODO(b/121211019): remove script-src-elem rule once fixed. -->
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src-elem 'self' https://*.google.com https://*.googleusercontent.com; object-src 'none'; connect-src 'self' http://127.0.0.1:9001 https://*.googleapis.com; navigate-to https://*.perfetto.dev;">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
- <!-- WebComponents V0 origin trial token for https://ui.perfetto.dev Expires 17 Dec 2020.
- See https://crbug.com/1021137. -->
- <meta http-equiv="origin-trial" content="AtzsILqIzNPGftktQTEYxI9GpnqFBuse5uB5n4JQO3Wa1ky4TCKmnXZli0A9g9p7Es7Il9pqarELntnfm0HriwkAAABreyJvcmlnaW4iOiJodHRwczovL3VpLnBlcmZldHRvLmRldjo0NDMiLCJmZWF0dXJlIjoiV2ViQ29tcG9uZW50c1YwIiwiZXhwaXJ5IjoxNjA4MjI2NDQzLCJpc1N1YmRvbWFpbiI6dHJ1ZX0=">
<link href="perfetto.css" rel="stylesheet">
- <link rel="icon" type="image/png" href="assets/logo.png">
+ <link rel="icon" type="image/png" href="assets/favicon.png">
</head>
<body>
<main>
@@ -17,3 +17,4 @@
</body>
</html>
<script src="frontend_bundle.js"></script>
+<script src="https://storage.cloud.google.com/perfetto-ui-internal/is_internal_user.js" async defer></script>