B2G/gecko/browser/components/tabview/modules/utils.jsm
// Returns true if this rectangle is identical to the given <Rect>.
Returns true if this rectangle is identical to the given .
Returns true if this rectangle is identical to the given .
function Rect_equals(rect) {
    return (rect.left == this.left &&
            rect.top == this.top &&
            rect.width == this.width &&
            rect.height == this.height);
  }
function Rect_equals ( rect ) { return ( rect . left == this . left && rect . top == this . top && rect . width == this . width && rect . height == this . height ) ; }
Returns true if this rectangle is identical to the given <Rect>.
Returns true if this rectangle is identical to the given <Rect > .