projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
websocket
/
close-code-and-reason_wsh.py
diff --git
a/src/third_party/WebKit/LayoutTests/http/tests/websocket/close-code-and-reason_wsh.py
b/src/third_party/WebKit/LayoutTests/http/tests/websocket/close-code-and-reason_wsh.py
index
15a2d24
..
55d5d69
100644
(file)
--- a/
src/third_party/WebKit/LayoutTests/http/tests/websocket/close-code-and-reason_wsh.py
+++ b/
src/third_party/WebKit/LayoutTests/http/tests/websocket/close-code-and-reason_wsh.py
@@
-17,3
+17,4
@@
def web_socket_transfer_data(request):
code, reason = line.split(' ', 1)
data = struct.pack('!H', int(code)) + reason.encode('utf-8')
request.connection.write(stream.create_close_frame(data))
+ request.server_terminated = True