This commit is contained in:
Jordan Harband 2015-06-01 17:03:18 -07:00
parent 527644d211
commit 00fb43009a
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// Copyright 2015 Jordan Harband. All rights reserved.
// See LICENSE for details.
/*---
info: Promise.all is not enumerable
es6id: 25.4.4.1_A1.3_T1
author: Jordan Harband
description: Promise.all should be non-enumerable
includes:
- propertyHelper.js
---*/
// CHECK#1
verifyNotEnumerable(Promise, 'all');

View File

@ -0,0 +1,14 @@
// Copyright 2015 Jordan Harband. All rights reserved.
// See LICENSE for details.
/*---
info: Promise.race is not enumerable
es6id: 25.4.4.3_A1.2_T1
author: Jordan Harband
description: Promise.race should be non-enumerable
includes:
- propertyHelper.js
---*/
// CHECK#1
verifyNotEnumerable(Promise, 'race');

View File

@ -0,0 +1,14 @@
// Copyright 2015 Jordan Harband. All rights reserved.
// See LICENSE for details.
/*---
info: Promise.reject is not enumerable
es6id: 25.4.4.4_A1.2_T1
author: Jordan Harband
description: Promise.reject should be non-enumerable
includes:
- propertyHelper.js
---*/
// CHECK#1
verifyNotEnumerable(Promise, 'reject');

View File

@ -0,0 +1,14 @@
// Copyright 2015 Jordan Harband. All rights reserved.
// See LICENSE for details.
/*---
info: Promise.resolve is not enumerable
es6id: 25.4.4.5_A1.2_T1
author: Jordan Harband
description: Promise.resolve should be non-enumerable
includes:
- propertyHelper.js
---*/
// CHECK#1
verifyNotEnumerable(Promise, 'resolve');