code: function (data_id) {
  		if (mockIndexedDBTestFlags.canClear === true) {
  			mockIndexedDB_storeClearTimer = setTimeout(function () {
  				mockIndexedDBStoreTransaction.callSuccessHandler();
  				mockIndexedDB_clearSuccess = true;
  			}, 20);
  		}
  		else {
  			mockIndexedDB_storeClearTimer = setTimeout(function () {
  				mockIndexedDBStoreTransaction.callErrorHandler();
  				mockIndexedDB_clearFail = true;
  			}, 20);
  		}
  
  		return mockIndexedDBStoreTransaction;
  	}
docs: for clear, the listeners are attached to a request returned from the store.