| Summary: | Web Inspector: AngularJS + SocketIO + Web Inspector = Locked Webpage | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Moyer <cmoyer> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Major | CC: | joepeck, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.9 | ||
|
Description
Chris Moyer
2014-01-07 14:14:40 PST
Chris, do you have a sample page or URL we can inspect to reproduce the issue? I've gathered a few more details on the issue, and it's not quite what I thought before. I have disabled web sockets, and make Socket.IO use one of the other transports. I also noticed this ONLY happens over SSL. I've created a simple project to show the problem: https://github.com/kopertop/wkcrasher You don't even need to have it connect to socket.io on the backend, so I'm not sure if that is exactly the problem, but I know when I try to inspect this over SSL, the app (and inspector) completely hang up. Thanks for creating a test case for us! Digging a little further, if I comment out line 27 of js/services.js, the app works just fine, no crashes with the console opening up.
So it looks like this only happens when I explicitly set the "transports" of socket.io:
sockets[namespace] = io.connect(namespace, {
transports: transports, // This line causes the problem
'connect timeout': 500,
'reconnect': true,
'reconnection delay': 500,
'reopen delay': 500,
'max reconnection attempts': 10
});
Can you try your site in a recently nightly? This appears to have fixed the problem. Thanks! |