Changeset 94064 in webkit
- Timestamp:
- Aug 30, 2011, 3:05:31 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 22 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/http/tests/websocket/tests/hixie76/bad-handshake-crash_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/frame-length-longer-than-buffer_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/frame-length-overflow_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hixie76/long-invalid-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/long-invalid-header_wsh.py (modified) (2 diffs)
-
LayoutTests/http/tests/websocket/tests/hybi/masked-frames_wsh.py (modified) (2 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/Scripts/webkitpy/thirdparty/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r94062 r94064 1 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r94055 and r94057. 4 http://trac.webkit.org/changeset/94055 5 http://trac.webkit.org/changeset/94057 6 https://bugs.webkit.org/show_bug.cgi?id=67191 7 8 Many failures on Mac 10.5 (Requested by toyoshim on #webkit). 9 10 * http/tests/websocket/tests/hixie76/bad-handshake-crash_wsh.py: 11 * http/tests/websocket/tests/hixie76/frame-length-longer-than-buffer_wsh.py: 12 * http/tests/websocket/tests/hixie76/frame-length-overflow_wsh.py: 13 * http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength_wsh.py: 14 * http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header_wsh.py: 15 * http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr_wsh.py: 16 * http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header_wsh.py: 17 * http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null_wsh.py: 18 * http/tests/websocket/tests/hixie76/long-invalid-header_wsh.py: 19 * http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py: 20 * http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header_wsh.py: 21 * http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py: 22 * http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py: 23 * http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py: 24 * http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py: 25 * http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py: 26 * http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py: 27 * http/tests/websocket/tests/hybi/long-invalid-header_wsh.py: 28 * http/tests/websocket/tests/hybi/masked-frames_wsh.py: 29 1 30 2011-08-30 Renata Hodovan <reni@webkit.org> 2 31 -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/bad-handshake-crash_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 msg = "HTTP/1.1 101 WebSocket Protocol Handshake\r\n" … … 13 10 request.connection.write(msg) 14 11 print msg 15 raise handshake.AbortedByUserException("Abort the connection") # Prevents pywebsocket from sending its own handshake message.12 raise Exception("Abort the connection") # Prevents pywebsocket from sending its own handshake message. 16 13 17 14 -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/frame-length-longer-than-buffer_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 pass … … 12 9 msg += "\0should be skipped\xff" 13 10 request.connection.write(msg) 14 raise handshake.AbortedByUserException("Abort the connection") # Prevents pywebsocket from starting closing handshake.11 raise Exception("Abort the connection") # Prevents pywebsocket from starting closing handshake. -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/frame-length-overflow_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 pass … … 9 6 msg = 16 * '\xff' 10 7 request.connection.write(msg) 11 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from starting closing handshake.8 raise Exception('Abort the connection') # Prevents pywebsocket from starting closing handshake. -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength_wsh.py
r94057 r94064 21 21 22 22 23 from mod_pywebsocket import handshake24 25 26 23 def web_socket_do_extra_handshake(request): 27 24 # This will cause the handshake to fail because it pushes the length of the … … 36 33 msg += request.ws_challenge_md5 37 34 request.connection.write(msg) 38 raise handshake.AbortedByUserException('abort the connection') # Prevents pywebsocket from sending its own handshake message.35 raise Exception('abort the connection') # Prevents pywebsocket from sending its own handshake message. 39 36 40 37 -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 msg = 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n' … … 12 9 request.connection.write(msg) 13 10 print msg 14 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.11 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 15 12 16 13 -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 msg = 'HTTP/1.1 101 WebSocket Protocol Handshake\n' # Does not end with "\r\n". … … 12 9 request.connection.write(msg) 13 10 print msg 14 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.11 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 15 12 16 13 -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 msg = 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n' … … 12 9 request.connection.write(msg) 13 10 print msg 14 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.11 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 15 12 16 13 -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null_wsh.py
r94057 r94064 21 21 22 22 import time 23 from mod_pywebsocket import handshake24 23 25 24 … … 46 45 numFrames = 1024 / len(frame) # write over 1024 bytes including the above handshake 47 46 for i in range(0, numFrames): 48 try: 49 request.connection.write(frame) 50 except Exception, e: 51 raise handshake.AbortedByUserException(e) 47 request.connection.write(frame) 52 48 53 49 -
trunk/LayoutTests/http/tests/websocket/tests/hixie76/long-invalid-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 msg = "HTTP/1.1 101 WebSocket Protocol Handshake\r\n" … … 8 5 msg += request.ws_challenge_md5 9 6 request.connection.write(msg) 10 raise handshake.AbortedByUserException("Abort the connection") # Prevents pywebsocket from sending its own handshake message.7 raise Exception("Abort the connection") # Prevents pywebsocket from sending its own handshake message. 11 8 12 9 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 1 from mod_pywebsocket.handshake.hybi import compute_accept 3 2 … … 12 11 request.connection.write(msg) 13 12 print msg 14 raise handshake.AbortedByUserException("Abort the connection") # Prevents pywebsocket from sending its own handshake message.13 raise Exception("Abort the connection") # Prevents pywebsocket from sending its own handshake message. 15 14 16 15 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 1 from mod_pywebsocket.handshake.hybi import compute_accept 3 2 … … 11 10 message += '\r\n' 12 11 request.connection.write(message) 13 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.12 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 14 13 15 14 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py
r94057 r94064 21 21 22 22 23 from mod_pywebsocket import handshake24 23 from mod_pywebsocket.handshake.hybi import compute_accept 25 24 … … 35 34 msg += '\r\n' 36 35 request.connection.write(msg) 37 raise handshake.AbortedByUserException('abort the connection') # Prevents pywebsocket from sending its own handshake message.36 raise Exception('abort the connection') # Prevents pywebsocket from sending its own handshake message. 38 37 39 38 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 message = 'HTTP/1.1 101 Switching Protocols\r\n' … … 8 5 message += '\r\n' 9 6 request.connection.write(message) 10 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.7 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 11 8 12 9 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 1 from mod_pywebsocket.handshake.hybi import compute_accept 3 2 … … 11 10 request.connection.write(msg) 12 11 print msg 13 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.12 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 14 13 15 14 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 1 from mod_pywebsocket.handshake.hybi import compute_accept 3 2 … … 11 10 request.connection.write(msg) 12 11 print msg 13 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.12 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 14 13 15 14 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 1 from mod_pywebsocket.handshake.hybi import compute_accept 3 2 … … 11 10 request.connection.write(msg) 12 11 print msg 13 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.12 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 14 13 15 14 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 message = 'HTTP/1.1 101 Switching Protocols\r\n' … … 9 6 message += '\r\n' 10 7 request.connection.write(message) 11 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from sending its own handshake message.8 raise Exception('Abort the connection') # Prevents pywebsocket from sending its own handshake message. 12 9 13 10 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/long-invalid-header_wsh.py
r94057 r94064 1 from mod_pywebsocket import handshake2 3 4 1 def web_socket_do_extra_handshake(request): 5 2 msg = "HTTP/1.1 101 WebSocket Protocol Handshake\r\n" … … 7 4 msg += "\r\n" 8 5 request.connection.write(msg) 9 raise handshake.AbortedByUserException("Abort the connection") # Prevents pywebsocket from sending its own handshake message.6 raise Exception("Abort the connection") # Prevents pywebsocket from sending its own handshake message. 10 7 11 8 -
trunk/LayoutTests/http/tests/websocket/tests/hybi/masked-frames_wsh.py
r94057 r94064 1 1 from mod_pywebsocket import common 2 from mod_pywebsocket import handshake3 2 from mod_pywebsocket import stream 4 3 from mod_pywebsocket import msgutil … … 33 32 request.connection.write(stream.create_close_frame('', mask=True)) 34 33 35 raise handshake.AbortedByUserException('Abort the connection') # Prevents pywebsocket from starting its own closing handshake.34 raise Exception('Abort the connection') # Prevents pywebsocket from starting its own closing handshake. -
trunk/Tools/ChangeLog
r94060 r94064 1 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r94055 and r94057. 4 http://trac.webkit.org/changeset/94055 5 http://trac.webkit.org/changeset/94057 6 https://bugs.webkit.org/show_bug.cgi?id=67191 7 8 Many failures on Mac 10.5 (Requested by toyoshim on #webkit). 9 10 * Scripts/webkitpy/thirdparty/__init__.py: 11 1 12 2011-08-30 Adam Barth <abarth@webkit.org> 2 13 -
trunk/Tools/Scripts/webkitpy/thirdparty/__init__.py
r94055 r94064 140 140 pywebsocket_dir = self._fs.join(_AUTOINSTALLED_DIR, "pywebsocket") 141 141 installer = AutoInstaller(target_dir=pywebsocket_dir) 142 installer.install(url="http://pywebsocket.googlecode.com/files/mod_pywebsocket-0.6b 4.tar.gz",143 url_subpath="pywebsocket-0.6b 4/src/mod_pywebsocket")142 installer.install(url="http://pywebsocket.googlecode.com/files/mod_pywebsocket-0.6b2.tar.gz", 143 url_subpath="pywebsocket-0.6b2/src/mod_pywebsocket") 144 144 145 145 def _install(self, url, url_subpath):
Note:
See TracChangeset
for help on using the changeset viewer.