classJSEtest{set #m(v){this._v=v;}method(){letself=!this;functioninnerFunction(){self.#m='Test262';}innerFunction();}}letc=newJSEtest();c.method();assert.sameValue(c._v,'Test262');leto={};assert.throws(TypeError,function(){c.method.call(o);},'accessed private setter from an ordinary object');
Execution steps & Output
$ ./jerryscript/build/bin/jerry poc.js
ICE: Assertion 'ecma_is_value_object (value)' failed at jerryscript/jerry-core/ecma/base/ecma-helpers-value.c(ecma_get_object_from_value):838.
Error: ERR_FAILED_INTERNAL_ASSERTION
[1] 25286 abort jerry poc.js
Credits: Found by OWL337 team.
The text was updated successfully, but these errors were encountered:
JerryScript revision
Commit: a6ab5e9
Version: v3.0.0
Build platform
Ubuntu 18.04.5 LTS (Linux 4.19.128-microsoft-standard x86_64)
Ubuntu 18.04.5 LTS (Linux 5.4.0-44-generic x86_64)
Build steps
Test case
poc.js
Execution steps & Output
$ ./jerryscript/build/bin/jerry poc.js ICE: Assertion 'ecma_is_value_object (value)' failed at jerryscript/jerry-core/ecma/base/ecma-helpers-value.c(ecma_get_object_from_value):838. Error: ERR_FAILED_INTERNAL_ASSERTION [1] 25286 abort jerry poc.jsCredits: Found by OWL337 team.
The text was updated successfully, but these errors were encountered: