Bug 30182

Summary: Animation stalls for a few seconds partway through
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Description Flags
mitz: review+
I think this testcase reproduces the problem none

Description Simon Fraser (smfr) 2009-10-07 13:54:33 PDT
If you run the attached testcase with layer borders turned on, you'll see that the animating red box stalls for a couple of seconds part-way through.

The issue is that we're calling -disableScreenUpdatesUntilFlush on the NSWindow when there is actually no view drawing to be done, so that the window flush never happens. This means that screen updates end up being disabled until the watchdog enables them again (after 2 seconds).
Comment 1 Simon Fraser (smfr) 2009-10-07 14:03:37 PDT
Created attachment 40820 [details]
Comment 2 Simon Fraser (smfr) 2009-10-07 15:53:31 PDT
Comment 3 Simon Fraser (smfr) 2010-04-30 16:03:42 PDT
Created attachment 54830 [details]
I think this testcase reproduces the problem