Bug 24928

Summary: calling .submit() of a <form> from funcA() when form's onsubmit is funcA(), fails
Product: WebKit Reporter: Diego Escalante Urrelo <diegoe>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: jmalonzo
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
evil javascript testcase none

Description Diego Escalante Urrelo 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.
Comment 1 Diego Escalante Urrelo 2009-03-30 01:31:15 PDT
Created attachment 29053 [details]
evil javascript testcase

An html showing the problem.
Comment 2 Jan Alonzo 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.
Comment 3 Diego Escalante Urrelo 2009-03-30 02:34:01 PDT
Right. alert works. Is there a bug for the error methods?