Skip to content
Snippets Groups Projects
Commit 5cf31937 authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #294 from ljharb/promise_method_enumerability

`Promise` methods should not be enumerable
parents 527644d2 00fb4300
No related branches found
No related tags found
No related merge requests found
// 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');
// 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');
// 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');
// 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');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment