Fix non-callable [[ProxyTarget]] test

This commit is contained in:
Alexey Shvayka 2020-03-28 16:41:43 +02:00 committed by Rick Waldron
parent e8e3aaa77b
commit 91b867b660
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 9.5.15
esid: sec-proxycreate
description: >
A Proxy exotic object is only callable if the given target is callable.
info: |
@ -22,5 +22,5 @@ features: [Proxy]
var p = new Proxy({}, {});
assert.throws(TypeError, function() {
p.call();
p();
});