Re: [w3c/IndexedDB] Integrate with window.onerror (#49)

@bevis-tseng - would this capture the FF behavior?

In the definition of __request__, add the properties _script_ and _position_which capture the script and position from which the call which created the request was made,  the property _context_ which is the global object specified by the script's settings object.

At the end of __5.10 Firing an error event__ add a step: If the event’s canceled flag is not set, [report an error](https://html.spec.whatwg.org/multipage/webappapis.html#report-the-error) with _request_'s _script_, _position_, and _context_.

Add a similar substep to _open()_ and _deleteDatabase()_

Any particular notes about ordering? If preventDefault() is called on the ErrorEvent seen in onerror, does that prevent the transaction from aborting?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/49#issuecomment-236649891

Received on Monday, 1 August 2016 17:39:36 UTC