Closed Xotic750 closed 8 years ago
Thanks as always for the report! I've fixed the "iterable" cases. However, it looks like this is multiple issues - would you mind filing a new one for the SameValueZero stuff?
Yes, it was two issues. The SameValueZero one seems weird as you already have tests for it (which pass), so my guess is that it is something specific about the order of creation/replacement or something, again I haven't investigated. I will open another issue/PR.
I was working on my ES3 compatibility shims (non-intrusive) and I wanted to use native Map and Set where available. Now, I know there have been issues in environments and so I thought I would use es6-shim as the tests seem to show that the issues have been resolved. To my surprise I found that some of my tests began to fail. I have added the tests to this PR so that you can see, either there is something wrong with my tests (but my compatibility shims pass all of these), or these are native bugs that have not yet been picked up, or there is something wrong with the es6-shims/fixes. I haven't investigated too far.
On node v0.10
So the shim didn't throw a TypeError when I expected it to throw.
http://jsfiddle.net/Xotic750/qoswzuye/
With Chromium 46.0.2490.80