I'm going through the code right now and thinking it through
It makes no sense to me. Ditto is waiting for your client to respond, but your client already responded. If there was an error, it should have thrown an error in Ditto, but it didn't. I'm going to set up FireFox nightly to see if I can reproduce it there.