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).
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
fetchsome resources e.g.https://github.githubassets.com/assets/frameworks-e9336e6b26b7848c1bbe761eacff9e7d.css%27referenced fromhttps://github.com/automerge/automergeduet CSP explicitly restricting that.Which is why when captured page is rendered it lacks styling. It is unclear however why
fetchused in preload script follows same CSP restrictions as the page (I was expecting it to run in more privileged context like extension).