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

Merge pull request #148 from bocoup/144

Update front matter to include eithe es5id or es6id where missing. Closes gh-144
parents d0753386 cda3ec74
Branches
No related tags found
No related merge requests found
Showing
with 21 additions and 2 deletions
......@@ -4,6 +4,7 @@
/*---
info: >
Promise prototype.catch is a function
es6id: S25.4.5.1_A1.1_T1
author: Sam Mikes
description: Promise.prototype.catch is a function
---*/
......
......@@ -4,6 +4,7 @@
/*---
info: >
catch is a method on a Promise
es6id: S25.4.5.1_A2.1_T1
author: Sam Mikes
description: catch is a method on a Promise
---*/
......
......@@ -4,6 +4,7 @@
/*---
info: >
catch(arg) is equivalent to then(undefined, arg)
es6id: S25.4.5.1_A3.1_T1
author: Sam Mikes
description: catch is implemented in terms of then
---*/
......
......@@ -4,6 +4,7 @@
/*---
info: >
catch(arg) is equivalent to then(undefined, arg)
es6id: S25.4.5.1_A3.1_T2
author: Sam Mikes
description: catch is implemented in terms of then
---*/
......
......@@ -3,6 +3,7 @@
/*---
info: Promise.race is callable
es6id: S25.4.4.3_A1.1_T1
author: Sam Mikes
description: Promise.race is callable
---*/
......
......@@ -3,6 +3,7 @@
/*---
info: Promise.race returns a new promise
es6id: S25.4.4.3_A2.1_T1
author: Sam Mikes
description: Promise.race returns a new promise
---*/
......
......@@ -3,6 +3,7 @@
/*---
info: Promise.race rejects on non-iterable argument
es6id: S25.4.4.3_A2.2_T1
author: Sam Mikes
description: Promise.race rejects if argument is not object or is non-iterable
---*/
......
......@@ -3,6 +3,7 @@
/*---
info: Promise.race rejects on non-iterable argument
es6id: S25.4.4.3_A2.2_T2
author: Sam Mikes
description: Promise.race rejects if argument is not object or is non-iterable
---*/
......
......@@ -2,11 +2,11 @@
// See LICENSE for details.
/*---
info: >
info: >
Promise.race rejects when GetIterator() returns an abrupt completion
4. Let iterator be GetIterator(iterable).
5. IfAbruptRejectPromise(iterator, promiseCapability)
es6id: S25.4.4.3_A2.2_T3
author: Sam Mikes
description: Promise.race rejects if GetIterator throws
---*/
......
......@@ -6,6 +6,7 @@ info: >
Promise.race throws on invalid 'this'
Note: must have at least one element in array, or else Promise.race
never exercises the code that throws
es6id: S25.4.4.3_A3.1_T1
author: Sam Mikes
description: Promise.race throws if 'this' does not conform to Promise constructor
negative: TypeError
......
......@@ -6,6 +6,7 @@ info: >
Promise.race must throw TypeError per
CreatePromiseCapabilityRecord step 8 when
promiseCapabliity.[[Resolve]] is not callable
es6id: S25.4.4.3_A3.1_T2
author: Sam Mikes
description: Promise.race throws TypeError, even on empty array, when 'this' does not conform to Promise constructor
negative: TypeError
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A4.1_T1
author: Sam Mikes
description: Promise.race rejects if IteratorStep throws
---*/
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A4.1_T2
author: Sam Mikes
description: Promise.race rejects if IteratorStep throws
---*/
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A5.1_T1
author: Sam Mikes
description: Promise.race([]) never settles
---*/
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A6.1_T1
author: Sam Mikes
description: Promise.race([1]) settles immediately
includes: [PromiseHelper.js]
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A6.2_T1
author: Sam Mikes
description: Promise.race([p1]) settles immediately
includes: [PromiseHelper.js]
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A7.1_T1
author: Sam Mikes
description: Promise.race([p1, p2]) settles when first settles
includes: [PromiseHelper.js]
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A7.1_T2
author: Sam Mikes
description: Promise.race([p1, p2]) settles when first settles
includes: [PromiseHelper.js]
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A7.1_T3
author: Sam Mikes
description: Promise.race([p1, p2]) settles when first settles
includes: [PromiseHelper.js]
......
......@@ -2,6 +2,7 @@
// See LICENSE for details.
/*---
es6id: S25.4.4.3_A7.2_T1
author: Sam Mikes
description: Promise.race([p1, p2]) settles when first settles
includes: [PromiseHelper.js]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment