Re: [w3c/IndexedDB] Replace abrupt completion asserts/returns with !? shortcuts from ES spec (#100)

inexorabletash commented on this pull request.



> @@ -5444,18 +5447,14 @@ ECMAScript value or failure, or the steps may throw an exception.
       <dd>
         1. If Type(|value|) is not Object, return failure.
 
-        2. Let |hop| be HasOwnProperty(|value|, |identifier|)
-
-        3. Assert: |hop| is not an abrupt completion.
+        2. Let |hop| be [=!=] HasOwnProperty(|value|, |identifier|)

There's more context in the spec (a note below the algorithm); the value being processed here is always the result of a structured clone operation, so there must be no proxies, getters, etc.

-- 
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/100

Received on Thursday, 20 October 2016 18:29:22 UTC