Bug 73666 - [GTK] http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html fails
Summary: [GTK] http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Takashi Toyoshima
Depends on:
Reported: 2011-12-02 08:57 PST by Philippe Normand
Modified: 2011-12-08 02:45 PST (History)
5 users (show)

See Also:

Patch (2.36 KB, patch)
2011-12-08 01:10 PST, Takashi Toyoshima
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2011-12-02 08:57:41 PST
--- /var/lib/buildbot/build/gtk-linux-32-release/build/layout-test-results/http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy-expected.txt 
+++ /var/lib/buildbot/build/gtk-linux-32-release/build/layout-test-results/http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy-actual.txt 
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: line 0: WebSocket network error: error code 0
 Web Socket bufferedAmount after closed in busy
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Not sure what to do here. Any hint? Takashi?
Comment 1 Takashi Toyoshima 2011-12-06 11:37:24 PST
Thank you for letting me know.

This new test closes WebSocket connection when sending buffer is not empty.
In this situation, platformSend will be called after connection start to close, or is in CLOSING state.
I think this console message is related to the case.
I'll investigate it.
Comment 2 Takashi Toyoshima 2011-12-08 01:10:56 PST
Created attachment 118345 [details]
Comment 3 Takashi Toyoshima 2011-12-08 01:14:53 PST
Sorry, the reason was in my test.
Server side handler began server initiated closing handshake unexpectedly.

Anyway, current SocketStreamHandlerError doesn't contain message to show in log.
I'll also post a patch to improve it soon.

Comment 4 Kent Tamura 2011-12-08 02:06:07 PST
Comment on attachment 118345 [details]

Comment 5 WebKit Review Bot 2011-12-08 02:45:06 PST
Comment on attachment 118345 [details]

Clearing flags on attachment: 118345

Committed r102327: <http://trac.webkit.org/changeset/102327>
Comment 6 WebKit Review Bot 2011-12-08 02:45:10 PST
All reviewed patches have been landed.  Closing bug.