Convert fast array to normal array when the prototype is changed (#4198)
If the prototype of a fast array is changed, for example to a Proxy object, the array should be converted back to a normal array. This is required to correctly handle any [[Get]]/[[Set]]/etc... calls which should trigger these method calls on the before mentioned Proxy object. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com
This commit is contained in:
@@ -988,7 +988,6 @@
|
||||
<test id="built-ins/Proxy/revocable/revocation-function-nonconstructor.js"><reason></reason></test>
|
||||
<test id="built-ins/Proxy/revocable/target-is-revoked-function-proxy.js"><reason></reason></test>
|
||||
<test id="built-ins/Proxy/revocable/target-is-revoked-proxy.js"><reason></reason></test>
|
||||
<test id="built-ins/Proxy/set/call-parameters-prototype-index.js"><reason></reason></test>
|
||||
<test id="built-ins/Proxy/set/trap-is-not-callable-realm.js"><reason></reason></test>
|
||||
<test id="built-ins/Proxy/setPrototypeOf/toboolean-trap-result-false.js"><reason></reason></test>
|
||||
<test id="built-ins/Proxy/setPrototypeOf/trap-is-not-callable-realm.js"><reason></reason></test>
|
||||
|
||||
Reference in New Issue
Block a user