B2G/gecko/browser/devtools/styleeditor/StyleEditor.jsm
/**
   * Retrieve the window that contains the editor.
   * Can be null if the editor is detached/headless.
   *
   * @return DOMWindow
   */
Retrieve the window that contains the editor.
Can be null if the editor is detached/headless.


Retrieve the window that contains the editor . Can be null if the editor is detached / headless .
get window()
  {
    if (!this.inputElement) {
      return null;
    }
    return this.inputElement.ownerDocument.defaultView;
  }
get window ( ) { if ( ! this . inputElement ) { return null ; } return this . inputElement . ownerDocument . defaultView ; }
Retrieve the window that contains the editor.
Retrieve the window that contains the editor .