- From: Joshua Bell <notifications@github.com>
 - Date: Thu, 09 Mar 2017 09:37:38 -0800
 - To: w3c/IndexedDB <IndexedDB@noreply.github.com>
 - Cc: Subscribed <subscribed@noreply.github.com>
 
Received on Thursday, 9 March 2017 17:38:13 UTC
inexorabletash 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=].
Right. "Assert" is just a guide to implementers to help with the readability of algorithms. Throwing required breaking out the steps separately, as @brettz9 clarifies.
-- 
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#discussion_r105224366
Received on Thursday, 9 March 2017 17:38:13 UTC