More robust webworker fallbacks #26

Closed
taisel opened this Issue Feb 1, 2016 · 4 comments

Comments

Projects
None yet
1 participant
@taisel
Owner

taisel commented Feb 1, 2016

Some browsers like Google Chrome do not allow webworkers on localhost via opened file:///. Google Chrome also does not allow spawning webworkers inside of webworkers. We need to introduce proper code flow that isn't hacky to handle these cases.

@taisel

This comment has been minimized.

Show comment
Hide comment
Owner

taisel commented Feb 4, 2016

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Feb 4, 2016

Owner

Only issue now is that we have to user-agent sniff for the renderer thread creation still.

Owner

taisel commented Feb 4, 2016

Only issue now is that we have to user-agent sniff for the renderer thread creation still.

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Feb 4, 2016

Owner

Probably should just make it a user setting whether or not to box the cpu thread in a separate thread. The user agent sniffing will fill in the default value for it, but it'll be user-overridable. The consequence of such is that if chrome hits the creation limit, the renderer will be on the same thread as the cpu thread, which will be in a separate thread from the main thread.

Owner

taisel commented Feb 4, 2016

Probably should just make it a user setting whether or not to box the cpu thread in a separate thread. The user agent sniffing will fill in the default value for it, but it'll be user-overridable. The consequence of such is that if chrome hits the creation limit, the renderer will be on the same thread as the cpu thread, which will be in a separate thread from the main thread.

@taisel

This comment has been minimized.

Show comment
Hide comment
@taisel

taisel Feb 7, 2016

Owner

Done.

Owner

taisel commented Feb 7, 2016

Done.

@taisel taisel closed this Feb 7, 2016

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