Re: InedxedDB events : misconception?

Sorry, I usually speak french and my english is quite experimental.

The example I gave, with SetTimeout() is useless, if not illustrate that
the interpreter does not expect that the events are attached to execute the

My surprise comes from the comparison with the XMLHttpRequest object, which
is usually added events before executing the query.

This behavior (XMLHttpRequest) seems more natural to me. It creates the
object and its properties and only then starts the execution may require
these properties.

As it happens, with IndexedDB objects, we can only hope that the events are
attached before, by the interpreter.

Received on Monday, 22 April 2013 17:30:02 UTC