[Webkit-unassigned] [Bug 28683] New: Timers from cached pages fire instantly rather than the specified timeout delay

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 24 13:13:47 PDT 2009


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

           Summary: Timers from cached pages fire instantly rather than
                    the specified timeout delay
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adachan at apple.com


Created an attachment (id=38496)
 --> (https://bugs.webkit.org/attachment.cgi?id=38496)
Test

When restoring a page from the page cache, we also restore any timers from that
cached page.  However, those timers fire right away rather than first waiting
for the timeout delay specified.

We should explore other browsers' behavior on this and figure out whether we
should match.

Attached is the test - when going back to the cached page, I would expect the
innerHTML to be replaced after a full second has passed, and not immediately
when the page is loaded.

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