blob: b4c51affa80be9301d10ebd22e6ffb0985f84594 [file] [log] [blame]
new Promise(resolve => {
var invokeCount = 0;
Object.defineProperty(resolve, 'prototype', {
get: function () {
invokeCount++;
}
});
for (var i = 0; i < 10000; ++i)
new resolve();
if (invokeCount != 10000)
$vm.crash();
});