-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
White screen with error in console: Can not convert data url with MIME type:text/plain;charset=utf8 #387
Comments
Can you provide a test case for reproducing it? |
I can't provide even exact steps to reproduce it, but I sent a retrospection json to your e-mail that consistently causes the error. Anyway, I provided the fix in #388, just forgot to point to this issue :) UPD: quick search gave the root cause of the issue here graphql-voyager/src/graph/graphviz-worker.ts Line 123 in ae28413
|
Basically it starts with a warning: So the problem has somewhat deeper roots, but the white screen is caused by the faulty error handling (because of |
@Privat33r-dev can you please sent it to my email: [email protected] Because I can't reproduce your issue even if I do Also please specify browser and version you can reproduce it on? |
The error states:
I believe that it's easy to fix (e.g. by providing support for specific encodings using FileReader (since blob's text() presume UTF8). The provided MIME is RFC-2045 compatible (see section 5.1.), in fact even some examples in the RFC include charset.
The text was updated successfully, but these errors were encountered: