This is the third part of implementing WebSocket closing handshake (see bug 35721). Remove m_pendingConnected, m_pendingMessages and m_pendingClosed from ThreadableWebSocketChannelClientWrapper, and use ScriptContext::Task to hold these pending events.
Created attachment 93894 [details] Patch
Comment on attachment 93894 [details] Patch Looks good.
The commit-queue encountered the following flaky tests while processing attachment 93894 [details]: http/tests/misc/favicon-loads-with-icon-loading-override.html bug 58412 (author: alice.liu@apple.com) The commit-queue is continuing to process your patch.
Comment on attachment 93894 [details] Patch Clearing flags on attachment: 93894 Committed r86829: <http://trac.webkit.org/changeset/86829>
All reviewed patches have been landed. Closing bug.