[Webkit-unassigned] [Bug 30598] LayoutTests/editing/selection/editable-html-element.html is flaky on Chrome bots

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 14:26:35 PDT 2009


--- Comment #14 from Ojan Vafai <ojan at chromium.org>  2009-10-21 14:26:34 PDT ---
There seems to be two bugs here.
1. Errors that occur after a notifyDone call get output to the next test run in
TestShell. Will fix this in TestShell.
2. There's a race between document teardown and an images onload handler.
Namely, the image's onload handler is called after the runTest function has be
destroyed. It's not clear to me whether this is a V8 or a WebCore bug.

Here's what's going on:

LayoutTests/editing/selection/drag-to-contenteditable-iframe.html drags an
image with onload="runTest()" into a contentEditable region, creating a new
image element with it's own onload handler. There's a race between the document
teardown and the load event of the dragged in image.

The reason LayoutTests/editing/selection/editable-html-element.html is involved
is that it happens to run after drag-to-contenteditable-iframe.html. Since the
racy onload handler fires after we've called notifyDone, the logged error gets
inserted into editable-html-element.html's results.

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