summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Promise/bug-1288382.js
blob: 0a673a9caa9f8b7460f152702e36601533533776 (plain)
1
2
3
4
5
6
7
8
// This just shouldn't trigger a failed assert.
// It does without bug 1288382 fixed.
Promise.all.call(class {
  constructor(exec){ exec(()=>{}, ()=>{}); }
  static resolve() { return {then(){}}; }
}, [null]);

this.reportCompare && reportCompare(true, true);