TINKERPOP-2143 JavaScript GLV: Support browsers
https://issues.apache.org/jira/browse/TINKERPOP-2143
The original PR for this is at #1070. The changes were simply brought here for ongoing rebasing until someone picks up the work and completes it. As it stands there are failing tests on a standard build.
I'll review it asap.
cc @fdominik
Something else to think about here - some of the new edge-compute stuff (like Cloudflare workers) run a Browser-like JS environment as well, so supporting browsers should indirectly support environments like that.
At least I think so - I get an error "ws does not work in the browser. Browser clients must use the native WebSocket object" when using the gremlin JS SDK in a cloudflare worker, so I'd hope that working in a browser would get it working there too.
closing this PR for now since it's now heavily conflicted and had remaining items to be addressed. if there is interested in reviving this work, please feel free to open a fresh PR.