PTAL.

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);
On 2012/01/04 10:07:00, rossberg wrote:
Particularly interesting cases would be variations of:

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

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

Done. I generalized the regression test a bit.

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

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

Reply via email to