Skip to content

UrlContent renders broken pages on some urls e.g. github #403

Open
@Gozala

Description

Me & @pvh have discussed this a bit on higher bandwidth channel, however since we were not able apply a simple fix I'm creating an issue here for further discussions.

We have identified problem to be caused by the fact that freeze-dry fails to fetch some resources e.g. https://github.githubassets.com/assets/frameworks-e9336e6b26b7848c1bbe761eacff9e7d.css%27 referenced from https://github.com/automerge/automerge duet CSP explicitly restricting that.

Which is why when captured page is rendered it lacks styling. It is unclear however why fetch used in preload script follows same CSP restrictions as the page (I was expecting it to run in more privileged context like extension).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions