Opened 12 years ago
Closed 12 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: |
Description
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.
Note: See
TracTickets for help on using
tickets.
(In [18387]) Fixes #9452, dojo.isDescendant failing in GreaseMonkey? scripts. \!strict