Bug 64244 - WebSocket: Add useHixie76Protocol flag to WebSocketChannel and WebSocketHandshake
Summary: WebSocket: Add useHixie76Protocol flag to WebSocketChannel and WebSocketHands...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Yuta Kitamura
URL:
Keywords:
Depends on:
Blocks: 50099
  Show dependency treegraph
 
Reported: 2011-07-10 12:26 PDT by Yuta Kitamura
Modified: 2011-07-10 19:04 PDT (History)
4 users (show)

See Also:


Attachments
Patch (11.36 KB, patch)
2011-07-10 12:40 PDT, Yuta Kitamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta Kitamura 2011-07-10 12:26:39 PDT
This is the first step of bug 50099.
Comment 1 Yuta Kitamura 2011-07-10 12:40:21 PDT
Created attachment 100236 [details]
Patch
Comment 2 Kent Tamura 2011-07-10 18:22:34 PDT
Comment on attachment 100236 [details]
Patch

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

> Source/WebCore/websockets/WebSocketHandshake.cpp:162
> -WebSocketHandshake::WebSocketHandshake(const KURL& url, const String& protocol, ScriptExecutionContext* context)
> +WebSocketHandshake::WebSocketHandshake(const KURL& url, const String& protocol, ScriptExecutionContext* context, bool useHixie76Protocol)

We usually avoid a bool argument. But I think it's acceptable in this case because we have no callers with literal false/true.
Comment 3 WebKit Review Bot 2011-07-10 19:04:45 PDT
Comment on attachment 100236 [details]
Patch

Clearing flags on attachment: 100236

Committed r90704: <http://trac.webkit.org/changeset/90704>
Comment 4 WebKit Review Bot 2011-07-10 19:04:50 PDT
All reviewed patches have been landed.  Closing bug.