Thanks for you reply, If no observers are attached, there's no problem, the test doesn't fail.
However, the same exception is raised if the click is performed on an another type of component (anchor, for example). The 'BrowserVersion.FIREFOX_3' doesn't affect the userAgent string, or other params of the client. According to me, the main difference between the two BrowserVersions is about the Javascript engine. I'm a novice with Prototype and I have a lot of things to learn about it, but this case seems to be simple and I don't understand what it happens... Thanks a lot for your precious help On 20 sep, 02:28, kangax <[EMAIL PROTECTED]> wrote: > On Sep 19, 9:05 am, mcrogiez <[EMAIL PROTECTED]> wrote: > > > Hi everyone, > > Hi there. > > > > > I have a very simple page that contains a checkbox. On this, I put an > > Event observer to catch all click events. When a simulate a click > > with HtmlUnit, an exception is raised (the stack trace is at the end > > of this message). I think it's a bug of prototype because this problem > > only occurs when i create my webclient with the > > What if no observers are attached? Is the exception still being > thrown? Does it only happen on a checkbox/click or any element/event? > > > BrowserVersion.FIREFOX_3, not with BrowserVersion.IE. > > How exactly does `BrowserVersion.FIREFOX_3` affect the environment? > Does it change userAgent string? > > > > > Any idea ??? > > > Thanks in advance ;) > > > Here is my JSP : > > [snip exception output] > > -- > kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
