constructor(opt_isStorageDisabled) {
    this.isStorageDisabled_ = !!opt_isStorageDisabled;
    this.length = opt_isStorageDisabled ? 0 : 1;
  }
@param {boolean=} opt_isStorageDisabled If true, throws exceptions
    emulating Private browsing mode.  If false, storage quota will be
    marked as exceeded.