code: function searchBar_clear()
    {
      var activeElement = this._controller.window.document.activeElement;
  
      var searchInput = this.getElement({type: "searchBar_input"});
      var cmdKey = utils.getEntity(this.getDtds(), "selectAllCmd.key");
      this._controller.keypress(searchInput, cmdKey, {accelKey: true});
      this._controller.keypress(searchInput, 'VK_DELETE', {});
  
      if (activeElement)
        activeElement.focus();
    }
docs: Clear the search field