function createRawSiteException(origin, override) {
    if (override === undefined)
      override = {};
    return Object.assign(
        {
          embeddingOrigin: origin,
          incognito: false,
          origin: origin,
          displayName: '',
          setting: settings.ContentSetting.ALLOW,
          source: settings.SiteSettingSource.PREFERENCE,
        },
        override);
  }
/**
   * Helper to create a mock RawSiteException.
   * @param {!string} origin The origin to use for this RawSiteException.
   * @param {!Object=} override An object with a subset of the properties of
   *     RawSiteException. Properties defined in |override| will overwrite the
   *     defaults in this function's return value.
   * @return {RawSiteException}
   */
Helper to create a mock RawSiteException.
@param {!string} origin The origin to use for this RawSiteException.
@param {!Object=} override An object with a subset of the properties of
RawSiteException. Properties defined in |override| will overwrite the
defaults in this function's return value.
Helper to create a mock RawSiteException . @param { !string } origin The origin to use for this RawSiteException . @param { !Object = } override An object with a subset of the properties of RawSiteException . Properties defined in |override| will overwrite the defaults in this function ' s return value .
function createRawSiteException(origin, override) {
    if (override === undefined)
      override = {};
    return Object.assign(
        {
          embeddingOrigin: origin,
          incognito: false,
          origin: origin,
          displayName: '',
          setting: settings.ContentSetting.ALLOW,
          source: settings.SiteSettingSource.PREFERENCE,
        },
        override);
  }
function createRawSiteException ( origin , override ) { if ( override === undefined ) override = { } ; return Object . assign ( { embeddingOrigin : origin , incognito : false , origin : origin , displayName : '' , setting : settings . ContentSetting . ALLOW , source : settings . SiteSettingSource . PREFERENCE , } , override ) ; }
Helper to create a mock RawSiteException.
Helper to create a mock RawSiteException .