[ARM,MIPS] Skip slow tests
[WebKit-https.git] / JSTests / stress / constructing-builtin-functions-with-getter-prototype-should-only-call-getter-once-per-new-2.js
1 new Promise(resolve => {
2     var invokeCount = 0;
3
4     Object.defineProperty(resolve, 'prototype', {
5         get: function () {
6             invokeCount++;
7         }
8     });
9
10     for (var i = 0; i < 10000; ++i)
11         new resolve();
12
13     if (invokeCount != 10000)
14         $vm.crash();
15 });