[Webkit-unassigned] [Bug 13579] New: window.location.assign(url) ignores "javascript:" type addresses

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 3 17:12:42 PDT 2007


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

           Summary: window.location.assign(url) ignores "javascript:" type
                    addresses
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ian.eng.webkit at gmail.com
                CC: morganl.webkit at yahoo.com


window.location = "javascript:alert('hello world');"; displays the alert
window.
window.location.assign("javascript:alert('hello world')") does not.

It looks like a systematical pattern in kjs_window.cpp that ignores requested
urls that start with 'javascript:'.

Other browsers support window.location.assign('javascript:...');


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