RESOLVED INVALID 24928
calling .submit() of a <form> from funcA() when form's onsubmit is funcA(), fails
https://bugs.webkit.org/show_bug.cgi?id=24928
Summary calling .submit() of a <form> from funcA() when form's onsubmit is funcA(), f...
Diego Escalante Urrelo
Reported 2009-03-30 01:30:15 PDT
I know this makes no sense, but it works in gecko and some sites are probably expecting IEscript or FirefoxScript instead of standards sacred JavaScript. I share your pain.
Attachments
evil javascript testcase (455 bytes, text/html)
2009-03-30 01:31 PDT, Diego Escalante Urrelo
no flags
Diego Escalante Urrelo
Comment 1 2009-03-30 01:31:15 PDT
Created attachment 29053 [details] evil javascript testcase An html showing the problem.
Jan Alonzo
Comment 2 2009-03-30 02:04:38 PDT
I think this is because webkit/gtk is still missing implementations of "error reporting" methods. Changing the action to javascript:alert("foo") works as intended. Can you please confirm and close this? Thanks.
Diego Escalante Urrelo
Comment 3 2009-03-30 02:34:01 PDT
Right. alert works. Is there a bug for the error methods?
Note You need to log in before you can comment on or make changes to this bug.