Lines Matching refs:defineProperty

398   defineProperty: function(k, desc) { key = k; val = desc.value }  method
406 defineProperty: function(k, desc) { this.defineProperty2(k, desc) }, method
414 defineProperty: function(k, desc) { key = k; val = desc.value } method
426 defineProperty: function(k, desc) { key = k; val = desc.value } method
434 defineProperty: function(k, desc) { key = k; val = desc.value } method
447 defineProperty: function(k, desc) { key = k, val = desc.value } method
481 defineProperty: function(k, desc) { key = k; val = desc.value } method
486 defineProperty: function(k, desc) { throw "myexn" } method
494 defineProperty: function(k, desc) { this.defineProperty2(k, desc) }, method
503 defineProperty: function(k, desc) { this.defineProperty2(k, desc) }, method
509 defineProperty: function(k, desc) { key = k; val = desc.value } method
516 defineProperty: function(k, desc) { throw "myexn" } method
532 defineProperty: function(k, desc) { key = k; val = desc.value } method
538 defineProperty: function(k, desc) { key = k; val = desc.value } method
544 defineProperty: function(k, desc) { throw "myexn" } method
552 defineProperty: function(k, desc) { key = k; val = desc.value } method
565 defineProperty: function(k, desc) { throw "myexn" } method
704 Object.defineProperty(o, "x", {get: function() { return 5 }});
732 assertEquals(p, Object.defineProperty(p, "a", {value: 44}))
737 assertEquals(p, Object.defineProperty(p, "b", {value: 45, writable: false}))
743 assertEquals(p, Object.defineProperty(p, "c", {value: 46, enumerable: false}))
749 assertEquals(p, Object.defineProperty(p, 101, {value: 47, enumerable: false}))
756 assertEquals(p, Object.defineProperty(p, "d", attributes))
767 assertEquals(p, Object.defineProperty(p, "e", {get: function(){ return 5 }}))
772 assertEquals(p, Object.defineProperty(p, "zzz", {}))
783 assertEquals(p, Object.defineProperty(p, "p", d))
794 Object.defineProperty(props, "hidden", {value: "hidden", enumerable: false})
807 defineProperty: function(k, d) { key = k; desc = d; return true } method
811 defineProperty: function(k, d) { return this.defineProperty2(k, d) }, method
828 assertThrows(function(){ Object.defineProperty(p, "a", {value: 44})}, "myexn")
829 assertThrows(function(){ Object.defineProperty(p, 0, {value: 44})}, "myexn")
835 assertThrows(function(){ Object.defineProperty(p, "p", d1) }, "myexn")
840 assertThrows(function(){ Object.defineProperty(p, "p", d2) }, "myexn")
847 defineProperty: function(k, d) { throw "myexn" } method
851 defineProperty: function(k, d) { return this.defineProperty2(k, d) }, method
976 assertEquals(p, Object.defineProperty(p, i, descs[i]))
988 defineProperty: function(k, d) { this["__" + k] = d; return true }, method
993 defineProperty: function(k, d) { this["__" + k] = d; return true }, method