Closed quasicomputational closed 5 years ago
Want me to make a new release, to get this bug fix out? I figure I might as well do that, unless you were planning some other fixes in the very near future.
Any time would be convenient, thanks. This bug isn't even biting me at the moment, as far as I know, but it will be once idb
4.0.0 comes out and I want to upgrade. I don't have anything more queued up imminently - maybe a look at the new WPT failures at some point and seeing if there are easy wins.
Okay, I just published v2.0.6 :)
Out of curiosity, what about idb 4 would trigger this, something internal to that library?
Yeah, basically doing things different internally - it's being more systematic about how it attaches listeners and cleans them up afterwards now. I looked closely at its code because it was the thing that'd changed to make my tests red, but it's not doing anything weird.
Reproduction:
The expected result is to print "Done!" five times. However, only two are produced. Commenting out the body of
complete
(i.e., removing theremoveEventListener
call) produces the desired result.