[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 159932] New: location.replace(this.href) redirects browser .
From:       Charles Samuels <charles () kde ! org>
Date:       2008-03-27 4:37:47
Message-ID: 20080327053746.159932.charles () kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159932         
           Summary: location.replace(this.href) redirects browser .
           Product: konqueror
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs kde org
        ReportedBy: charles kde org


Version:            (using Devel)
Installed from:    Compiled sources

the attached testcase redirects on khtml but not on every other browser I've tested.

Here's some more information out of our IRC log:

document.onload = function() { location.replace(this.href) } - then not-konq goes to \
the URL .../undefined

same with "null"

location.replace(undefined) in FF does nothing

null does nothing, () does nothing, undefined goes to undefined, and '' does nothing \
on FF _______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic