Re: [IndexedDB] Redesign propagation path (#66)

As additional data for non-IDB savvy on the thread: IDB "event paths" are always pretty simple:

* IDBRequest → IDBTransaction → IDBDatabase — _if event target is a request_
* IDBTransaction → IDBDatabase — _if event target is a transaction_

The "child" always has a reference to its "parent" when an event is being dispatched, and the relationship is immutable.

In Blink, for IDB, the path is indeed computed when the event is being dispatched to the target. But spec-wise, either approach (specifying a path or defining a "parent") seems fine with me. Once y'all figure out which is best I can make the change or PRs welcome.

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

Received on Wednesday, 17 February 2016 17:00:59 UTC