Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:function

59 var protoFoo = { foo: function() { ctr++; }};
60 var fooValue = { foo: { writable: true, value: function() { ctr2++; }}};
61 var fooGetter = { foo: { get: function() { return ctr3++; }}};
62 var fooSetter = { foo: { set: function() { return ctr4++; }}};
63 var fooAmbiguous = { foo: { get: function() { return ctr3++; },
66 function valueGet() { ctr5++; return 3 };
67 function getterGet() { ctr5++; return function() { return ctr6++; }; };
77 // Add a property foo that returns a function.
101 // Add a setter foo that runs a function.
124 enumerable: { get: function() {
128 configurable: { get: function() {
132 value: { get: function() {
136 writable: { get: function() {
140 get: { get: function() {
142 return function() { };
144 set: { get: function() {
146 return function() { };
175 writable: { get: function() {
205 assertTrue(/Getter must be a function/.test(e));
212 assertTrue(/Setter must be a function/.test(e));
219 assertTrue(/Getter must be a function/.test(e));