Changeset 108439

Timestamp:
02/21/12 20:26:26 (3 years ago)
Author:
bashi@chromium.org
Message:

Rename "reserved1" flag of WebSocketFrame to compress
https://bugs.webkit.org/show_bug.cgi?id=79187

Source/WebCore:

WebSocket deflate-frame extension draft specification defines COMP bit.
http://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-05#page-11

Reviewed by Kent Tamura.

No new tests. http/tests/websocket/tests/hybi/reserved-bits.html is revised to follow the change.

  • websockets/WebSocketChannel.cpp:

(WebCore):
(WebCore::WebSocketChannel::parseFrame): "reserved1" renamed "compress".
(WebCore::WebSocketChannel::processFrame): Removed reserved1 flag check.
(WebCore::makeFrameData):
(WebCore::WebSocketChannel::sendFrame):

  • websockets/WebSocketFrame.h: "reserved1" flag renamed "compress".

(WebCore::WebSocketFrame::WebSocketFrame):
(WebSocketFrame):

LayoutTests:

Reviewed by Kent Tamura.

  • http/tests/websocket/tests/hybi/reserved-bits-expected.txt: Revised to follow the change in meaning rsv1 bit.
  • http/tests/websocket/tests/hybi/reserved-bits.html: Ditto.
Location:
trunk
Files:
6 edited

Note: See TracChangeset for help on using the changeset viewer.