IndexedDB - Do errors bubble all the way to IDBOpenDBRequest?
问题 I’m using indexedDB for the first time, and the mozilla documentation states that errors bubble all the way to the “database” instance. It’s my understanding that event propagation in this system is entirely inherited from the DOM event model. I’m curious if what is meant is that errors will bubble all the way to IDBOpenDBRequest (that which is instantiated with indexedDB.open()). The documentation states that you can attach an onerror event handler to the top level IDB instances and it can