Bug 24928 - calling .submit() of a <form> from funcA() when form's onsubmit is funcA(), fails
Summary: calling .submit() of a <form> from funcA() when form's onsubmit is funcA(), f...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2009-03-30 01:30 PDT by Diego Escalante Urrelo
Modified: 2009-03-30 02:34 PDT (History)
1 user (show)

See Also:


Attachments
evil javascript testcase (455 bytes, text/html)
2009-03-30 01:31 PDT, Diego Escalante Urrelo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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?