We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
stream-http assumes a normal browser window and not a worker, though http requests in a worker are legitimate.
Inside a webworker the global object is self not window.
Original issue in http-browserify.
The text was updated successfully, but these errors were encountered:
Hm, it's very easy to just replace window with global, but I wonder if there's anything else that is different between workers and the window.
window
global
I'll add a test for WebWorker support before merging that change.
Sorry, something went wrong.
Fixed by 8cab16f
No branches or pull requests
stream-http assumes a normal browser window and not a worker, though http requests in a worker are legitimate.
Inside a webworker the global object is self not window.
Original issue in http-browserify.
The text was updated successfully, but these errors were encountered: