Re: [w3c/IndexedDB] Fixes for 'steps for storing' (#146)

aliams commented on this pull request.



> @@ -6419,8 +6465,7 @@ as follows. The algorithm takes a |value|, a |key| and a |keyPath|.
 4. For each remaining |identifier| in |identifiers|, run these
     substeps:
 
-    1. If |value| is not an [=Object=] object or an [=Array=]
-        object, then [=throw=] a "{{DataError}}" {{DOMException}}.
+    1. Assert: |value| is an [=Object=] or an [=Array=].

I remember we explicitly wanted to throw a DOMException in this case. Does asserting give us the same result here?

-- 
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/146#pullrequestreview-25959107

Received on Thursday, 9 March 2017 06:53:28 UTC