WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
13474
Can't use javascript to close window following iframe post
https://bugs.webkit.org/show_bug.cgi?id=13474
Summary
Can't use javascript to close window following iframe post
James Berry
Reported
2007-04-24 17:29:45 PDT
Normally, one can use javascript to close a window as long as the window was opened by following a link. But in Safari (and all WebKit versions to date) this fails after a get or post operation that targets an iframe within the window. Note that this is an important operation, as it would be used in an image upload window, for instance, where the post through the hidden iframe is used to submit an image. This same operation succeeds in FireFox, IE6, and IE7. Attached is a simple html file page that will allow you to reproduce the issue.
Attachments
Page that demonstrates the bug.
(1009 bytes, text/html)
2007-04-24 17:31 PDT
,
James Berry
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
James Berry
Comment 1
2007-04-24 17:31:07 PDT
Created
attachment 14162
[details]
Page that demonstrates the bug.
James Berry
Comment 2
2007-04-24 17:32:36 PDT
If you there is a workaround for this bug, I'd love to hear about it.
James Berry
Comment 3
2008-02-25 09:52:32 PST
I can no longer replicate this bug, and presume it to be fixed.
Thierry Vignaud
Comment 4
2009-10-14 07:20:21 PDT
Still valid as of webkit-1.1.15.1 (as tested with midori-0.1.10 or the perl Gtk2-WebKit binding). Probably related to
bug #16401
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