B2G/gecko/browser/base/content/browser.js
/**
   * Opens the style editor. If the UI is already open, it will be focused.
   *
   * @param {CSSStyleSheet} [aSelectedStyleSheet] default Stylesheet.
   * @param {Number} [aLine] Line to which the caret should be moved (one-indexed).
   * @param {Number} [aCol] Column to which the caret should be moved (one-indexed).
   */
Opens the style editor. If the UI is already open, it will be focused.
Opens the style editor . If the UI is already open it will be focused .
function SE_openChrome(aSelectedStyleSheet, aLine, aCol)
  {
    let contentWindow = gBrowser.selectedBrowser.contentWindow;
    let win = this.StyleEditorManager.getEditorForWindow(contentWindow);
    if (win) {
      this.StyleEditorManager.selectEditor(win);
      return win;
    } else {
      return this.StyleEditorManager.newEditor(contentWindow,
                                               aSelectedStyleSheet, aLine, aCol);
    }
  }
function SE_openChrome ( aSelectedStyleSheet , aLine , aCol ) { let contentWindow = gBrowser . selectedBrowser . contentWindow ; let win = this . StyleEditorManager . getEditorForWindow ( contentWindow ) ; if ( win ) { this . StyleEditorManager . selectEditor ( win ) ; return win ; } else { return this . StyleEditorManager . newEditor ( contentWindow , aSelectedStyleSheet , aLine , aCol ) ; } }
Opens the style editor.
Opens the style editor .