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

Make websockets work in a worker scope #9521

Merged
merged 4 commits into from Feb 5, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix crash when websocket.js is used from a worker

  • Loading branch information
Manishearth committed Feb 3, 2016
commit 4f878b22440fd0780d1b0ee39920a8e3b2dbc300
@@ -25,7 +25,7 @@ var closeCode;
var urlToOpen;

function IsWebSocket() {
if (!window.WebSocket) {
if (!self.WebSocket) {
assert_true(false, "Browser does not support WebSocket");
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.