docs: function (arg, window) {
              arg = arg || "";
              window = window || Aria.$window;
              var newHashString = "";
              if (this._typeUtil.isObject(arg)) {
                  if (this._validateHashObject(arg)) {
                      newHashString = this._stringifyHashObject(arg);
                  } else {
                      return;
                  }
              } else if (this._typeUtil.isString(arg)) {
                  newHashString = (!arg) ? "" : arg;
              } else {
                  this.$logError(this.INVALID_SETHASH_ARGUMENT);
              }
              if (this.getHashString(window) != newHashString) {
                  window.location.hash = newHashString;
              }
          }