MCPcopy
hub / github.com/localForage/localForage / getQuotaErrorCode

Function getQuotaErrorCode

test/test.api.js:439–452  ·  view source on GitHub ↗
(transaction)

Source from the content-addressed store, hash-verified

437 var db;
438
439 function getQuotaErrorCode(transaction) {
440 return new Promise(function(resolve) {
441 transaction(
442 function(t) {
443 t.executeSql('');
444 },
445 function(err) {
446 resolve(err.QUOTA_ERR);
447 }
448 );
449 }).catch(function(err) {
450 return err.QUOTA_ERR;
451 });
452 }
453
454 beforeEach(function() {
455 called = 0;

Callers 1

test.api.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…