Skip to content

Commit 6ea63b7

Browse files
committed
Fix %ThrowTypeError% cross-realm error check
1 parent 18f6ed2 commit 6ea63b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/built-ins/ThrowTypeError/distinct-cross-realm.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ var otherThrowTypeError = Object.getOwnPropertyDescriptor(otherArgs, "callee").g
2424
var otherThrowTypeError2 = Object.getOwnPropertyDescriptor(otherArgs, "callee").get;
2525

2626
assert.throws(TypeError, function() {
27+
localThrowTypeError();
28+
});
29+
assert.throws(other.TypeError, function() {
2730
otherThrowTypeError();
2831
});
2932

0 commit comments

Comments
 (0)