JS Range object should support ==
IMO document.createRange() == document.createRange() should return true.
var range1 = document.createRange();
var range2 = document.createRange();
range1 == range2 should return true
range1 === range2 should return false
var range1 = document.createRange()
var range2 = range1.cloneRange();
range1 == range2
should return true
FF does not support this behavior, but it makes sense from a user perspective. Maybe it doesn't make sense from a JS language perspective?
Of course then, what do we do if someone sets custom JS attributes on the Range.
Hum.. ECMAScript seems to disagree with me: