[Webkit-unassigned] [Bug 25339] New: window.dialogArguments doesn't work if use port number in URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 22 23:27:30 PDT 2009


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

           Summary: window.dialogArguments doesn't work if use port number
                    in URL
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jisong at microsoft.com


Write two html files:
<!-- 1.htm -->
<script>
window.showModalDialog("2.htm", "test");
</script>

<!-- 2.htm -->
<script>
alert(window.dialogArguments);
</script>

And put them on a web server, try to use these urls to access 1.htm:
http://YOUR_SERVER_URL/1.htm
http://YOUR_SERVER_URL:80/1.htm

The first one can alert "test", but the second one only alert "undefined".


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