Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

window is undefined when creating worker-in-worker #12

Closed

Conversation

skratchdot
Copy link

When creating an inline worker inside of another worker, an error is thrown because this code uses "window" rather than "self" to create the URL and BlobBuilder.

I've tested that this fix works for my use-case. Hoping you can pull this in if it works for you!

When creating an inline worker inside of another worker, an error is thrown because this code uses "window" rather than "self" to create the URL and BlobBuilder.

I've tested that this fix works for my use-case.  Hoping you can pull this in if it works for you!
@skratchdot
Copy link
Author

Closing this for now. It's either not working in Chrome, or there's an issue w/ the current codebase I'm working on. Don't have time to test sufficiently... Will re-open if I get the inline worker creating an inline worker appropriately in all major browsers...

@skratchdot skratchdot closed this Dec 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant