[Webkit-unassigned] [Bug 7684] New: Asynchronous events (e.g. setInterval) fail when scrollbar is in use

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Mar 9 12:37:10 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7684

           Summary: Asynchronous events (e.g. setInterval) fail when
                    scrollbar is in use
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: brian.sweet at kaleidescape.com


In the attached test case, there is a div with a scrollbar and another div is
filled in with text every second using setInterval.  In Safari, if you start
using the scrollbar the setInterval events stop getting called.  They seem to
be entirely lost (not queued for later execution).

Firefox 1.5.0.1, Opera 8.52, and IE 6.0 all continue to fire these events while
the scrollbar is in use.

In addition to this simple test case, other asynchronous events are also
affected by use of a scrollbar.  For example, while using the scrollbar you can
send asynchronous requests using the XMLHttpRequest object, but the responses
will not be processed asynchronously.  Instead, all XMLHttpRequest responses
will be queued and handled only after use of the scrollbar has stopped.

These problems prevent Safari from properly rendering a grid widget that is
supposed to use AJAX to update the contents, since no requests can be processed
while the scrollbar is in use.  For example, see
http://openrico.org/rico/livegrid.page.  In every other browser the grid fills
in while you scroll, but in Safari you have to stop scrolling for the data to
fill in (since the AJAX requests get queued).


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list