https://codereview.chromium.org/661433002/diff/20001/test/mjsunit/harmony/super.js
File test/mjsunit/harmony/super.js (right):

https://codereview.chromium.org/661433002/diff/20001/test/mjsunit/harmony/super.js#newcode1272
test/mjsunit/harmony/super.js:1272: }());
maybe add a test that mutates __proto__ and then uses the new proto?

var calls = 0;
function G() {
  calls++;
}
function F() {}
  super();
}
F.__proto__ = G;
new F();
assertEquals(1, calls);
F.__proto__ = function() {};
new F();
assertEquals(1, calls);

https://codereview.chromium.org/661433002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to