-
Notifications
You must be signed in to change notification settings - Fork 361
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
Error in Service Worker TypeError: Error URL.createObjectURL() not a function #65
Comments
https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL_static
Btw, the library itself seems to have an option to use web worker. It looks like it passes it down to the onnx wasm runtime configuration. |
so the problem is that I'm using the lib in a browser extension and there I'm limited to running into a service worker or into the webpage context, but in both cases I have problems. If I run in the page context there are content security policy issues which I'm trying to root out as well. |
Is there an alternative to |
@lucafaggianelli Hi, have you been able to solve this problem? |
Sadly not |
Hi,
I'm trying to use the library in a service worker, but there the
URL.createObjectURL()
function is not available, do you have any workaround / idea?The text was updated successfully, but these errors were encountered: