mirror of https://github.com/tc39/test262.git
Eliminate false positives: Promise.prototype.finally
This commit is contained in:
parent
628faa5e06
commit
6d2288fe79
|
@ -8,6 +8,8 @@ esid: sec-promise.prototype.finally
|
||||||
features: [Promise.prototype.finally]
|
features: [Promise.prototype.finally]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
assert.sameValue(typeof Promise.prototype.finally, 'function');
|
||||||
|
|
||||||
assert.throws(TypeError, function() {
|
assert.throws(TypeError, function() {
|
||||||
Promise.prototype.finally.call(undefined);
|
Promise.prototype.finally.call(undefined);
|
||||||
}, 'undefined');
|
}, 'undefined');
|
||||||
|
|
|
@ -8,6 +8,7 @@ description: >
|
||||||
esid: sec-promise.prototype.finally
|
esid: sec-promise.prototype.finally
|
||||||
features: [Symbol, Promise.prototype.finally]
|
features: [Symbol, Promise.prototype.finally]
|
||||||
---*/
|
---*/
|
||||||
|
assert.sameValue(typeof Promise.prototype.finally, 'function');
|
||||||
|
|
||||||
var symbol = Symbol();
|
var symbol = Symbol();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue