mirror of
https://github.com/tc39/test262.git
synced 2025-07-02 19:54:38 +02:00
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]
|
||||
---*/
|
||||
|
||||
assert.sameValue(typeof Promise.prototype.finally, 'function');
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
Promise.prototype.finally.call(undefined);
|
||||
}, 'undefined');
|
||||
|
@ -8,6 +8,7 @@ description: >
|
||||
esid: sec-promise.prototype.finally
|
||||
features: [Symbol, Promise.prototype.finally]
|
||||
---*/
|
||||
assert.sameValue(typeof Promise.prototype.finally, 'function');
|
||||
|
||||
var symbol = Symbol();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user