From 8984ea80800457f5882f3890ebd23cb6081409e6 Mon Sep 17 00:00:00 2001 From: Alexey Shvayka Date: Wed, 12 Jun 2019 22:00:18 +0300 Subject: [PATCH] Add "proxy-missing-checks" feature tag (#2195) --- features.txt | 4 ++++ .../targetdesc-not-configurable-writable-desc-not-writable.js | 2 +- .../targetdesc-is-configurable-target-is-not-extensible.js | 2 +- ...is-not-configurable-not-writable-targetdesc-is-writable.js | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/features.txt b/features.txt index 4c4f4d3362..68c459cb24 100644 --- a/features.txt +++ b/features.txt @@ -7,6 +7,10 @@ # # https://github.com/tc39/process-document +# Missing checks in Proxy internal methods +# https://github.com/tc39/ecma262/pull/666 +proxy-missing-checks + # Promise.allSettled # https://github.com/tc39/proposal-promise-allSettled Promise.allSettled diff --git a/test/built-ins/Proxy/defineProperty/targetdesc-not-configurable-writable-desc-not-writable.js b/test/built-ins/Proxy/defineProperty/targetdesc-not-configurable-writable-desc-not-writable.js index 9650a9350c..23e2a0e96a 100644 --- a/test/built-ins/Proxy/defineProperty/targetdesc-not-configurable-writable-desc-not-writable.js +++ b/test/built-ins/Proxy/defineProperty/targetdesc-not-configurable-writable-desc-not-writable.js @@ -16,7 +16,7 @@ info: | i. If Desc has a [[Writable]] field and Desc.[[Writable]] is false, throw a TypeError exception. ... -features: [Proxy, Reflect] +features: [Proxy, Reflect, proxy-missing-checks] ---*/ var trapCalls = 0; diff --git a/test/built-ins/Proxy/deleteProperty/targetdesc-is-configurable-target-is-not-extensible.js b/test/built-ins/Proxy/deleteProperty/targetdesc-is-configurable-target-is-not-extensible.js index fd496139d5..e30133d33b 100644 --- a/test/built-ins/Proxy/deleteProperty/targetdesc-is-configurable-target-is-not-extensible.js +++ b/test/built-ins/Proxy/deleteProperty/targetdesc-is-configurable-target-is-not-extensible.js @@ -12,7 +12,7 @@ info: | 13. Let extensibleTarget be ? IsExtensible(target). 14. If extensibleTarget is false, throw a TypeError exception. ... -features: [Proxy, Reflect] +features: [Proxy, Reflect, proxy-missing-checks] ---*/ var trapCalls = 0; diff --git a/test/built-ins/Proxy/getOwnPropertyDescriptor/resultdesc-is-not-configurable-not-writable-targetdesc-is-writable.js b/test/built-ins/Proxy/getOwnPropertyDescriptor/resultdesc-is-not-configurable-not-writable-targetdesc-is-writable.js index d2337d8d02..89bd982485 100644 --- a/test/built-ins/Proxy/getOwnPropertyDescriptor/resultdesc-is-not-configurable-not-writable-targetdesc-is-writable.js +++ b/test/built-ins/Proxy/getOwnPropertyDescriptor/resultdesc-is-not-configurable-not-writable-targetdesc-is-writable.js @@ -15,7 +15,7 @@ info: | false, then i. If targetDesc.[[Writable]] is true, throw a TypeError exception. ... -features: [Proxy] +features: [Proxy, proxy-missing-checks] ---*/ var trapCalls = 0;