Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1713 by [email protected]: TameEvent.view generates "spurious" warning when it receives undefined rather than null from the browser
http://code.google.com/p/google-caja/issues/detail?id=1713

What steps will reproduce the problem?

<form id="xxx" action="#">
<input type="submit" value="Submit">
</form>
<script>
document.getElementById('xxx').onsubmit = function (evt) { alert(evt.view); return false; }
</script>

When the button is clicked, the native browser event generated on Chrome 26 has not .view property. Domado tests explicitly tests if event.view is null and since it is undefined, generates the following error:

Domado: Discarding unrecognized feral view value: undefined

--
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