The CloseEvent.initCloseEvent method was removed from the WebSockets spec; it has been replaced with a constructor: <http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html#closeevent> Code Search doesn't show any uses of this method <http://codesearch.google.com/#search/&q=initCloseEvent%20lang:js&type=cs>. We should remove it.
Created attachment 113338 [details]
Comment on attachment 113338 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=113338&action=review
> void initCloseEvent(const AtomicString& type, bool canBubble, bool cancelable, bool wasClean, unsigned short code, const String& reason)
Can we move this into the CloseEvent constructor and get rid of the canBubble/cancelable arguments since they are always false in the one place initCloseEvent is currently called? If there's a reason this is especially complicated, I'm OK with the patch as is and I'll r+ it. For now r-.
Created attachment 113763 [details]
Comment on attachment 113763 [details]
Clearing flags on attachment: 113763
Committed r99438: <http://trac.webkit.org/changeset/99438>
All reviewed patches have been landed. Closing bug.