Bug 60945

Summary: WebSocket: Uninline methods in ThreadableWebSocketChannelClientWrapper
Product: WebKit Reporter: Yuta Kitamura <yutak>
Component: WebKit Misc.Assignee: Yuta Kitamura <yutak>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, ap, commit-queue, mjs, tkent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 35721    
Attachments:
Description Flags
Patch
none
Ready to commit
none
Ready to commit none

Description Yuta Kitamura 2011-05-16 23:47:53 PDT
This is the second part of implementing WebSocket closing handshake (see bug 35721).

Add ThreadableWebSocketChannelClietWrapper.cpp. Uninline methods in this class and move these definitions into .cpp in order to allow further modifications in this class.
Comment 1 Yuta Kitamura 2011-05-16 23:58:03 PDT
Created attachment 93743 [details]
Patch
Comment 2 Kent Tamura 2011-05-17 01:04:13 PDT
Comment on attachment 93743 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=93743&action=review

Looks ok.

> Source/WebCore/websockets/ThreadableWebSocketChannelClientWrapper.cpp:35
> +#include "config.h"
> +
> +#if ENABLE(WEB_SOCKETS)
> +
> +#include "ThreadableWebSocketChannelClientWrapper.h"

nit: Need no blank lines.
Comment 3 Yuta Kitamura 2011-05-17 01:53:12 PDT
Created attachment 93749 [details]
Ready to commit
Comment 4 Yuta Kitamura 2011-05-17 01:56:26 PDT
Created attachment 93750 [details]
Ready to commit
Comment 5 Hajime Morrita 2011-05-17 03:27:19 PDT
Comment on attachment 93750 [details]
Ready to commit

cq+
Comment 6 WebKit Commit Bot 2011-05-17 04:52:41 PDT
Comment on attachment 93750 [details]
Ready to commit

Rejecting attachment 93750 [details] from commit-queue.

Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=cr-jail-4', 'land-a..." exit_code: 1

Last 500 characters of output:
autoinstalled/mechanize/_urllib2_fork.py", line 332, in _call_chain
    result = func(*args)
  File "/mnt/git/webkit-commit-queue/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py", line 1170, in https_open
    return self.do_open(conn_factory, req)
  File "/mnt/git/webkit-commit-queue/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py", line 1118, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 60] Operation timed out>

Full output: http://queues.webkit.org/results/8705311
Comment 7 Yuta Kitamura 2011-05-17 04:59:19 PDT
Hum? CQ failed but the patch has been landed in r86669.

Closing the issue...
Comment 8 WebKit Commit Bot 2011-05-17 05:41:54 PDT
The commit-queue encountered the following flaky tests while processing attachment 93750 [details]:

http/tests/websocket/tests/url-with-query.html bug 60955 (author: abarth@webkit.org)
The commit-queue is continuing to process your patch.