[whatwg] WebSocket: garbage collection

[[
WebSocket object with an open connection must not be garbage collected if  
there are any event listeners registered for message events.
]]

Shouldn't it also not be garbage collected if there are listeners for  
open, error and close? What about when the connection is not yet  
established?

-- 
Simon Pieters
Opera Software

Received on Tuesday, 20 April 2010 07:00:36 UTC