Description
In indexeddb_3_test at
db.deleteObjectStore(STORE_NAME);
FireFox 15 throws DOMException
Chrome throws IDBDatabaseException
neither of these implement the standard library Exception.
It appears that they should all be DOMException: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#exceptions
The exception type (exn.name) seems to be the only reliable point of diagnosis since the above spec says new exceptions not listed in the DOM4 table of exception names may have exn.code == 0.
It is clear that the DOM exceptions should implement Exception.
It is not clear beyond that what browser compatibility needs to be done.
It seems that exn.name is not well specified in practice.
exn.name is "SECURITY_ERR" in html/execeptions_test but the spec says it should be "SecurityError", with code 18 (DOMException.SecurityError).