B2G/gecko/browser/devtools/layoutview/LayoutView.jsm
//  we get the MozAfterPaint event and the node is locked
we get the MozAfterPaint event and the node is locked
we get the MozAfterPaint event and the node is locked
function onSelect() {
      if (this.inspector.locked) {
        this.cssLogic.highlight(this.inspector.selection);
        this.undim();
        this.update();
        if (!this.trackingPaint) {
          this.browser.addEventListener("MozAfterPaint", this.update, true);
          this.trackingPaint = true;
        }
      }
    }
function onSelect ( ) { if ( this . inspector . locked ) { this . cssLogic . highlight ( this . inspector . selection ) ; this . undim ( ) ; this . update ( ) ; if ( ! this . trackingPaint ) { this . browser . addEventListener ( "MozAfterPaint" , this . update , true ) ; this . trackingPaint = true ; } } }
we get the MozAfterPaint event and the node is locked
we get the MozAfterPaint event and the node is locked
// We make sure we never add 2 listeners.