URL.createObjectUrl is deprecated in Chrome and 404s on screenshot after publish
justincolangelo opened this issue · 1 comments
justincolangelo commented
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
Additional context
Firefox doesn't have this issue. Seems to only be happening on Chrome and maybe webkit in general. Haven't tried Safari.
justincolangelo commented
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.