WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 42861
14438
Assigning to document.location in an onload handler should not add a back entry
https://bugs.webkit.org/show_bug.cgi?id=14438
Summary
Assigning to document.location in an onload handler should not add a back entry
Matt Perry
Reported
2007-06-27 14:51:22 PDT
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).
Attachments
Add attachment
proposed patch, testcase, etc.
Alex Plank
Comment 1
2007-11-02 05:59:42 PDT
I filed
bug 15786
which may or may not be related to this bug.
Mihai Parparita
Comment 2
2011-04-06 13:43:12 PDT
*** This bug has been marked as a duplicate of
bug 42861
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug