WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25339
window.dialogArguments doesn't work if use port number in URL
https://bugs.webkit.org/show_bug.cgi?id=25339
Summary
window.dialogArguments doesn't work if use port number in URL
Jiuqing Song
Reported
2009-04-22 23:27:30 PDT
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".
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2009-04-23 00:18:45 PDT
I cannot reproduce these results. Can you set up a page where this happnens?
Mark Rowe (bdash)
Comment 2
2009-04-23 01:11:50 PDT
Jiuqing replied to the Bugzilla email rather than commenting in the bug:
> I am sorry that I don't have a public web server. > I repro this on Safari 3.1.2 (5525.20.1), but it does not repro on WebKit (this same build number)
This indicates that it has been fixed since Safari 3.1.2. In the future, please test with a more recent version when filing a bug report. Safari 4 Beta or a recent nightly build are good choices.
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