Closed TooTallNate closed 14 years ago
Hmm it works fine with my Safari 4.0.4 on WinXP. I don't have Mac so I cannot debug it further myself... A few questions:
Ok, so after some investigation, I realized that WebSocket.__initialize() was not being called, due to the fact that I was loading "web_socket.js" after the "onload" event had already fired, and thus
window.addEventListener("load", WebSocket.__initialize, false);
wasn't doing the trick. I ended up calling it manually and it worked fine in Safari.
I see. So do you use some technique to load web_socket.js dynamically, not with static script tag? I'll try to find way to make it work properly in that case too. Thanks.
Precisely, I wasn't using your sample.html
, I was using my own test file that was appending the needed Githubissues.
I've been trying to get this working with Safari (4.0.4, Snow Leopard), with no success. This is from both a file:/// URI and when hosted on a web server. Works perfectly so far with IE and Firefox however...