[Webkit-unassigned] [Bug 87261] [GTK] Hang while synchronously loading resources in Facebook

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 00:30:14 PDT 2012


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





--- Comment #2 from Thiago Marcos P. Santos <tmpsantos at gmail.com>  2012-07-25 00:30:19 PST ---
I had recently a hang here at EFL MiniBrowser while running a internal test suite. The backtrace is identical.

We have a test harness that was using synchronous xhr (yes, should not be used, but not the point here) for loading test cases. When the test is done, it sends a new message to the webserver to prepare for a new test.

After exactly 6 tests, it was hanging. Also hangs on GTK, but after more test cases (but works on Chromium and Qt).

While trying to debug this for the test team, I found out that only replies without headers are hanging the browser. I did the following change at the webserver (they are using python's BaseHTTPServer) and it worked:

self.send_response(200)
+ self.send_header("foo", "bar")
+ self.end_headers()

The original message sent by the browser was:

$.ajax({
    async: false,
    type: "POST",
    url: svr,
    data: {suite:psuite, set:pset, testcase:current_page_uri}
});

It makes me think that it might have something to do with libsoup expectations from these messages.

-- 
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