Status: New
Owner: [email protected]
Labels: Type-Defect Priority-High

New issue 1706 by [email protected]: ES5 inline event handlers do not work
http://code.google.com/p/google-caja/issues/detail?id=1706

In ES5, given the following snippet:

<script>function foo() { alert(1); }</script>
<div onclick="foo()">foo</div>

logs the following error in console:

Uncaught TypeError: Object #<Object> has no method 'plugin_dispatchEvent___' caja.appspot.com:1
onclick

However, doing the equivalent using a script to set the 'onclick' property of the DOM node works correctly.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to