Skip to content
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

Presence of "document" can't be assumed for web workers #240

Closed
nolanlawson opened this issue Dec 13, 2015 · 3 comments
Closed

Presence of "document" can't be assumed for web workers #240

nolanlawson opened this issue Dec 13, 2015 · 3 comments

Comments

@nolanlawson
Copy link

Currently debug fails in a web worker, because document is not available.

Background: pouchdb/pouchdb#4612

@botverse
Copy link
Contributor

botverse commented Sep 27, 2016

Same happens with any non node scope that doesn't have access to document:

As mentioned in this issue, web workers.
Service workers #307
Webkit based environments like electron #303
React Native #286

@nikcorg
Copy link

nikcorg commented Oct 6, 2016

Fix for workers is in #139 since late 2014.

@thebigredgeek
Copy link
Contributor

#298 < Already live. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants