mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
parent
a2f43d68d4
commit
38d52c9a60
@ -19,7 +19,7 @@ assert.sameValue(Error.isError(new other.TypeError()), true);
|
||||
assert.sameValue(Error.isError(new other.URIError()), true);
|
||||
|
||||
if (typeof AggregateError !== 'undefined') {
|
||||
assert.sameValue(Error.isError(new other.AggregateError()), true);
|
||||
assert.sameValue(Error.isError(new other.AggregateError([])), true);
|
||||
}
|
||||
if (typeof SuppressedError !== 'undefined') {
|
||||
assert.sameValue(Error.isError(new other.SuppressedError()), true);
|
||||
|
@ -17,7 +17,7 @@ assert.sameValue(Error.isError(new TypeError()), true);
|
||||
assert.sameValue(Error.isError(new URIError()), true);
|
||||
|
||||
if (typeof AggregateError !== 'undefined') {
|
||||
assert.sameValue(Error.isError(new AggregateError()), true);
|
||||
assert.sameValue(Error.isError(new AggregateError([])), true);
|
||||
}
|
||||
if (typeof SuppressedError !== 'undefined') {
|
||||
assert.sameValue(Error.isError(new SuppressedError()), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user