http://codereview.chromium.org/9074003/diff/1/test/mjsunit/harmony/collections.js
File test/mjsunit/harmony/collections.js (right):

http://codereview.chromium.org/9074003/diff/1/test/mjsunit/harmony/collections.js#newcode286
test/mjsunit/harmony/collections.js:286: assertThrows(function () {
func.call({}, {}) }, TypeError);
Particularly interesting cases would be variations of:

Map.prototype.get(WeakMap(), {})

etc. (which is what actually triggered this bug report).

http://codereview.chromium.org/9074003/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to