Skip to content

Content Security Policy breaks react webview in codespace on Safari #12

@rafaelha

Description

@rafaelha

When opening a codespace in GitHub in Safari, the following error output is produced when first opening the Flamegraph panel:

Image

and the panel is stuck on "Loading profile data..."

Image

When the panel is already open and another profile is loaded (or the command Flamegraph: Show is run), the flame graph finally appears:

Image

However, as can be seen, the legend icons are not loaded, and the following error message is produced:

Image

This is specific to Safari. Edge and Chrome work well. The Content Security Policy needs to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions