644d2cfca8
- Assert that transaction operations are done within their callback scopes. - Improve test performance by using setImmediate for queueing macrotasks instead of using setTimeout. - Check for in-progress callbacks before completing transactions. Note that promise callbacks are run as microtasks. When request onsuccess callbacks are run, the transaction becomes active again and allows further requests to be placed against that transaction. The transaction becomes inactive when the program reaches the end of the event loop iteration. However, all microtasks are exhausted before the event loop iteration ends, so the transaction remains active even within the promise callbacks. |
||
---|---|---|
.. | ||
testfs | ||
filestorage.js | ||
testfs.json | ||
virtio_9p.js |