perfetto-ui: Add origin trial
WebComponents V0 are going away and this breaks the legacy trace viewer.
To delay this we have registered for an origin trial which will
to work until Oct 2020 (canary) and Dec 2020 (stable).
Tested on Chrome canary (M80) and this works.
Change-Id: Ie85fcf6c62e2b64d1e9ed431103389b9c597db4e
diff --git a/ui/index.html b/ui/index.html
index c375f93..0e1833a 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -3,6 +3,9 @@
<head>
<title>Perfetto UI</title>
<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="preload" href="controller_bundle.js" as="script">