browserify / browserify/http-browserify

Support for webworkers

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
245
Forks
104
PR merge metrics
No merged PRs in 30d

Description

http-browserify [assumes a normal browser window](https://github.com/substack/http-browserify/blob/11bfdeac2534fafbd5819bda96fa32f01802b6cc/index.js#L46) and not a worker, though http requests in a worker are legitimate

inside a webworker the global object is `self` not `window`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with index.js at the linked line, where http-browserify assumes a normal browser window. Check the worker context described in the issue, where the global object is self, and verify that HTTP requests work there as well as in a normal browser window.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.