[Dojo-checkins] [dojo] #9452: dojo.isDescendant fails in GreaseMonkey scripts
dojo
trac at dojotoolkit.org
Wed Jun 24 23:20:33 EDT 2009
#9452: dojo.isDescendant fails in GreaseMonkey scripts
--------------------+-------------------------------------------------------
Reporter: jburke | Owner: jburke
Type: defect | Status: new
Priority: normal | Milestone: 1.4
Component: Core | Version: 1.3.0
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
As reported by Mark Wubben: "dojo.isDescendant uses strict equality, which
also fails in Greasemonkey because the node references get wrapped in an
XPCNativeWrapper".
From what I can tell, Dojo 0.4 used ==, but when the function was ported
for 0.9, the check became ===. Going to just revert to normal equality.
--
Ticket URL: <http://bugs.dojotoolkit.org/ticket/9452>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit
More information about the Dojo-checkins
mailing list