Skip to content

cmd/trace: traceviewer tool doesn't work in non-chrome browsers #19207

@narqo

Description

@narqo

What version of Go are you using (go version)?

go version go1.8

What operating system and processor architecture are you using (go env)?

darwin/amd64

What did you do?

Call go tool trace trace.file as described in https://godoc.org/cmd/trace and open the "View trace" link using Safari (or other non-Chrome) web browser.

What did you expect to see?

Expected to see the Trace viewer.

What did you see instead?

There is a JavaScript error, saying "ReferenceError: Can't find variable: tr" in the console of the browser.

I know that the trace-viewer itself comes from the catapult project, as well as that the project was built specifically for Chrome and/or Android, but I think it would be worth to add a notice to cmd/trace documentation about this fact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions