Lines Matching defs:configurable
86 configurable: true
92 configurable: false
97 configurable: true
102 configurable: true
107 var dataConfigurable = { value: 1000, configurable: true };
109 var dataNoConfigurable = { value: 2000, configurable: false };
132 assertFalse(desc.configurable);
145 // Make sure that foo can't be reset (as configurable is false).
157 assertTrue(desc.configurable);
169 // Redefine bar with non configurable test
172 assertFalse(desc.configurable);
186 // Try to redefine bar again - should fail as configurable is false.
205 assertFalse(desc.configurable);
222 assertTrue(desc.configurable);
234 assertTrue(desc.configurable);
249 assertTrue(desc.configurable);
265 assertTrue(desc.configurable);
280 // Note that since dataWritable does not define configurable the configurable
282 assertTrue(desc.configurable);
292 // Redefine with non configurable data property.
297 assertFalse(desc.configurable);
303 // Try redefine again - shold fail because configurable is now false.
325 assertFalse(desc.configurable);
343 assertTrue(desc.configurable);
353 assertTrue(desc.configurable);
370 assertTrue(desc.configurable);
386 assertTrue(desc.configurable);
403 assertTrue(desc.configurable);
413 // Redefine to accessor property (non configurable) - note that enumerable
417 assertFalse(desc.configurable);
437 assertTrue(desc.configurable);
451 assertTrue(desc.configurable);
520 // existing configurable property is false.
532 configurable:false,
547 configurable:false,
562 configurable:false,
575 // Different configurable.
577 configurable:false,
592 configurable:false,
605 assertFalse(desc.configurable);
617 configurable:false,
632 configurable:false,
648 configurable:false,
662 // Different configurable.
664 configurable:true,
679 configurable:false,
692 assertFalse(desc.configurable);
696 var descMinusZero = {value: -0, configurable: false};
697 var descPlusZero = {value: +0, configurable: false};
737 var descElementNonConfigurable = { value: 'barfoo', configurable: false };
741 configurable: false,
752 assertTrue(desc.configurable);
754 // Redefine existing property with configurable: false.
760 assertFalse(desc.configurable);
763 // configurable property.
773 // non configurable property.
789 assertFalse(desc.configurable);
796 assertTrue(desc.configurable);
798 // Redefine existing property with configurable: false.
804 assertTrue(desc.configurable);
806 // Redefine existing property with configurable: false.
812 assertFalse(desc.configurable);
820 assertFalse(desc.configurable);
836 var descElementNonConfigurable = { value: 'barfoo', configurable: false };
840 configurable: false,
851 assertTrue(desc.configurable);
853 // Redefine existing property with configurable: false.
859 assertFalse(desc.configurable);
862 // configurable property of an array.
872 // non configurable property.
888 assertFalse(desc.configurable);
895 assertTrue(desc.configurable);
897 // Redefine existing property with configurable: false.
903 assertTrue(desc.configurable);
905 // Redefine existing property with configurable: false.
911 assertFalse(desc.configurable);
919 assertFalse(desc.configurable);
958 assertEquals(resultDesc.configurable, actualDesc.configurable);
976 { value : 42, writable : true, enumerable : true, configurable : true });
981 { value : 42, writable : true, enumerable : true, configurable : true });
985 { configurable : true },
986 { value : 42, writable : true, enumerable : true, configurable : true });
991 { value : 42, writable : true, enumerable : false, configurable : true });
995 { configurable : false },
996 { value : 42, writable : true, enumerable : true, configurable : false });
1000 { enumerable : true, configurable : true },
1001 { value : 42, writable : true, enumerable : true, configurable : true });
1005 { enumerable : false, configurable : true },
1006 { value : 42, writable : true, enumerable : false, configurable : true });
1010 { enumerable : true, configurable : false },
1011 { value : 42, writable : true, enumerable : true, configurable : false });
1015 { enumerable : false, configurable : false },
1016 { value : 42, writable : true, enumerable : false, configurable : false });
1018 // can make a writable, non-configurable field non-writable
1020 Object.defineProperty(o, 'p', { configurable: false });
1023 { value : 42, writable : false, enumerable : true, configurable : false });
1028 { get : getter1, enumerable: true, configurable: true });
1030 { enumerable : false, configurable : false },
1031 { get: getter1, set: undefined, enumerable : false, configurable : false });
1036 { get: getter1, set: setter1, enumerable: true, configurable: true });
1038 { enumerable : false, configurable : false },
1039 { get: getter1, set: setter1, enumerable : false, configurable : false });
1044 { set : setter1, enumerable: true, configurable: true });
1046 { enumerable : false, configurable : false },
1047 { get: undefined, set: setter1, enumerable : false, configurable : false });