Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL.createObjectUrl is deprecated in Chrome and 404s on screenshot after publish #1274

Open
justincolangelo opened this issue Jan 21, 2023 · 1 comment · May be fixed by justincolangelo/Spoke#1

Comments

@justincolangelo
Copy link

Describe the bug
URL.createObjectUrl is deprecated in Chrome and 404s on screenshot after publish.

To Reproduce
Steps to reproduce the behavior:

  1. Open Chrome and spoke and create a new project or open existing and publish
  2. When "Scene Published" dialog is presented see the broken img

Expected behavior
The image is displayed

Screenshots
image

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant