Opened 13 years ago

Closed 13 years ago

#9452 closed defect (fixed)

dojo.isDescendant fails in GreaseMonkey scripts

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 1.4
Component: Core Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:


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.

Change History (1)

comment:1 Changed 13 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [18387]) Fixes #9452, dojo.isDescendant failing in GreaseMonkey? scripts. \!strict

Note: See TracTickets for help on using tickets.