[Webkit-unassigned] [Bug 89379] IndexedDB: Implement IDBTransaction internal active flag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 18 14:30:18 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89379





--- Comment #1 from Joshua Bell <jsbell at chromium.org>  2012-06-18 14:30:15 PST ---
A plausible test for this looks like:

trans = db.transaction('store');
trans.oncomplete = finishJSTest;
var done = false;

function doRequest() {
  if (done)
    return;
  trans.objectStore('store').get('key').onsuccess = doRequest;
};

setTimeout(function () {
    evalAndExpectException("trans.objectStore('store').get('key')", "IDBDatabaseException.TRANSACTION_INACTIVE_ERR", "'TransactionInactiveError'");
    done = true;
}, 0);

In other words, show

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list