Spoke
Spoke copied to clipboard
URL.createObjectUrl is deprecated in Chrome and 404s on screenshot after publish
Describe the bug URL.createObjectUrl is deprecated in Chrome and 404s on screenshot after publish.
To Reproduce Steps to reproduce the behavior:
- Open Chrome and spoke and create a new project or open existing and publish
- When "Scene Published" dialog is presented see the broken img
Expected behavior The image is displayed
Screenshots
Additional context Firefox doesn't have this issue. Seems to only be happening on Chrome and maybe webkit in general. Haven't tried Safari.
It seems like this runs too soon on Chrome finally { if (screenshotUrl) { URL.revokeObjectURL(screenshotUrl); }
I tested this by commenting that revoke line and it works in Chrome after.