[Webkit-unassigned] [Bug 34636] WebSocket close() causes a task to be queued to fire a close event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 11 19:33:29 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34636





--- Comment #4 from Fumitoshi Ukai <ukai at chromium.org>  2010-02-11 19:33:28 PST ---
(In reply to comment #3)
> (From update of attachment 48212 [details])
> +    close_called = true;
> +    shouldBeTrue("close_called");
> 
> I do not see what this check is good for.
> 
> You say that chromium works as expected. Did you test Safari?

In safari, it fails because onclose is called before close_called is set to
true.
onclose endTest() at the end, so all lines after ws.close() in ws.onopen will
not be executed because it is after layoutTestController.notifyDone();

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list