[Webkit-unassigned] [Bug 71695] [Qt] http/tests/xmlhttprequest/workers/abort-exception-assert.html makes 6 fast/workers test fail
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 24 00:00:02 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=71695
Nandor Huszka <Huszka.Nandor at stud.u-szeged.hu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Huszka.Nandor at stud.u-szeged
| |.hu
--- Comment #2 from Nandor Huszka <Huszka.Nandor at stud.u-szeged.hu> 2011-11-24 00:00:02 PST ---
In abort-exception-assert.html Worker is created which execute the
LayoutTests/http/tests/xmlhttprequest/workers/resources/endless-sync-xhr.js
script. There can be found the following line:
xhr.open("GET", "endless-response.php", false);
If I overwrite the third parameter from false to true, the other 6 tests will be correct. As a result, I think the problem is about synchronous request.
After more examining, in the same file, after that request is executed there is a
layoutTestController.notifyDone();
calling. This command hasn't effect at all, what's more in my opinion it isn't called, however the preventing statement is true ( if (window.layoutTestController) ).
When we use the mentioned synchronous request, for example in interrupt-database.html
function finishTest()
{
log("PASS: database operations interrupted.");
if (window.layoutTestController)
layoutTestController.notifyDone();
}
the window.layoutTestController will be null, that's why this test is fail with timeout.
I have no idea yet what's the problem exactly, but I'm on it.
--
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