static getLocationProtocol_() {
    return location.protocol;
  }
This is here only for testability.  We can't mock location in our tests on
all browsers, so instead we mock this.

@return {string} The value of location.protocol.
@private