[OpenLayers-Trac] Re: [OpenLayers] #3262: OpenLayers Event objects
in Firefox have unstable 'getPreventDefault' methods.
OpenLayers
trac-20090302 at openlayers.org
Tue Apr 26 10:47:52 EDT 2011
#3262: OpenLayers Event objects in Firefox have unstable 'getPreventDefault'
methods.
----------------------------+-----------------------------------------------
Reporter: mgleahy | Owner:
Type: feature | Status: reopened
Priority: minor | Milestone: 2.12 Release
Component: Handler.Click | Version: 2.10
Resolution: | Keywords:
State: |
----------------------------+-----------------------------------------------
Comment(by mgleahy):
Thanks - that definitely clarifies things.
With that in mind, would it not then make sense to delete properties that
do not apply to the cloned object, or replace them with empty functions?
Maybe it's trivial and/or inappropriate, but my thinking behind this is
that if the functions don't do anything, then their mere presence as
properties of the object is misleading to someone who's analyzing the code
at runtime (e.g., in Chromium, I can log the event object to the console
and see that it has the preventDefault function...my first thought would
be that I can use this).
If instead you think there's nothing that needs to be done within
OpenLayers, or if maybe this should be considered a Firefox bug instead,
then perhaps this ticket should be closed.
Thanks again for looking into this.
--
Ticket URL: <http://trac.openlayers.org/ticket/3262#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list