B2G/gecko/testing/marionette/marionette-server.js
/**
   * Gets the current type of the window
   */
Gets the current type of the window
Gets the current type of the window
function MDA_getWindowType() {
    this.command_id = this.getCommandId();
      var curWindow = this.getCurrentWindow();
      var type = curWindow.document.documentElement.getAttribute('windowtype');
      this.sendResponse(type, this.command_id);
  }
function MDA_getWindowType ( ) { this . command_id = this . getCommandId ( ) ; var curWindow = this . getCurrentWindow ( ) ; var type = curWindow . document . documentElement . getAttribute ( 'windowtype' ) ; this . sendResponse ( type , this . command_id ) ; }
Gets the current type of the window
Gets the current type of the window