Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/trace: requires HTML imports, a deprecated feature that only works on Chrome #34374
This affects "View trace" on the web UI when running
On Chromium 77.0.3865.75 it works, although with some warnings:
On Firefox 69.0, it simply doesn't work at all.
The underying cause is that FireFox, as well as many other browsers, don't support HTML imports. I'm not sure if they were ever widespread, but they're clearly deprecated and non-portable at the moment. See https://caniuse.com/#feat=imports and https://developer.mozilla.org/en-US/docs/Web/Web_Components/HTML_Imports.
I realise that the docs say:
However, I don't find that to be a good long-term plan. The tool shouldn't depend on deprecated non-portable features, and it should work on all major browsers.
I've been recommending that Go developers make use of