Status: New
Owner: ----
Labels: Type-Defect Priority-Medium jQuery
New issue 1814 by [email protected]: jQuery event mismatch
http://code.google.com/p/google-caja/issues/detail?id=1814
The following test page alerts 'true' in native Chrome and 'false' in ES5.
This issue is a placeholder until a more fundamental underlying problem is
discovered, at which point an issue can be filed for the fundamental
problem and this issue closed. The problem affects jQuery tests and
probably hurts jQuery compatibility in general.
<script
src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script>
var markup = $("<div><a href=\"#\" onclick=\"return false\">x</a></div>");
markup.on("click", function (e) {
alert(e.isDefaultPrevented());
return false;
});
markup.find("a").trigger("click");
</script>
--
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.