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

inexorabletash commented on this pull request.



> @@ -5679,39 +5674,34 @@ steps may throw an exception.
       <dt>If IsArray(|input|)</dt>
       <dd>
 
-        1. Let |len| be the ToLength(Get(|input|,
+        1. Let |len| be [=!=] ToLength(Get(|input|,

Fun. I think implementations are likely to bypass the getter here for exotic array objects and access the internal length directly (Chrome does!).

Switched these to ? for the cases where the input is not a clone for now. 

(I local testing I don't see the length override getting called even when I invoke length on an instance. Hrm.)

-- 
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 19:05:39 UTC