Community
Participate
Working Groups
Build Identifier: 20110527214303 Any html attributes that reference DOM events (onclick, onmousedown, onsubmit) aren't validated properly when a return value is included. The following error is displayed: 'Cannot return from outside a function or method.' Reproducible: Always Steps to Reproduce: 1. create a file with some HTML 2. add this: <form onsubmit="return false;"></form> 3. 'return false;' will get underlined and annotated with the error
*** This bug has been marked as a duplicate of bug 353209 ***