[Webkit-unassigned] [Bug 21233] New: window.onload event is not fired when page is revisited in the same session

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 30 00:59:12 PDT 2008


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

           Summary: window.onload event is not fired when page is revisited
                    in the same session
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://www.hueber.de/tell-me-more/
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hlatzel at hlm.de


I created some Prototype/Scriptaculous intro animations (elements appearing
using the window.onload event) for the webpage
http://www.hueber.de/tell-me-more/ which work perfectly with Safari 3.1/Firefox
2, 3/IE6, 7 but not with WebKit nightly builds (Mac 36882-37056/Win 36882).

To trigger the bug,
1. Visit http://www.hueber.de/tell-me-more/. The intro animations should work
fine this time.
2. Click on a link (e.g. on the product packshot or on the "Schule &
Hochschule" slider link at the top of the page).
3. Now click on the "Privatkunden" link at the top of the page (slider link
again) to return to the previous page (do not use the history back button).
4. The intro animations don't show up at all because the window onload event is
not fired when the page has finished loading. (In fact, the window.onload event
gets fired when you click on a link again to get to another page. The animation
works fine again when you hit the reload button.)

Though I use the Prototype event listener functions in this Javascript, I
successfully reproduced the bug using the window.onload = function() { ... }
construct.


-- 
Configure bugmail: https://bugs.webkit.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