Re: [w3c/IndexedDB] Add IDBFactory/databases() (#240)

brettz9 commented on this pull request.



> @@ -2344,6 +2363,42 @@ when invoked, must run these steps:
 
 </div>
 
+<div class=algorithm>
+
+The <dfn method for=IDBFactory>databases()</dfn> method,
+when invoked, must run these steps:
+
+1. Let |origin| be the [=/origin=] of the global scope used
+    to access this {{IDBFactory}}.
+
+1. If |origin| is an [=opaque origin=],
+    then return a new promise rejected with a "{{NotSupportedError}}" {{DOMException}}.
+

Also, I see no indication, unlike the other `IDBFactory` methods, of what should happen if there are any errors in retrieving the info... If this would occur as a rejected Promise, does the error format need to be documented?

-- 
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/pull/240#discussion_r234477597

Received on Monday, 19 November 2018 02:07:38 UTC