1
load(libdir + "asserts.js");
4
* Throw a TypeError if the current descriptor is a data descriptor and the
5
* descriptor returned by the trap is not, or vice versa, and the current
6
* descriptor is non-configurable
9
Object.defineProperty(target, 'foo', {
14
assertThrowsInstanceOf(function () {
15
Object.getOwnPropertyDescriptor(new Proxy(target, {
16
getOwnPropertyDescriptor: function (target, name) {
28
Object.defineProperty(target, 'foo', {
34
assertThrowsInstanceOf(function () {
35
Object.getOwnPropertyDescriptor(new Proxy(target, {
36
getOwnPropertyDescriptor: function (target, name) {