Home Reference Source
public class | source

ValidationsUtils

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

async clearIndexedDB(): *

public

testPounchDB(dbName: *, timeoutTime: *): *

public

async testPounchDB2(dbName: *, timeoutTime: *): *

public

async testPounchDB3(dbName: *, timeoutTime: *): *

public

async validate()

public

waitSingleTab(waitCallback: *): *

Private Methods
private
private

_pouchDestroy(dbName: *): *

private
private

async _validatePouchDB(initialTest: boolean)

Public Constructors

public constructor() source

Public Methods

public async clearIndexedDB(): * source

Return:

*

public testPounchDB(dbName: *, timeoutTime: *): * source

Params:

NameTypeAttributeDescription
dbName *
timeoutTime *
  • optional
  • default: TIME_OUT

Return:

*

public async testPounchDB2(dbName: *, timeoutTime: *): * source

Params:

NameTypeAttributeDescription
dbName *
timeoutTime *
  • optional
  • default: TIME_OUT

Return:

*

public async testPounchDB3(dbName: *, timeoutTime: *): * source

Params:

NameTypeAttributeDescription
dbName *
timeoutTime *

Return:

*

public async validate() source

public waitSingleTab(waitCallback: *): * source

Params:

NameTypeAttributeDescription
waitCallback *

Return:

*

Private Methods

private _detectIncognito(): boolean source

Return:

boolean

private _pouchDestroy(dbName: *): * source

Params:

NameTypeAttributeDescription
dbName *

Return:

*

private _validateIndexedDB(): boolean source

Return:

boolean

private async _validatePouchDB(initialTest: boolean) source

Params:

NameTypeAttributeDescription
initialTest boolean
  • optional
  • default: true