[Webkit-unassigned] [Bug 14438] New: Assigning to document.location in an onload handler should not add a back entry

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 27 14:51:22 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14438

           Summary: Assigning to document.location in an onload handler
                    should not add a back entry
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: History
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mpComplete at gmail.com


If you have an onload handler that directly sets document.location, it should
be treated as a client redirect and not get added to the back/forward list. 
This is how Firefox behaves.

Incidentally, Firefox DOES add an entry if the onload handler does
setTimeout('document.location = bla', 0).

My patch to bug 13400 breaks this (while fixing other document.location related
behavior).


-- 
Configure bugmail: http://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