Closed niftylettuce closed 2 years ago
can this be worked around if it's running on electron?
I'm closing this issue since bree no longer supports the browser.
I'm closing this issue since bree no longer supports the browser.
If that's the case, can you remove "Works in the browser" from index.html
?
Right now browser support is unstable due to these issues:
I previously had modified
index.html
with a basic example such as this:However since
postMessage
is not working, I have it commented out right now.Note that I do expose
threads
frombthreads
asBree.threads
, therefore one could write a browser test (e.g. with puppeteer that usesBree.threads.backend === 'web_worker'
andBree.threads.browser === true
to test that the proper backends load.