diff --git a/test/built-ins/ThrowTypeError/distinct-cross-realm.js b/test/built-ins/ThrowTypeError/distinct-cross-realm.js index f356ff4383f..0ea7cb3a16d 100644 --- a/test/built-ins/ThrowTypeError/distinct-cross-realm.js +++ b/test/built-ins/ThrowTypeError/distinct-cross-realm.js @@ -24,6 +24,9 @@ var otherThrowTypeError = Object.getOwnPropertyDescriptor(otherArgs, "callee").g var otherThrowTypeError2 = Object.getOwnPropertyDescriptor(otherArgs, "callee").get; assert.throws(TypeError, function() { + localThrowTypeError(); +}); +assert.throws(other.TypeError, function() { otherThrowTypeError(); });