Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:property

108 // Check that we can't add property with undefined attributes.
116 // Make sure that we can add a property with an empty descriptor and
134 // with default values if called with non existing property (otherwise
143 assertTrue(/Cannot redefine property/.test(e));
185 assertTrue(/Cannot redefine property/.test(e));
193 assertTrue(/Cannot redefine property/.test(e));
238 // an existing property with both a getter and a setter.
275 // setting from the redefined property (in this case true) is used.
281 // Writing to the property should now be allowed
286 // Redefine with non configurable data property.
302 assertTrue(/Cannot redefine property/.test(e));
305 // Try redefine again with accessor property - shold also fail.
310 assertTrue(/Cannot redefine property/.test(e));
332 // Redefine to data property
361 // Redefine to accessor property
375 // Redefine back to data property
407 // Redefine to accessor property (non configurable) - note that enumerable
426 // Redefine back to data property
512 // exercised, i.e., any difference in the given property descriptor and the
514 // existing configurable property is false.
536 assertTrue(/Cannot redefine property/.test(e));
551 assertTrue(/Cannot redefine property/.test(e));
566 assertTrue(/Cannot redefine property/.test(e));
581 assertTrue(/Cannot redefine property/.test(e));
602 // Also exercise step 6 on data property, writable and enumerable
606 // Test that redefinition with the same property descriptor is possible
621 assertTrue(/Cannot redefine property/.test(e));
636 assertTrue(/Cannot redefine property/.test(e));
652 assertTrue(/Cannot redefine property/.test(e));
668 assertTrue(/Cannot redefine property/.test(e));
702 assertTrue(/Cannot redefine property/.test(e));
715 assertTrue(/Cannot redefine property/.test(e));
736 // Redefine existing property.
744 // Redefine existing property with configurable: false.
753 // configurable property.
763 // non configurable property.
769 assertTrue(/Cannot redefine property/.test(e));
786 // Redefine existing property with configurable: false.
794 // Redefine existing property with configurable: false.
802 // Define non existing property - all attributes should default to false.
833 // Redefine existing property.
841 // Redefine existing property with configurable: false.
850 // configurable property of an array.
860 // non configurable property.
866 assertTrue(/Cannot redefine property/.test(e));
883 // Redefine existing property with configurable: false.
891 // Redefine existing property with configurable: false.
899 // Define non existing property - all attributes should default to false.
958 // tests redefining existing property with a generic descriptor
1011 // redefine of get only property with generic descriptor
1019 // redefine of get/set only property with generic descriptor
1027 // redefine of set only property with generic descriptor