[Bug 12949] click() shouldn't have special powers over dispatching click event manually

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12949

--- Comment #17 from Jan Varga <jan.varga@gmail.com> 2011-07-03 10:28:10 UTC ---
(In reply to comment #2)
> Jonas, your comments was a response to
> "(It is however clear that not all default handling should be
> processed when handling untrusted event. Both click() and manual dispatching
> do dispatch untrusted events.)" right?
> If so, I'll file a followup bug about that.
> 
> In this bug I'm more worried about the click() handling being
> different from dispatching click event manually without no reason.

you are right:
http://www.whatwg.org/specs/web-apps/current-work/ - 3.2.5.1.7 Interactive
content

"The above doesn't happen for arbitrary synthetic events dispatched by author
script. However, the click() method can be used to make it happen
programmatically."

it's really confusing

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 3 July 2011 10:28:11 UTC