[Webkit-unassigned] [Bug 61852] New: svg/custom/animate-target-id-changed.svg is flaky

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 03:50:21 PDT 2011


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

           Summary: svg/custom/animate-target-id-changed.svg is flaky
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: msanchez at igalia.com
                CC: darin at apple.com, krit at webkit.org


This test failed today at some point in the GTK 64-bit bot with no related change in the SVN that I could blame:

http://build.webkit.org/results/GTK%20Linux%2064-bit%20Debug/r87787%20%2822961%29/svg/custom/animate-target-id-changed-pretty-diff.html

After some investigation, it looks to me like it could have happened due to some flakyness in the test itself, since the problem is that the SVG was rendered red instead of green (as per the animation itself), and it occurs to me that it could be due to the usage of timeouts or something like that (just wondering):

<rect id="target" width="100" height="100" fill="red"/>
<animate attributeName="fill" xlink:href="#target" from="green" to="green" dur="0.5" fill="freeze"/>
<script type="text/ecmascript">
<![CDATA[
if (window.layoutTestController) {
    layoutTestController.waitUntilDone();
    setTimeout(function() {
        document.getElementById('target').setAttribute("id", "newId");
        setTimeout(function() { layoutTestController.notifyDone(); }, 0);
   }, 0);
}
]]>

CCing people that might be interested on this (author and reviewer for the commit introducing the test [1])

[1] http://trac.webkit.org/changeset/79569

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