diff options
author | Jordan Harband <ljharb@gmail.com> | 2016-02-19 11:27:31 -0800 |
---|---|---|
committer | Jordan Harband <ljharb@gmail.com> | 2016-02-19 11:27:31 -0800 |
commit | a6fad62d7c314466c50a198a786abd90c08ca17a (patch) | |
tree | 22b4b0b5a1fa0ceb253246b6577d7c0fc750b4c6 /harness | |
parent | 6f05b008dc2fc61ce339cf7e326619f60ac6cb00 (diff) | |
download | qtdeclarative-testsuites-a6fad62d7c314466c50a198a786abd90c08ca17a.tar.gz |
Last minute fixes
Diffstat (limited to 'harness')
-rw-r--r-- | harness/proxyTrapsHelper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harness/proxyTrapsHelper.js b/harness/proxyTrapsHelper.js index 43781b27b..04a504b85 100644 --- a/harness/proxyTrapsHelper.js +++ b/harness/proxyTrapsHelper.js @@ -3,7 +3,7 @@ function allowProxyTraps(overrides) { return function () { throw new Test262Error(msg); }; } if (!overrides) { overrides = {}; } - var traps = { + return { getPrototypeOf: overrides.getPrototypeOf || throwTest262Error('[[GetPrototypeOf]] trap called'), setPrototypeOf: overrides.setPrototypeOf || throwTest262Error('[[SetPrototypeOf]] trap called'), isExtensible: overrides.isExtensible || throwTest262Error('[[IsExtensible]] trap called'), |