Re: [IndexedDB] Proposal: Queue a microtask to unset active on transaction (#27)

I don't see why @jakearchibald's example would fail in a compliant Promise implementation.

The 'active' flag gets set to false once the success handler for the "getValue" returns. But the Promise implementation should run then-callbacks at the end of the microtask, which is before the event handler returns, no?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/27#issuecomment-129617758

Received on Monday, 10 August 2015 21:37:50 UTC