Changeset 57252 in webkit


Ignore:
Timestamp:
Apr 7, 2010 11:51:00 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-04-07 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

transitions/transition-end-event-transform.html fails intermittently on Tiger Intel Release bot
https://bugs.webkit.org/show_bug.cgi?id=37145

I think this test might be getting confused because it only expects the
end event to fire once but actually it fires again for the second
transition. Let's try this patch and see if it fixes the flakiness.

  • transitions/transition-end-event-set-none.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r57250 r57252  
     12010-04-07  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        transitions/transition-end-event-transform.html fails intermittently on Tiger Intel Release bot
     6        https://bugs.webkit.org/show_bug.cgi?id=37145
     7
     8        I think this test might be getting confused because it only expects the
     9        end event to fire once but actually it fires again for the second
     10        transition.  Let's try this patch and see if it fixes the flakiness.
     11
     12        * transitions/transition-end-event-set-none.html:
     13
    1142010-04-07  Eric Seidel  <eric@webkit.org>
    215
  • trunk/LayoutTests/transitions/transition-end-event-set-none.html

    r57177 r57252  
    3737    }
    3838   
     39    var firstTimeInHandleEndEvent = true;
    3940    function handleEndEvent(event)
    4041    {
     
    4243     
    4344      event.target.style.webkitTransitionProperty = "none";
    44       window.setTimeout(startTransition, 100);
     45      if (firstTimeInHandleEndEvent) {
     46        firstTimeInHandleEndEvent = false;
     47        window.setTimeout(startTransition, 100);
     48      }
    4549    }
    4650
Note: See TracChangeset for help on using the changeset viewer.